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
letpeople=awaitdb.query("SELECT * FROM article WHERE status IN $status",{status: ["live","draft"],});
It does not seem to work however: Error: There was a problem with the database: Parse error on line 1 at character 35 when parsing 'IN $status'
Environment:
> deno --version
deno 1.23.2 (release, x86_64-pc-windows-msvc)
v8 10.4.132.8
typescript 4.7.2
> surreal version
surreal 1.0.0-beta.7 for windows on x86_64
The text was updated successfully, but these errors were encountered:
W4G1
changed the title
Code example in docs using variables throws parse error
Code example using variables in docs throws parse error
Sep 15, 2022
W4G1
changed the title
Code example using variables in docs throws parse error
Code example using variables throws parse error
Sep 15, 2022
This snippet is documented here: https://surrealdb.com/docs/surrealql/parameters
It does not seem to work however:
Error: There was a problem with the database: Parse error on line 1 at character 35 when parsing 'IN $status'
Environment:
The text was updated successfully, but these errors were encountered: