Created
November 7, 2021 07:08
-
-
Save sagarpanda/1faf5c1f5946fd61f567a31637b84f05 to your computer and use it in GitHub Desktop.
SQL Lite is an in-process database which can write either to a disk file or to memory.
This file contains hidden or 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
| const sqlite3 = require('sqlite3').verbose(); | |
| let db = new sqlite3.Database(':memory:'); | |
| let db = new sqlite3.Database(':memory:', (err) => { | |
| if (err) { | |
| return console.error(err.message); | |
| } | |
| console.log('Connected to the in-memory SQlite database.'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment