Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top