It uses db/save from joy/db.janet which uses db/insert with ON CONFLICT UPDATE clause. But the column updated_at is only updated with db/update.
I personally don't think that the column updated_at even deserves to stay alive so it is not a problem for me, just reporting a thing that doesn't seem to work.
When creating a standard controller with
joy create controller
, the "patch" looks like this:It uses
db/save
from joy/db.janet which usesdb/insert
with ON CONFLICT UPDATE clause. But the columnupdated_at
is only updated withdb/update
.I personally don't think that the column
updated_at
even deserves to stay alive so it is not a problem for me, just reporting a thing that doesn't seem to work.