Deta is storing the wrong int
eeriemyxi opened this issue · 1 comments
eeriemyxi commented
await inter.response.defer()
print(channel.id)
await self.db.put(channel.id, "v_channel")
it prints, 921301271112187924
but what it stores in the database is, 921301271112187900
aavshr commented
hi @m-y-x-i , this behavior is because of this: https://docs.deta.sh/docs/base/sdk#storing-numbers
Please, store large ints as strings.