UNPKG

expo-sqlite

Version:

Provides access to a database using SQLite (https://www.sqlite.org/). The database is persisted across restarts of your app.

24 lines 1.15 kB
import { SQLiteBindBlobParams, SQLiteBindPrimitiveParams, type SQLiteColumnNames, type SQLiteColumnValues } from './NativeStatement'; /** * Normalize the bind params to data structure that can be passed to native module. * The data structure is a tuple of [primitiveParams, blobParams, shouldPassAsArray]. * @hidden */ export declare function normalizeParams(...params: any[]): [SQLiteBindPrimitiveParams, SQLiteBindBlobParams, boolean]; /** * Compose `columnNames` and `columnValues` to an row object. * @hidden */ export declare function composeRow<T>(columnNames: SQLiteColumnNames, columnValues: SQLiteColumnValues): T; /** * Compose `columnNames` and `columnValuesList` to an array of row objects. * @hidden */ export declare function composeRows<T>(columnNames: SQLiteColumnNames, columnValuesList: SQLiteColumnValues[]): T[]; /** * Normalize the index for the Storage.getKeyByIndexSync and Storage.getKeyByIndexAsync methods. * @returns The normalized index or `null` if the index is out of bounds. * @hidden */ export declare function normalizeStorageIndex(index: any): number | null; //# sourceMappingURL=paramUtils.d.ts.map