Closed chrisspiegl closed 1 year ago
I noticed that the Updating Data command shown in the docs is wrong:
Updating Data
https://docs.interactions.rest/d1-orm/models#updating-data
Currently (notice the two parameters and not providing the data in the data parameter.
data
await users.Update({ where: { name: "Jane Doe" } }, { name: "John Doe" });
Correct:
await users.Update({ where: { name: "Jane Doe" }, data: { name: "John Doe" }});
Facing a small issue with the CI that deploys the docs, but that should fix itself shortly. Thanks for reporting
I noticed that the
Updating Data
command shown in the docs is wrong:https://docs.interactions.rest/d1-orm/models#updating-data
Currently (notice the two parameters and not providing the data in the
data
parameter.Correct: