mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #121] Add BigInt support #71
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mitsichury on GitHub (Jun 26, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/121
Originally assigned to: @appy-one on GitHub.
Hi :)
I have noticed that if I add a BigInt field, I can't sort or apply filters on it.
It is rightly stored and loaded.
Could you add the support if BigInt for filtering please ?
Could be great as JS does not handle big numbers with precision.
Thank you :)
@appy-one commented on GitHub (Jul 4, 2022):
Your bigints now are stored as strings in the db, that's why they don't sort ok. I'm working on bigint support now, check latest commits
@Mitsichury commented on GitHub (Jul 6, 2022):
Amazing, thx a lot 👍
@appy-one commented on GitHub (Aug 19, 2022):
Support for
biginthas now been implemented and published in v1.22.0!@Mitsichury commented on GitHub (Aug 20, 2022):
Hi appy-one,
Thank you for publishing a new realese, I tried to update but it seems that add an Index on BigInt value is not working well.
I have an error about JSON serialisation : TypeError: Do not know how to serialize a BigInt
const totalResults = await query.take(1000000).count()
I'll try to create a unit test for that.
Thanks !