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
Describe the bug
The eq() function when passed a string returns an escaped string which prevents the usage of raw queries without using a provided method.
Expected behavior
I expect the strings not to be escaped to allow you to use that without having to either use
eq(raw('math::floor(12.133)')
or
raw('= math::floor(12.133)')
I feel both of those options are are less clean to write. A change would also allow the use of any of the SurrealQL functions without having to rely on us having a helper method.
Environment:
OS: Linux
Version ^0.6.6
Node Version v16.19.0
The text was updated successfully, but these errors were encountered:
Describe the bug
The
eq()
function when passed a string returns an escaped string which prevents the usage of raw queries without using a provided method.Example
Expected behavior
I expect the strings not to be escaped to allow you to use that without having to either use
or
I feel both of those options are are less clean to write. A change would also allow the use of any of the SurrealQL functions without having to rely on us having a helper method.
Environment:
The text was updated successfully, but these errors were encountered: