-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Is your feature request related to a problem?
Currently, surrealql.Let() statements do not receive as a parameter a surrealql.If() that is because to make an IF statement it is necessary to call first surrealql.Begin()
But since surreal allow to store an IF ELSE statement, this behavior has to change
Example:
LET $var = if true {"var"} ELSE {"foo"};
Describe the solution
Make surrealql.If() independent from surrealql.Begin()
Alternative methods
None
SurrealDB version
2.6.1
Contact Details
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels