Your own database adapter

Alexey Gordeyev edited this page Apr 7, 2015 · 2 revisions

To use custom adapter, pass it's package name as first argument to Schema constructor:

mySchema = new Schema('couch-db-adapter', {host:.., port:...});

Make sure, your adapter can be required (just put it into ./node_modules):

require('couch-db-adapter');