package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev
# Functions
NewANSIQuoteHandler return handler with ANSI mode = true.
NewDefaultQuoteHandler return handler with default setting where ANSI mode = false.
NewMySQLDialect return new MySQLDialect, optionally configured with additional options.
SetANSIMode allows to enable ANSI mode.
SetTableNameCaseSensitivity allows to enable case sensitivity for table identifiers.
# Structs
MySQLDialect dialect implementation for MySQL.
QuoteHandler handler to handle quotes for MySQL according to modes https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sqlmode_ansi_quotes https://dev.mysql.com/doc/refman/8.0/en/identifiers.html.
# Type aliases
DialectOption is used to enable different options in dialect and thus tune SQL parser behavior.