Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 956 Bytes

_src_utils_strings_.md

File metadata and controls

29 lines (17 loc) · 956 Bytes

sqliteGlobals"src/utils/strings"

Module: "src/utils/strings"

Index

Functions

Functions

toSqlParams

toSqlParams(sql: SqlType, params: any[]): SqlObj

Defined in src/utils/strings.ts:10

Allows for using strings and sql-template-strings. Converts both to a format that's usable by the SQL methods

Parameters:

Name Type Default Description
sql SqlType - A SQL string or sql-template-strings object
params any[] [] An array of parameters

Returns: SqlObj