UNPKG

sqlite

Version:

SQLite client for Node.js applications with SQL-based migrations API written in Typescript

10 lines (9 loc) 361 B
import { ISqlite } from '../interfaces'; /** * Allows for using strings and `sql-template-strings`. Converts both to a * format that's usable by the SQL methods * * @param sql A SQL string or `sql-template-strings` object * @param params An array of parameters */ export declare function toSqlParams(sql: ISqlite.SqlType, params?: any[]): ISqlite.SqlObj;