문제

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