-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
eq('math::floor(12.133)')
output: [Symbol(Query Raw)]: "= \"math::floor(12.133)\""
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working