Skip to content

Commit 1252c8f

Browse files
authored
Update README.md
1 parent 8f5a243 commit 1252c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The basic query is **synchronous**, it will block rendering on large operations,
7575
import { open } from 'react-native-nitro-sqlite';
7676

7777
try {
78-
const db = open('myDb.sqlite');
78+
const db = open({name: 'myDb.sqlite', location: '<optional_file_location>'})
7979

8080
let { rows } = db.execute('SELECT somevalue FROM sometable');
8181

0 commit comments

Comments
 (0)