DBHelper
SmartStore Database Helper Singleton class that provides helpful methods for accessing the database underneath the SmartStore It also caches a number of of things to speed things up (e.g. soup table name, index specs, insert helpers etc)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Resets all cached data from memory.
Link copied to clipboard
Link copied to clipboard
Does a count for a raw count query
Link copied to clipboard
Does a count for a raw query
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return column name in soup table that holds the soup projection for path
Link copied to clipboard
Read index specs back from the soup index map table
Link copied to clipboard
Get insert helper for a table
Link copied to clipboard
Returns the instance of this class associated with the database specified.
Link copied to clipboard
Return table name for a given soup or null if the soup doesn't exist
Link copied to clipboard
Return true if the given path is indexed on the given soup
Link copied to clipboard
Does an insert
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If turned on, explain query plan is run before executing a query and stored in lastExplainQueryPlan and also get logged