Skip to content

How does persister.load and persister.autoLoad work with persister-expo-sqlite? #141

Answered by jamesgpearce
7ammer asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand your question (i.e. when you say 'queries made so far' you mean TinyBase getters) then no. TinyBase is an in-memory data store and at the moment persists (ie loads and saves) all data to and from a database. There's no sense of paging, and I wouldn't currently recommend connecting to a large underlying table that has way more data than you need (for obvious reasons).

This has come up a few times, so I think we should explore a better way to only persist to/from just a part of a table (eg filtered on values, IDs). I can't get to this in v5, but I will roadmap.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@7ammer
Comment options

Answer selected by 7ammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants