Helper

model:find(name, opts)

Find records from DAB that matched your query.

See this for details.

Usage:

helper('model:find')(name, opts)

model:findOne(name, id)

Usage:

helper('model:findOne')(name, id, opts)

model:create

Usage:

helper('model:create')(name, body, opts)

model:update

Usage:

helper('model:update')(name, id, body, opts)

model:remove

Usage:

helper('model:remove')(name, id, opts)

model:bulkCreate

Usage:

helper('model:bulkCreate')(name, body, opts)

model:bulkUpdate

Usage:

helper('model:bulkUpdate')(name, body, opts)

model:bulkRemove

Usage:

helper('model:bulkRemove')(name, body, opts)

model:copyFrom(name, src, opts)

Usage:

helper('model:copyFrom')(name, src, opts)

model:copyTo(name, dest, opts)

Usage:

helper('model:copyTo')(name, dest, opts)

model:validate(name, ...args)

model:get(name)

model:getConnector(name, follow)

model:getDab(name)

model:getHook(name, hook)

model:getSchema(name)

Last updated