Replies: 1 comment
-
Good question 👍 KottageStorage does not export An internal repository (KottageSqliteItemRepository) class has It will executes this SQL statement:
So For example, I'm worrying about the Kottage users write some code like this: val hasItemA = storage.getAllKeys().contains("A") // costs O(N) database read. Compared to that,
Then, I think it's ok to expose Is this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a
fun exists(key: String): Boolean
method - but how do I actually get a list of all keys?Beta Was this translation helpful? Give feedback.
All reactions