0.0.5 • Published 2 years ago

awe-sqlite3 v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 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

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago