@sqb/mysql-dialect
SQB's dialect plugin for MySQL — teaches
@sqb/builder how to render MySQL's SQL syntax.
No exported API
This package exports nothing. Its entire effect is a side effect of importing it: it constructs
an internal MysqlSerializer (not exported) and registers it with
SerializerRegistry for dialect: 'mysql'.
import '@sqb/mysql-dialect';
@sqb/mysql (the connection adapter) imports this package internally as part of its own entry
point, so you don't need to import it yourself when using @sqb/mysql — only when using
@sqb/builder standalone (no @sqb/connect/adapter) and you still want
.generate({ dialect: 'mysql' }) to render MySQL SQL.
See also
- The Dialect Plugin System — the full mechanism.
SerializerRegistry,SerializerExtensionMysqlAdapter— the connection adapter that imports this package.