Gets a list of all clinics stored on device.
An object with all the clinic's data, with a timestamp of the last time it was updated or null if no data is stored.
Gets a list of text column names.
A list of text column names.
Checks if the clinic data storage is empty.
true
no clinics are stored, false
otherwise.
Checks if a string is a valid text column name.
Name of the column to validate
true
if column is valid, false
otherwise.
Search for clinics that are stored on device.
The value to search for.
Optional
column: stringThe text column to search in, if left blank all column are searched. The column must be a valid text column name in the ClinicData table.
An array of all of the clinics containing input
.
Replace all clinics stored on device with new ones.
A list of clinics. All attributes must be defined.
Stores clinic data using SQLite