File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 11# sqlite
22
3+ [ ![ Build Status] ( https://travis-ci.com/sqlite-js/sqlite.svg?branch=master )] ( https://travis-ci.com/sqlite-js/sqlite )
4+
35An experimental SQLite library for Node using Neon
46
57## Goals
68* APIs
79 * Query binding
810 * Connection creation and closing
9- * Connection Pooling
10- * Parallel queryies
11+ * Connection pooling
12+ * Parallel queries
1113 * Serialization
1214 * Traces and profiling
1315* Modern infrastructure
@@ -28,15 +30,10 @@ import Sqlite from '@sqlite/sqlite';
2830
2931const connector = new Sqlite ();
3032
31- // Creating an in-memory async connection
32- const memoryConn = await connector .createInMemory ({
33- verbose: false
34- });
35-
3633// Creating a regular async connection
3734const conn = await connection .create ({
38- database: ' /path/to/database' ,
39- verbose: true
35+ database: ' /path/to/database' , // ':memory:'
36+ verbose: true // process.env.NODE_ENV !== 'production'
4037});
4138
4239// Parallel queries
Original file line number Diff line number Diff line change 99 "neon-cli" : " ^0.2.0"
1010 },
1111 "scripts" : {
12- "build" : " neon build" ,
12+ "build" : " neon build --release " ,
1313 "install" : " yarn build" ,
1414 "lint" : " eslint lib test" ,
1515 "test" : " jest ."
You can’t perform that action at this time.
0 commit comments