noderaven

* store.<b>indexQuery</b>(db, index, whereClause, start, limit, sortBys, fetchings, cb) * store.<b>suggest</b>(db, index, term, field, cb) * store.<b>facets</b>(db, indexName, facetDoc, query, cb) * store.<b>load</b>(db, id, cb) * store.<b>update</b>(db,

Usage no npm install needed!

<script type="module">
  import noderaven from 'https://cdn.skypack.dev/noderaven';
</script>

README

NodeRaven

a simplified ravendb library for nodejs.

usage

var raven = require('nodeRaven');

var store = raven('http://:');

api

  • store.indexQuery(db, index, whereClause, start, limit, sortBys, fetchings, cb)
  • store.suggest(db, index, term, field, cb)
  • store.facets(db, indexName, facetDoc, query, cb)
  • store.load(db, id, cb)
  • store.update(db, id, doc, meta, cb)
  • store.patch(db, id, operations, cb)
  • store.store(db, entityName, doc, cb)