forked from WiseLibs/better-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joshua Wise
committed
Sep 7, 2016
1 parent
3edefdc
commit 0069de9
Showing
73 changed files
with
177 additions
and
2,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,37 @@ | ||
*.dylib | ||
*.so | ||
*.o | ||
*.lo | ||
*.Makefile | ||
*.target.gyp.mk | ||
lib/binding | ||
build | ||
out | ||
Release | ||
Debug | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/ | ||
|
||
# Dependency directory | ||
node_modules | ||
.deps | ||
Makefile.gyp | ||
gyp-mac-tool | ||
.dirstamp | ||
npm-debug.log | ||
test/support/big.db | ||
test/tmp | ||
test/nw/app.nw | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Project specific | ||
lib/binding | ||
.DS_Store | ||
.idea |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,33 @@ | ||
# sqlite3-plus | ||
# better-sqlite3 | ||
|
||
*You want [Node](http://nodejs.org/)?* | ||
|
||
*You want [Sqlite](http://sqlite.org/)?* | ||
|
||
*You want your life to be* **easy?** | ||
|
||
##### **Well you're in luck because sqlite3-plus is here!!!!** | ||
##### **Well you're in luck because better-sqlite3 is here!!!!** | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install --save sqlite3-plus | ||
npm install --save better-sqlite3 | ||
``` | ||
|
||
## Usage | ||
|
||
```js | ||
var sql = require('sqlite3-plus').verbose(); | ||
var db = new sql.Database(':memory:'); | ||
var Database = require('better-sqlite3'); | ||
var db = new Database('foobar.db', {memory: true, wal: false}); | ||
``` | ||
|
||
The `statement.pluck()` method will return the wrong data if the specified column's position in the table changes (by dropping and recreating the table). | ||
|
||
## Features | ||
|
||
- Full transaction support | ||
- Full Buffer/Blob support | ||
- Big test suite | ||
- Written in modern C++ and tested for memory leaks | ||
|
||
# Contributors | ||
|
||
* [Konstantin Käfer](https://github.com/kkaefer) | ||
* [Dane Springmeyer](https://github.com/springmeyer) | ||
* [Will White](https://github.com/willwhite) | ||
* [Orlando Vazquez](https://github.com/orlandov) | ||
* [Artem Kustikov](https://github.com/artiz) | ||
* [Eric Fredricksen](https://github.com/grumdrig) | ||
* [John Wright](https://github.com/mrjjwright) | ||
* [Ryan Dahl](https://github.com/ry) | ||
* [Tom MacWright](https://github.com/tmcw) | ||
* [Carter Thaxton](https://github.com/carter-thaxton) | ||
* [Audrius Kažukauskas](https://github.com/audriusk) | ||
* [Johannes Schauer](https://github.com/pyneo) | ||
* [Mithgol](https://github.com/Mithgol) | ||
|
||
# License | ||
|
||
[BSD and MIT licensed](https://github.com/JoshuaWise/node-sqlite3-plus/blob/master/LICENSE.md). | ||
[MIT](https://github.com/JoshuaWise/better-sqlite3/blob/master/LICENSE.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
'use strict'; | ||
module.exports = require('./lib/database'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.