How do i handle uint64 beside using it as string?
# community-help
j
How do i handle uint64 beside using it as string?
j
Typesense does have an int64 data type. Unless you specifically meant unsigned int 64...
j
Yes, unsigned uint64
j
Strings would be the only way at the moment, for integers larger than (signed) int64
Could you open a feature request on Github issues along with your use case for this?
Or another work-around I can think of is reducing the granularity/precision of the values so they fit in int64
j
Thanks, I was just making sure, We use uint64 for our primary id in our database and don't really have a use case for it.
h
interesting, what database? Normally they tend to be signed integer either explicitly or implicitly