Frage

If I insert a User into the Users collection and it's the first document RavenDB might assign it an id of users/1.

If the id field is a string and the maximum length of the id field is 1023, what is the limit on how far these automatically assigned ids can grow? Is there an upper limit like maxint? i.e. users/2147483647.

War es hilfreich?

Lösung

The numeric is is a long. That gives you 9,223,372,036,854,775,807 distinct ids.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top