Join Slack
Powered by
How do i handle uint64 beside using it as string?
# community-help
j
JinW
04/14/2022, 12:12 AM
How do i handle uint64 beside using it as string?
j
Jason Bosco
04/14/2022, 12:13 AM
Typesense does have an int64 data type. Unless you specifically meant unsigned int 64...
j
JinW
04/14/2022, 12:13 AM
Yes, unsigned uint64
j
Jason Bosco
04/14/2022, 12:14 AM
Strings would be the only way at the moment, for integers larger than (signed) int64
Jason Bosco
04/14/2022, 12:15 AM
Could you open a feature request on Github issues along with your use case for this?
Jason Bosco
04/14/2022, 12:16 AM
Or another work-around I can think of is reducing the granularity/precision of the values so they fit in int64
j
JinW
04/14/2022, 12:27 AM
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
Harrison Burt
04/14/2022, 8:03 AM
interesting, what database? Normally they tend to be signed integer either explicitly or implicitly
Open in Slack
Previous
Next