-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T885 Add prepared statements support to sqlparser #303
T885 Add prepared statements support to sqlparser #303
Conversation
sqlparser/parse_test.go
Outdated
testQueries := []string{ | ||
`prepare stmt1 from 'select 1'`, | ||
`prepare stmt1 from @variable`, | ||
`prepare stmt1 from E'pg_escape_string'`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should not support this type of literals
@Lagovas @storojs72 are there fixes to be made for this PR to be complete? |
Yes, one more - to handle case of |
@Lagovas look please this PR once more from the beginning |
PREPARE stmt_name FROM preparable_stmt
statment support;EXECUTE stmt_name [USING @var_name [, @var_name] ...]
statement support;DEALLOCATE PREPARE stmt_name
statement support.