VibORM

API Reference

Quick reference for VibORM APIs

API Reference

Quick lookup for VibORM APIs.

Reference Guides

Schema

APIDescription
s.model()Create a model
s.string()String field
s.int()Integer field
s.float()Float field
s.decimal()Decimal field
s.bigInt()BigInt field
s.boolean()Boolean field
s.dateTime()DateTime field
s.json()JSON field
s.blob()Binary field
s.enum()Enum field
s.vector()Vector field
s.relation.oneToOne()One-to-one relation
s.relation.oneToMany()One-to-many relation
s.relation.manyToOne()Many-to-one relation
s.relation.manyToMany()Many-to-many relation

Client

APIDescription
findManyFind multiple records
findFirstFind first matching
findUniqueFind by unique ID
createCreate record
createManyCreate multiple
updateUpdate record
updateManyUpdate multiple
deleteDelete record
deleteManyDelete multiple
upsertCreate or update
countCount records
aggregateRun aggregations
groupByGroup and aggregate

On this page