Skip to content

add encoding options - #33

Open
tanishqkancharla wants to merge 10 commits into
ccorcos:masterfrom
tanishqkancharla:master
Open

tanishqkancharla wants to merge 10 commits into
ccorcos:masterfrom
tanishqkancharla:master

Conversation

@tanishqkancharla

@tanishqkancharla tanishqkancharla commented Nov 30, 2024 •

Copy link
Copy Markdown
Collaborator

Adds options to enable different delimiters and escape characters in the codec. Null byte characters can cause issues in some systems e.g. expo-sqlite so adding these options gives more capabilities to storage engines. Eventually my goal is to create an "AdapterSqliteStorage" that takes a sqlite storage api and gives back a tuple storage

A lot of the changes were ported from this fork: https://github.com/aspen-cloud/tuple-database

cc @wernst

@tanishqkancharla
tanishqkancharla requested review from ccorcos and removed request for ccorcos November 30, 2024 17:57
TupleDatabase and AsyncTupleDatabase take { rng }, used for reactivity listener ids and for commits made without a transaction id. Listener ids order same-prefix callbacks, so a seeded rng makes that order reproducible. Defaults to random UUIDs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants