Skip to content

Commit 186dbfc

Browse files
committed
fix: remove remaining enableSimpleNullHandling artifacts
1 parent 5e108c5 commit 186dbfc

3 files changed

Lines changed: 1 addition & 9 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ import {
258258
open,
259259
NitroSQLiteError,
260260
typeORMDriver,
261-
enableSimpleNullHandling, // no-op from 9.3.0
262261
} from 'react-native-nitro-sqlite'
263262
import type { QueryResult, BatchQueryCommand, NitroSQLiteConnection, ... } from 'react-native-nitro-sqlite'
264263
```

example/src/tests/unit/common.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { Chance } from 'chance'
2-
import {
3-
enableSimpleNullHandling,
4-
NitroSQLiteError,
5-
} from 'react-native-nitro-sqlite'
2+
import { NitroSQLiteError } from 'react-native-nitro-sqlite'
63
import { resetTestDb } from '../db'
74
import chai from 'chai'
85

@@ -22,6 +19,5 @@ export const expect = chai.expect
2219
export const chance = new Chance()
2320

2421
export function setupTestDb() {
25-
enableSimpleNullHandling(false)
2622
resetTestDb()
2723
}

package/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export const NitroSQLite = {
2121
executeBatchAsync,
2222
}
2323

24-
/** NOOP on NitroSQLite versions >= 9.3.0 */
25-
export function enableSimpleNullHandling() {}
26-
2724
export { open } from './operations/session'
2825
export { default as NitroSQLiteError } from './NitroSQLiteError'
2926
export type * from './types'

0 commit comments

Comments
 (0)