Skip to content

Instance Method

set(_:to:)

@discardableResult func set<Field>(_ field: KeyPath<Model, Field>, to value: Field.Value) -> Self where Field : QueryableProperty, Model.IDValue == Field.Model