prepareBindValues
prepareBindValues(
values
,statement
):PreparedBindValues
Defined in: packages/@livestore/common/dist/util.d.ts:24
Prepare bind values to send to SQLite Add $ to the beginning of keys; which we use as our interpolation syntax We also strip out any params that aren’t used in the statement, because rusqlite doesn’t allow unused named params TODO: Search for unused params via proper parsing, not string search TODO: Also make sure that the SQLite binding limit of 1000 is respected
Parameters
values
statement
string