kv_store library

Classes

KvStore
Logger

Constants

clear_all_sql → const String
'DELETE from %s'
count_all_sql → const String
'SELECT count(*) as num from %s'
create_table_sql → const String
'CREATE TABLE IF NOT EXISTS %s (id TEXT NOT NULL, json TEXT NOT NULL, updatedAt TEXT NOT NULL, PRIMARY KEY(id))'
default_table → const String
't_default'
delete_item_sql → const String
'DELETE from %s where id = ?'
delete_items_sql → const String
'DELETE from %s where id in (%s)'
delete_items_with_prefix_sql → const String
'DELETE from %s where id like ?'
drop_table_sql → const String
'DROP TABLE "%s"'
preferences_table → const String
't_preferences'
query_item_sql → const String
'SELECT json, updatedAt from %s where id = ? Limit 1'
select_all_sql → const String
'SELECT * from %s'
select_all_tables → const String
'select * from sqlite_master where type="table"'
update_sql → const String
'REPLACE INTO %s (id, json, updatedAt) values (?, ?, datetime("now"))'