File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * converting the value to a JSON string
44 */
55import type { BatchQueryCommand , NitroSQLiteConnection } from 'react-native-nitro-sqlite' ;
6- import { enableSimpleNullHandling , open } from 'react-native-nitro-sqlite' ;
6+ import { open } from 'react-native-nitro-sqlite' ;
77import { getFreeDiskStorage } from 'react-native-device-info' ;
88import type { FastMergeReplaceNullPatch } from '../../utils' ;
99import utils from '../../utils' ;
1010import type StorageProvider from './types' ;
1111import type { StorageKeyList , StorageKeyValuePair } from './types' ;
1212
13- // By default, NitroSQLite does not accept nullish values due to current limitations in Nitro Modules.
14- // This flag enables a feature in NitroSQLite that allows for nullish values to be passed to operations, such as "execute" or "executeBatch".
15- // Simple null handling can potentially add a minor performance overhead,
16- // since parameters and results from SQLite queries need to be parsed from and to JavaScript nullish values.
17- // https://github.com/margelo/react-native-nitro-sqlite#sending-and-receiving-nullish-values
18- enableSimpleNullHandling ( ) ;
19-
2013/**
2114 * The type of the key-value pair stored in the SQLite database
2215 * @property record_key - the key of the record
You can’t perform that action at this time.
0 commit comments