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
update tbl:id merge {} report error says field required but found NONE.
Steps to reproduce
DEFINE TABLE user SCHEMAFULL;
DEFINE FIELD name ON TABLE user TYPE string;
DEFINE FIELD nickname ON TABLE user TYPE opiton<string>;
CREATE user:sliu CONTENT { name: "sliu" };
UPDATE user:sliu MERGE {};
the last UPDATE statement report error:
'Found NONE for field `name`, with record `user:sliu`, but expected a string'
Expected behaviour
UPDATE user:sliu MERGE {};
should execute successfully and update no fields.
SurrealDB version
v1.4.2
Contact Details
No response
Is there an existing issue for this?
I have searched the existing issues
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
update tbl:id merge {}
report error says field required but found NONE.Steps to reproduce
the last UPDATE statement report error:
Expected behaviour
should execute successfully and update no fields.
SurrealDB version
v1.4.2
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: