Closed mauriciopena closed 3 years ago
Hello,
when I try to create a view like this:
import { Couchbase } from 'nativescript-couchbase-plugin'
const db = new Couchbase('my-db')
db.createView("myview", "1", function(document, emitter) { emitter.emit(document._id, document) })
I'm getting "createView is not a function". How can I create a view with this plugin?
in v2.0 they removed it I think for in favour of queries
Hello,
when I try to create a view like this:
import { Couchbase } from 'nativescript-couchbase-plugin'
const db = new Couchbase('my-db')
db.createView("myview", "1", function(document, emitter) { emitter.emit(document._id, document) })
I'm getting "createView is not a function". How can I create a view with this plugin?