Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edadma/bittydb-repl

a command-line environment for interacting with BittyDB
https://github.com/edadma/bittydb-repl

Last synced: 14 days ago
JSON representation

a command-line environment for interacting with BittyDB

Awesome Lists containing this project

README

        

BittyDB REPL
============

Do a `git clone`, run `sbt` and type `run` at prompt to start REPL...

Welcome to the BittyDB shell

> db.test.insert( {a: 1, b: "asdf"}, {a: 2, b: "zxcv"} )

> db.test.find( {} )
res2 = [{"a": 1, "b": "asdf", "_id": 88e099af-ed65-48db-bf8c-ec1b2b836da3}, {"a": 2, "b": "zxcv", "_id": 9d64d664-1f99-4a70-afdd-ac59f1d29a9f}]

> db.test.find( {a: {$lt: 2}} )
res3 = [{"a": 1, "b": "asdf", "_id": 88e099af-ed65-48db-bf8c-ec1b2b836da3}]