OptionalclearOptional: Clears all data managed by the adapter. Use with caution!
OptionalclearOptional: Clears all items from a specific collection.
Deletes an item from a collection by its ID.
The name of the collection.
The unique ID of the item.
Retrieves a single item from a collection by its ID.
The name of the data collection (e.g., 'conversations', 'observations').
The unique ID of the item.
The item or null if not found.
OptionalinitOptional initialization method (e.g., connecting to DB).
Optionalconfig: anyQueries items in a collection based on filter options.
The name of the collection.
Filtering, sorting, and pagination options.
An array of matching items.
Saves (creates or updates) an item in a collection.
The name of the collection.
The unique ID of the item.
The data to save.
Interface for a storage adapter, providing a generic persistence layer.