Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top