Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaWise committed May 5, 2021
1 parent 696719b commit 74f9ee7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ const Database = require('better-sqlite3');
const db = new Database('foobar.db', { verbose: console.log });
```

> In-memory databases can also be created by passing a buffer returned by [`.serialize()`](#serializeoptions---buffer), instead of passing a string as the first argument.
### .prepare(*string*) -> *Statement*

Creates a new prepared [`Statement`](#class-statement) from the given SQL string.
Expand Down

0 comments on commit 74f9ee7

Please sign in to comment.