Create a new DataStoreRecords instance.
Function for making API requests
Create a new record in a data store with an explicit key.
The data store ID to create a record in
The record key to use
The record data
Promise with the created record
Create a new record in a data store with an auto-generated key.
The data store ID to create a record in
The record data
Promise with the created record
Delete specific records from a data store.
The data store ID containing the records
Array of record keys to delete
Promise that resolves when the records are deleted
Delete all records from a data store, with optional exceptions.
The data store ID to clear
Optional
exceptKeys: string[]Optional array of record keys to preserve
Promise that resolves when the records are deleted
List records in a data store.
The data store ID to list records from
Optional
options: ListDataStoreRecordsOptionsOptional parameters for pagination
Promise with the list of records
Replace a record in a data store completely. Replaces the entire record with the new data.
The data store ID containing the record
The record key to replace
The new record data
Promise with the replaced record
Update specific fields of a record in a data store. Only updates the specified fields, preserving others.
The data store ID containing the record
The record key to update
The record fields to update
Promise with the updated record
Class providing methods for working with records in Make data stores. Allows creating, reading, updating, and deleting records within data stores.