Comparing version 2.10.0 to 2.10.1
{ | ||
"name": "rqlite-fp", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "rqlite", |
@@ -16,2 +16,15 @@ # rqlite-fp | ||
## Example | ||
### With promises | ||
```javascript | ||
const rqlite = require('rqlite-fp/promises'); | ||
(async function () { | ||
const connection = await connect('http://localhost:4001') | ||
const tableCreated = await execute(connection, 'CREATE TABLE lorem (info TEXT)') | ||
const testResults = await getAll(connection, 'SELECT * FROM test') | ||
console.log(results) | ||
}()) | ||
``` | ||
### With callbacks | ||
@@ -18,0 +31,0 @@ ```javascript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25886
88