storage
29 blocks in 1 groups. Open a block for its pins, an example and how it behaves.
storage
- search single
objectv10.6.2searches in the given storage based on a query and returns maximum one result. - get multiple documents (cached)
arrayv15.0.0Get multiple documents from the given storage using the hot document cache. Fetches each document individually. Skips documents that do not exist or are removed. - restore document
conditionv9.2.5Restores a single document from the removed state and adds a revisions for this modification. - get mapping
conditionv10.4.28Returns the mapping of a given storage. - create document
conditionv14.0.3Creates a document in the given storage. - get multiple documents
arrayv14.0.4Get multiple documents from the given storage using a single Elasticsearch multi-get request. Much faster than fetching each document individually. - get document
objectv13.0.7get a specific document based on the given GUID - dynamic storage
storagev10.4.28define a storage using a dynamic value - search
arrayv13.0.4searches in the given storage based on a query. - update multiple documents
conditionv9.2.5Updates multiple documents in the given storage - selector
storagev10.4.28Lets you choose a storage to be used on the connected blocks. - wait for document
conditionv12.0.0Using the given timestamp will wait for the document to be present in search. - search streaming
numberv10.4.28streams the results of the search to a function. When using a limit, the first scroll will always fetch 10k items, we'll just truncate them if your limit is < 10k. - create multiple documents
conditionv9.2.5Creates multiple documents in the given storage, each item in the array becomes a document. - trigger event
objectv13.0.9Event is executed when the storage receives an event relevant update (removed, created, updated or saved). - search neighbors
arrayv15.0.0Given an anchor GUID, returns the N documents directly before and the M directly after it when the storage is sorted by the chosen field. Use this to show context around a specific document (e.g. messages around a chat message) without paginating the whole storage. - remove multiple documents
conditionv9.2.5Removes multiple documents from the given storage. - find existing documents
arrayv10.4.28returns array of existing and non-existing documents in a given storage from an array of objects. - upsert document
conditionv14.0.5Creates or updates a document with the given GUID. If the document does not exist, it will be created. If it already exists, the mutations will be applied to the existing document. - remove document
objectv9.2.5Removes the given document from the given storage. - restore multiple documents
conditionv9.2.5Restores multiple documents from the removed state. - permanently delete document
conditionv9.2.5Deletes the given document from the given storage permanently and unrecoverably. - set document expiry
conditionv11.0.0Updates the expiry of the given document from the given storage. - update document
conditionv9.2.5Update document in the given storage and creates a revision for it. - revert storage transaction
conditionv15.0.1Undoes every document write journaled by a storage transaction, newest first, refusing documents that changed since. - storage left join exists
arrayv14.0.5Left joins a boolean field into the given array based on whether a document exists in the storage for each corresponding GUID. Sets the field totruewhen found,falsewhen not. Removed documents count as found unlessinclude removedis wired tofalse. - end storage transaction
conditionv15.0.1Commits the storage transaction opened by start storage transaction and stores its result for a later retry of the same id. - storage left join document
arrayv14.0.5Left joins documents from a storage into the given array. Looks up each document by its corresponding GUID and nests the found document under the specified key. Documents without a match getnullfor that key. Removed documents still match unlessinclude removedis wired tofalse. - start storage transaction
conditionv15.0.1Opens a storage transaction: every document create, update, remove and restore this flow performs until the end block is journaled so the whole group can be reverted as one.