Deletes a row loaded from the database.
The delete condition uses original primary-key values. If the Model has no primary key, all original fields form the locator. At most one row is requested from the Adapter.
Optional Adapter transaction connection.
true after the Adapter reports a successful deletion.
Validates and inserts a row created by Model.build.
Values returned by the Adapter, such as an auto-incremented primary key, are copied onto this same Yukari instance.
Optional Adapter transaction connection.
This Yukari instance after the write completes.
Inserts a newly built row or updates a row loaded from the database.
Optional Adapter transaction connection.
This Yukari instance after the selected write completes.
Serializes mapped fields with each Field Type's toJSON() implementation.
Serialize the original database snapshot instead of the current enumerable properties.
A plain object keyed by logical schema field names.
Updates a row loaded from the database.
Changed fields are detected against the private original-value snapshot. The original primary-key values locate the row, so changing a primary-key property does not lose the original locator. When no value changed, the complete mapped row is sent for v1-compatible behavior.
Optional Adapter transaction connection.
This Yukari instance with its original snapshot refreshed.
Validates every enumerable property mapped to a schema field.
Functions, compatibility properties whose names start with $, and
properties absent from the schema are ignored. At most ten fields are
validated concurrently.
The first validation error produced by validateOne.
Runs the validators for one schema field.
Nullable fields accept null without running custom validators. Each
validator runs with this bound to the row's Model.
Logical field name from the Model schema.
Application value to validate.
One mutable row belonging to a Model.
Schema fields are exposed as enumerable properties on the instance. Use Model.build to create a new row, or obtain a queried row from Query.find, Query.findOne, or Query.findById.
A built row can be inserted. A queried row can be updated or deleted. The original values used to locate and compare a queried row are kept privately.