Skip to content

Commit

Permalink
feat: LET type support
Browse files Browse the repository at this point in the history
  • Loading branch information
macjuul committed Aug 27, 2024
1 parent 19c891c commit 169e560
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/lezer-surrealql/src/surrealql.grammar
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,10 @@ LiveSelectStatement {
}

// Other statements
LetStatement { let VariableName "=" value }
LetStatement {
let VariableName (":" type)? "=" value
}

ShowStatement {
show changes for table
Ident
Expand Down

0 comments on commit 169e560

Please sign in to comment.