0.6.2 • Published 10 years ago

deep-mongo v0.6.2

Weekly downloads
6
License
-
Repository
github
Last release
10 years ago

deep-mongo

deep-mongo provides a restful styled mongodb store usable with deepjs. By other, it make mongodb queriable with RQL (https://github.com/persvr/rql).

See deep-restful for full API description.

Install

	npm install deep-mongo

Usage

	var deep = require("deepjs"); // load core
	require("deep-restful"); // load chained API
	require("deep-mongo"); // load driver

	deep.Mongo("items", "mongodb://127.0.0.1:27017/test", "items");

	//...

	deep.restful("items")
	.post({ something:"yes"})
	.slog()
	.put({
		hello:"putted object",
		test:12
	})
	.slog()
	.patch({
		hello:"patched object",
	})
	.slog()
	.get() // get all
	.log();

see testcases for full usage.

0.6.2

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.4

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

11 years ago