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
It seems that parameters might not be properly passed as parameters to the db or something weird is happening. Maybe the query is incorrect, but it seems right. We need a test for this though to be certain. The tests are to verify parameters and escaping works as expected. We need to consider "thing", "ident", "table", and perhaps several more that need to have formatting handled correctly.
sending request failed for method 'query': There was a problem with the database: Parse error on line 13 at character 1 when parsing 'RELATE $userID->manages->type::thing("warehouse", $WAREHOUSE)
Describe the bug
It seems that parameters might not be properly passed as parameters to the db or something weird is happening. Maybe the query is incorrect, but it seems right. We need a test for this though to be certain. The tests are to verify parameters and escaping works as expected. We need to consider "thing", "ident", "table", and perhaps several more that need to have formatting handled correctly.
Steps to reproduce
From discord:
Results in
Workaround was
Expected behaviour
The original query should have worked. Or the workaround shouldn't have worked.
SurrealDB version
1.0.0-beta.9+20230726.43794700 for macos on aarch64
Contact Details
hugh@surrealdb.com, < worldwidepaniel on discord >
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: