API reference › @evolu/sqlite-wasm › c-api › sqlite3_strlike

function sqlite3_strlike(
  deps: SqliteWasmDep,
): (zGlob: CStringPtr, zStr: CStringPtr, cEsc: number) => number;

Defined in: packages/sqlite-wasm/src/CApi.ts:1007

Returns 0 when zStr matches the LIKE pattern zGlob with escape character cEsc, or none for 0, and non-zero otherwise. Like SQL's LIKE operator, it folds only ASCII case.

Wasm type i(iii). Signature ["sqlite3_strlike", "int", "string", "string", "int"] from SQLite's table.

See https://sqlite.org/c3ref/strlike.html.