mapsql
v1.1.0
Published
Another simple in-memory store with a 'SQL-like' api
Downloads
8
Readme
mapsql
Motivation
Implementation of a simple in-memory store with a "SQL-like" api
Installation
$ npm install mapsql
Usage
const MapSQL = require("mapsql");
const data = { foo: "bar", bar: "foo" };
const db = new MapSQL();
db.create("baz");
db.table("baz").insert(data)
db.select() // => [{ foo: "bar", bar: "foo" }]
db.select({ foo: "bar" }) // => { foo: "bar", bar: "foo" }
API
License
MIT © wmik