We found 22 matches for: storage

An overview of all storage blocks currently available, updated daily!

storage: update document

Update document in the given storage and creates a revision for it.

In-pins

flow
object
guid
The documents GUID (unique ID) to update.
mutations
Provide the mutations for this document. e.g. use set fields to set existing/update fields.
Storage
The storage this document is currently stored in.
expiry
When a document is given an expiry date, the document will be unrecoverably deleted on the given date
options
Options can be given e.g. skip_revisions to skip create revisions for high-update docs or skip_on_saved to skip the on-events for this document update.

Out-pins

flow
success
guid
document
timestamp
timestamp in ms, can be used to wait for the document to be available in search.
error
on error
message
requirements
storage: update multiple documents

Updates multiple documents in the given storage

In-pins

flow
array
An array of objects or GUIDs representing existing documents.
mutations
storage
The storage these documents should be updated in.
expiry
When a document is given an expiry date, the document will be unrecoverably deleted on the given date
options
Provide skip_revisions to update these documents without creating revisions or skip_on_saved to skip the on-events for this document update.

Out-pins

flow
success
error
failed updates
storage: create document

Creates a document in the given storage.

In-pins

flow
mutations
Provide the mutations for this document. e.g. use set fields to set existing/new fields.
Storage
The storage this document will be created.
expiry
When a document is given an expiry date, the document will be unrecoverably deleted on the given date.
options
Options can be given e.g. skip_revisions to skip create revisions for high-update docs or skip_on_saved to skip the on-events for this document create.

Out-pins

flow
success
guid
object
timestamp
timestamp in ms, can be used to wait for the document to be available in search.
error
on error
message
requirements
storage: get mapping

Returns the mapping of a given storage.

In-pins

flow
Storage

Out-pins

flow
success
error
mapping
The full mapping
fields
The fields in the mapping.
storage: selector

Lets you choose a storage to be used on the connected blocks.

Out-pins

storage
storage: restore multiple documents

Restores multiple documents from the removed state.

In-pins

flow
array
storage

Out-pins

flow
success
error
storage: remove document

Removes the given document from the given storage.

In-pins

flow
guid
The documents GUID (unique ID) to remove.
object
storage
The storage this document should be removed in.
expiry
When a document is given an expiry date, the document will be unrecoverably deleted on the given date

Out-pins

flow
success
Returns true in case the removal succeeded
error
storage: get document

In-pins

flow
Storage
guid

Out-pins

found
Object
guid
found
Removed
storage: move documents

Moves documents from one storage to another. Moved documents can still be found in the old storage (removed and with expiry) for 36 hours

In-pins

flow
From Storage
The storage you would like to move these documents from
To Storage
The storage you would like to move these documents to
query
The query will be applied to find the documents that are going to be moved to a different storage
limit
The number of files to be moved, the maximum is 50.000

Out-pins

flow
success
error
count
storage: wait for document

Using the given timestamp will wait for the document to be present in search.

In-pins

flow
timestamp
The exact timestamp search should be up2date with. Difference max. is -5m and +5.

Out-pins

flow
available
Returns true if the document is available in search.
storage: search streaming

streams the results of the search in the given database based on a query to a function.

In-pins

flow
Storage
Query
Search will return cached results by default. Turn this behaviour off by adding Disable cache to this query.
Concurrency
ID

Out-pins

flow
count
Each result
Index
Result
storage: find existing documents

returns array of existing and non-existing documents in a given storage from an array of objects.

In-pins

flow
Storage
key
Value(code)
values
Array(Object({code: ..}), Object({code: ..}))

Out-pins

flow
Existing
Non-Existing
storage: trigger event

Event is executed when the storage receives an event relevant update (removed, created, updated or saved).

Out-pins

flow
Current Document
The most recent document at the time of this event being executed.
Storage
The storage this document has been triggered on.
Revisions
The revisions triggering this event.
Fields modified
The fields modified triggering this event.
storage: search single

searches in the given storage based on a query and returns maximum one result.

In-pins

flow
Storage
Query
Search will return cached results by default. Turn this behaviour off by adding Disable cache to this query.

Out-pins

flow
Result
The result if one has been found.
guid
The guid of the result if one has been found.
Has result
success
error
storage: get multiple documents

Get multiple documents from the given storage. Skips documents that do not exist or removed.

In-pins

flow
storage
guids
Array of guids (values), or Array of Objects with _meta
include removed


Default:
true

Out-pins

flow
documents
storage: dynamic storage

In-pins

value

Out-pins

storage
storage: remove multiple documents

Removes multiple documents from the given storage.

In-pins

flow
array
storage
expiry
When a document is given an expiry date, the document will be unrecoverably deleted on the given date

Out-pins

flow
success
error
storage: restore document

Restores a single document from the removed state and adds a revisions for this modification.

In-pins

flow
object
guid
The documents GUID (unique ID) to restore.
storage

Out-pins

flow
success
object
error
storage: create multiple documents

Creates multiple documents in the given storage, each item in the array becomes a document.

In-pins

flow
array
Each item in this array becomes a document, make sure the item is an object.
storage
The storage these documents should be created in.
expiry
When a document is given an expiry date, the document will be unrecoverably deleted on the given date

Out-pins

flow
success
array
error
storage: set document expiry

Updates the expiry of the given document from the given storage.

In-pins

flow
guid
The documents GUID (unique ID) to update.
storage
The storage this document should be updated in.
expiry
The document will be unrecoverably deleted on the given date

Out-pins

flow
success
Returns true in case the update succeeded
error
storage: permanently delete document

Deletes the given document from the given storage permanently and unrecoverably.

In-pins

flow
guid
The documents GUID (unique ID) to delete.
very_sure
Indicate you very sure you want to execute this.

Out-pins

flow
success
Returns true in case the delete succeeded
error