Skip to content

Commit 48ed9be

Browse files
committed
updates to ideal api in readme, use neon release build
1 parent ccd5aa6 commit 48ed9be

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# sqlite
22

3+
[![Build Status](https://travis-ci.com/sqlite-js/sqlite.svg?branch=master)](https://travis-ci.com/sqlite-js/sqlite)
4+
35
An 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

2931
const 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
3734
const 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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 ."

0 commit comments

Comments
 (0)