Skip to content

routier-collection


routier-collection / plugins/sql-core/src / toSql

Function: toSql() ​

toSql(expr, dialect, options?): ToSqlResult

Defined in: plugins/sql-core/src/sql.ts:1129

Converts an Expression to a SQL WHERE clause and bound parameters for the given dialect.

Parameters ​

expr ​

Expression

dialect ​

SqlDialectName | SqlDialect

options? ​

ToSqlOptions

Returns ​

ToSqlResult

Released under the MIT License.