API Reference
Quick reference for VibORM APIs
API Reference
Quick lookup for VibORM APIs.
Reference Guides
Quick Links
Schema
| API | Description |
|---|---|
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
| API | Description |
|---|---|
findMany | Find multiple records |
findFirst | Find first matching |
findUnique | Find by unique ID |
create | Create record |
createMany | Create multiple |
update | Update record |
updateMany | Update multiple |
delete | Delete record |
deleteMany | Delete multiple |
upsert | Create or update |
count | Count records |
aggregate | Run aggregations |
groupBy | Group and aggregate |