Skip to content

Add handling for MySQL view options and stored function syntax.#62

Closed
tcflanagan wants to merge 1 commit intoTylerBrinks:mainfrom
tcflanagan:tcflanagan/parse-mysql-views-and-stored-functions
Closed

Add handling for MySQL view options and stored function syntax.#62
tcflanagan wants to merge 1 commit intoTylerBrinks:mainfrom
tcflanagan:tcflanagan/parse-mysql-views-and-stored-functions

Conversation

@tcflanagan
Copy link
Copy Markdown

@tcflanagan tcflanagan commented Jun 8, 2025

Good morning!

This PR adds support for the following:

  • MySQL Pre-VIEW-keyword modifiers (see docs)
  • MySQL stored functions, using either syntax: RETURN <EXPR> or BEGIN <STATEMENTS> RETURN <EXPR>; END.

Feel free to be as brutal and/or pedantic as you'd like. I'm open to suggestions for a better way to determine whether BEGIN starts a statement block rather than a transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant