Expand description
SQL statement classification by leading keyword.
Enums§
- Query
Kind - Detected query type — used for status bar messaging and execution routing.
Functions§
- detect_
query_ kind - Detect the query kind from the first non-whitespace, non-comment token.
- is_
transaction_ control - Returns true if
sqlbegins a transaction-control statement (BEGIN/COMMIT/ROLLBACK/END), after stripping leading whitespace and comments.