database Types
database.Record
Execution-owned record; not serializable and exposes only these defined operations.
handle
load
assign the supplied fields to pending record state.
| Argument | Type | Required | Default |
|---|---|---|---|
| values | core.object | Yes | — |
Returns: core.void
Statement Only · No Return Value
remove
clear the named field's value in pending record state. Persist with save.
| Argument | Type | Required | Default |
|---|---|---|---|
| name | core.string | Yes | — |
Returns: core.void
Statement Only · No Return Value
save
persist pending state in the execution transaction.
No Arguments
Returns: core.void
Statement Only · No Return Value
data
Plain object containing the loaded projection, recursively converted to data.
No Arguments
Returns: core.object
database.RecordCursor
Execution-owned cursor; not serializable and exposes only these defined operations.
handle
Iterable Of: database.Record
database.Query
Read query over declared Collections and projections.
object
Object Schema
{
"$ref": "query.schema.json"
}database.BulkUpdate
One bulk change over matching base records.
object
Object Schema
{
"$ref": "bulk-update.schema.json"
}