Skip to main content

@sqb/mssql-dialect

SQB's dialect plugin for Microsoft SQL Server — teaches @sqb/builder how to render SQL Server's SQL syntax (OFFSET ... FETCH NEXT pagination, bracket-quoted identifiers, etc.).

No exported API

This package exports nothing. Its entire effect is a side effect of importing it: it constructs an internal MSSqlSerializer (not exported) and registers it with SerializerRegistry for dialect: 'mssql'.

import '@sqb/mssql-dialect';

@sqb/mssql (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/mssql — only when using @sqb/builder standalone (no @sqb/connect/adapter) and you still want .generate({ dialect: 'mssql' }) to render SQL Server SQL.

See also