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
when I use the create, upsert, update statements with the content, patch or merge clause (passing a JSON object) via API /sql endpoint (used by curl, postman), how can I store a field in datetime format?
In version 1.x this was not a problem, but with the datetime changes in version 2.x, I don't know how to make this happen.
My problem is that the implicit prefix "d" is required when using SurrealDB schemaless.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
when I use the create, upsert, update statements with the content, patch or merge clause (passing a JSON object) via API /sql endpoint (used by curl, postman), how can I store a field in datetime format?
In version 1.x this was not a problem, but with the datetime changes in version 2.x, I don't know how to make this happen.
My problem is that the implicit prefix "d" is required when using SurrealDB schemaless.
Special Thanks
Ron
Beta Was this translation helpful? Give feedback.
All reactions