A list of all Actions, Conditions and Expressions supported in this addon.
1: Database Management
-
Actions
Open database {0} (version {1}) with store {2}
Opens or creates an IndexedDB database.
Delete database {0}
Permanently deletes an entire database.
Check device storage quota
Retrieves the total and used storage limit for this origin.
-
Conditions
On {0} successful
Select the condition list that corresponds to the triggered action.
2: Data Operations
-
Actions
Put value {2} into key {1} in store {0}
Sets or overwrites a value in the store.
Get value of key {1} from store {0}
Retrieves a single value from the store by key.
Delete key {1} from store {0}
Removes a specific value from the store.
Count all items in store {0}
Counts the total number of records in an object store.
Initialize key {1} in store {0} with default {2}
Gets a value if it exists. If it does not exist, it creates the key with the default value.
-
Conditions
On {0}, key {1} successful
Select the condition list that corresponds to the triggered action.
3: Queries & Indexing
-
Actions
Get all values from store {0}
Retrieves all values from an object store as a JSON array string.
Get value from store {0} where index {1} is {2}
Finds a single value using a secondary index.
Get all values from store {0} where index {1} is {2}
Finds all values matching a secondary index.
-
Conditions
On {0} successful
Select the condition list that corresponds to the triggered action.
4: Advanced Utilities
-
Actions
In store {0} at key {1}, update property {2} to {3}
Updates a specific property inside a saved JSON object without altering the rest.
Export store {0} to JSON string
Exports an entire object store into a single JSON string for backup.
Import JSON {1} into store {0} (Clear first: {2})
Restores data from a JSON string into an object store.
Import JSON from URL {1} into store {0} (Clear first: {2})
Fetches a JSON file from a web URL or FileChooser Blob URL and directly imports it into an object store.
-
Conditions
On {0} successful
Select the condition list that corresponds to the triggered action.
Last count {0} {1}
Compare the number of items returned by the last 'Count store' action.
Error
DATABASE INFO
-
Expressions
DatabaseName
Returns the name of the currently active database
LastKey
Returns the last processed key.
LastError
Returns the last error message (very useful for debugging in the UI)
OPERATION RESULTS
-
Expressions
LastResult
The result of a GetValue, GetFromIndex, or ExportStore operation, This can be a plain string or a JSON string.
GetJsonProperty
Get a specific property value from the Last Result (if it is a JSON object).
LastGetAll
The result of the GetAllValues or GetAllFromIndex operation, Returns a JSON Array string
LastCount
The numerical result of the CountStore operation
STORAGE QUOTA (RAW BYTES)
-
Expressions
StorageQuota
Returns a raw number in Bytes (suitable for mathematical calculations)
StorageUsage
Returns the raw number in Bytes
STORAGE QUOTA (FORMATTED FOR UI)
-
Expressions
StorageQuotaStr
Returns a neat string (example: '2.5 GB')
StorageUsageStr
Returns a neat string (example: '150.2 MB')
ADVANCED JSON & ARRAY PARSING
-
Expressions
GetAllAt
Get the data item at a specific index from the Last GetAll array.
GetAllPropertyAt
Get a specific property from an item at a specific index in the Last GetAll array.
HasJsonProperty
Check if the Last Result JSON has a specific property. Returns 1 if true, 0 if false.
.STATE
-
Conditions
Is open
If Database Is Open
Is last result empty
If it's empty, it means this is a new player, show Tutorial!