Join Slack
Powered by
Are there plans to include condition checks for up...
# orm-help
e
Enrico
09/26/2020, 3:31 PM
Are there plans to include condition checks for updating and creating? Atm I always have to use Update many to unsure a record is only updated when it has a certain state
r
Ryan
09/28/2020, 6:57 AM
@Enrico
👋 There’s a request
here
for
findOne
, and you have a similar use case with update. For now, you would need to use
updateMany
as
update
only supports unique fields.
2
Views
Open in Slack
Previous
Next