0.0.5 • Published 3 years ago

awe-sqlite3 v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Awe SQLite3

Awe SQlite3 is pure C implementation database connection provide pure async/await SQLite3 C API function invokation.

Example usage:

    import { open, exec, close } from 'awe-sqlite3';

    const conn1 = await open()
    await exec(conn1, "CREATE TABLE contacts (" +
      "contact_id INTEGER PRIMARY KEY, " +
      "first_name TEXT NOT NULL" +
      ");");
    const code = await exec(conn1, `INSERT INTO contacts (contact_id, first_name) VALUES (${i}, 'user_${i}')`);
    console.log(code);
    await close(conn1);
0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago