IndexedDBAdapter Class
Class of query language adapter that allows to load data from IndexedDB.
Constructor
IndexedDBAdapter
(
-
moment
Parameters:
-
momentMomentMoment service.
Item Index
Methods
Methods
buildFunc
(
Function
-
query
Builds JS function for filtering JS array of objects by specified logic from query.
Parameters:
-
queryObjectQuery language instance.
Returns:
Function:
Function for filtering JS array of objects.
containsRelationships
(
Boolean
-
query
Checks query on contains restrictions by relationships.
Parameters:
-
queryQueryObject
Returns:
query
(
Promise
-
store -
query
Loads data from IndexedDB.
Parameters:
-
storeDS.Store or subclassStore instance to the adapter.
-
queryQueryObjectQueryObject instance to the adapter.
Returns:
Promise:
Promise with loaded data.
Flexberry Documentation