Skip to main content

Model

Deprecated

This node is deprecated and kept only so existing projects keep working. It is not offered in the node picker for new use.

Deprecated cloud record node that mixed reading, writing and deleting in one node; superseded by DbModel2 and the dedicated write nodes.

DbModel (Model) is the original cloud-record node: one node that fetched, created, saved and deleted a database record via fetch, new, insert, save and delete signal inputs. It is deprecated and hidden from the node picker. Reading a record is now done with DbModel2 (Record); writing is split into NewDbModelProperties (Create Record), SetDbModelProperties (Update Record) and DeleteDbModelProperties (Delete Record), which are simpler to reason about because each node performs exactly one operation.

When to use it

Do not use in new graphs — use DbModel2 (Record) for reading and Create Record / Update Record / Delete Record for writing instead.

At a glance

CategoryCloud Services
Type nameDbModel
Available inbrowser
SSR compatibilitysafe
Provided bynoodl-viewer-react

Inputs

Values

NameTypeDefaultDescription
modelIdStringId of the record to read and write
propertiesStringlistNames of the record properties to expose, each of which becomes an input and an output port

Signals

NameTypeDefaultDescription
deleteSignalDeletes the record from the backend
fetchSignalRe-reads the record from the backend, replacing the copy held in memory
insertSignalCreates the record in the backend from the property inputs
newSignalCreates a record in memory from the property inputs, without saving it
saveSignalWrites the record's current values to the backend
storeSignalCopies the property inputs onto the record held in memory without saving it

Outputs

Values

NameTypeDefaultDescription
idStringId of the record this node is bound to, whether or not it has been read yet

Signals

NameTypeDefaultDescription
changedSignalFires when a property of the bound record changes, including a change another node made
createdSignalFires once a new record has been created in the backend
deletedSignalFires once the record has been deleted from the backend
fetchedSignalFires once the record has been read and the property outputs are up to date
savedSignalFires once the record has been written to the backend
storedSignalFires once the property inputs have been copied onto the record held in memory

Failure outputs

NameTypeDefaultDescription
errorStringWhy the last action failed; empty until one does
failureSignalFires when the last action could not be completed, after the reason has been reported on the error channel

Dynamic ports

This node's port list changes at runtime (runtime-discovered); the tables above may be incomplete for a given instance.

Some ports are discovered at runtime from user code, parameters or connected components, and are pushed to the editor per instance; the static port list below is incomplete for such instances.

Ports at runtime

Ports are runtime-determined: property inputs/outputs were generated per instance from the selected cloud database class schema and pushed to the editor. An authoring tool should not place this node at all; the static port list is incomplete by design.

Record, Create Record, Update Record, Delete Record

Generated

This page is generated from node-catalog-enriched.json. Do not edit it by hand — run npm run docs:nodes to regenerate, and fix the source enrichment instead.