You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could provide command options while constructing a changeset object. For now, options are not passed down to the command being built inside the changeset.
Examples
When result is supposed to be :many instead of the default :one value for the command:
rel.changeset(:delete,command_options: {result: :many})# or directlyrel.changeset(:delete,result: :many)# orrel.changeset(:delete).with_command_options(result: :many)
Right now, it is not possible with the current changeset implementation (arguments are considered data, see this file) so we have to circumvent:
We could provide command options while constructing a
changeset
object. For now, options are not passed down to thecommand
being built inside thechangeset
.Examples
When
result
is supposed to be:many
instead of the default:one
value for the command:Right now, it is not possible with the current changeset implementation (arguments are considered data, see this file) so we have to circumvent:
The text was updated successfully, but these errors were encountered: