forceFill method
Model<OrmMigrationRecord>
forceFill(
- Object attributes, {
- ValueCodecRegistry? registry,
inherited
Temporarily disables mass-assignment protection while callback runs.
Supports maps, tracked models, DTOs, and partial entities.
Implementation
Model<TModel> forceFill(
Object attributes, {
ValueCodecRegistry? registry,
}) {
return ModelAttributes.unguarded(
() => fill(
attributes,
strict: false,
registry: _effectiveCodecRegistry(registry),
),
);
}