Skip to content

Parsing error on SET (sqlite database) #644

Answered by lovasoa
SebastiendOrnano asked this question in Q&A
Discussion options

You must be logged in to vote

role is a reserved keyword in sql. Precious versions of our sql parser allowed it as a variable name, but newer versions are stricter. You can rename the variable to something like user_role

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@SebastiendOrnano
Comment options

Answer selected by SebastiendOrnano
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants