Compatibility alias for autoIncrementField.
ReadonlyautoCompiled field marked with autoIncrement: true, when present.
ReadonlycacheCache selected by Model options or inherited from the parent Toshihiko.
ReadonlycolumnStorage column name to logical field name.
ReadonlyfieldStorage column name to compiled Field.
ReadonlyfieldLogical field name to compiled Field.
ReadonlynameTable or collection name passed to Toshihiko.define.
ReadonlynameLogical field name to storage column name.
ReadonlyoptionsModel options passed to Toshihiko.define.
ReadonlyoriginalExact schema array passed to Toshihiko.define.
ReadonlyparentToshihiko instance which owns this Model.
ReadonlyprimaryCompiled fields marked with primaryKey: true.
ReadonlyschemaRuntime Field objects compiled from originalSchema.
Compatibility getter for parent.
Begins a transaction through the selected Adapter.
This method is callable only when the Adapter declares transaction support.
The Adapter-specific transaction connection.
Creates a new Yukari row without writing it.
Input keys are restricted to schema fields. Supplied fields and fields with defaults are known to exist on the returned type; other fields remain optional until assigned or loaded.
A newly built Yukari ready for Yukari.insert or Yukari.save.
Commits an Adapter transaction connection.
Connection returned by beginTransaction.
The Adapter-defined commit result.
Creates a fresh Query and applies Query.conn.
Converts storage column names to logical schema field names.
Unknown columns return undefined for string or array input and are omitted
from object input.
One storage column name. Overloads also accept an array of column names or a row keyed by column name.
The corresponding logical name or converted structure.
Converts storage column names to logical schema field names.
Unknown columns return undefined for string or array input and are omitted
from object input.
The corresponding logical name or converted structure.
Counts all rows through a fresh Query.
Deletes rows through a fresh Query with no condition.
Use where first unless deleting the entire table is intentional.
Executes an Adapter-specific raw operation through a fresh Query.
Creates a fresh Query and applies the Query.field alias.
Creates a fresh Query and applies Query.fields.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Optionaloptions: QueryFindManyOptionsFinds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Optionaloptions: QueryFindManyOptionsFinds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds rows through a fresh Query.
The overloads and serialization behavior match Query.find.
Finds one row by primary key through a fresh Query.
Single primary-key value or composite-key object.
Finds one row by primary key through a fresh Query.
Single primary-key value or composite-key object.
Finds one row by primary key through a fresh Query.
Single primary-key value or composite-key object.
Finds at most one row through a fresh Query.
Finds at most one row through a fresh Query.
Finds at most one row through a fresh Query.
Returns storage column names for primary keys.
One string for a single key, an array for composite keys, or an empty array when the Model has no primary key.
Returns logical primary-key names.
One string for a single key, an array for composite keys, or an empty array when the Model has no primary key.
Creates a fresh Query and applies Query.index.
Creates a fresh Query and applies Query.limit.
Creates a fresh Query and applies Query.limit.
Creates a fresh Query and applies Query.order.
Creates a fresh Query and applies the Query.orderBy alias.
Rolls back an Adapter transaction connection.
Connection returned by beginTransaction.
The Adapter-defined rollback result.
Updates rows through a fresh Query with no condition.
Use where first unless updating the entire table is intentional.
Creates a fresh Query and applies Query.where.
The table-level API returned by Toshihiko.define.
A Model compiles the supplied schema, creates Query builders, constructs Yukari rows, and exposes schema-aware metadata. Query entry methods always create a fresh Query instance.