Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top