diff --git a/README.md b/README.md index 66bef0ce..8eb054f4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,10 @@ const { connect, model, start, close } = require('ottoman'); const main = async () => { await connect("couchbase://localhost/travel-sample@admin:password"); - const User = model('User', { name: String }); + const User = model('User', { name: String }, { + collectionName: "_default", + scopeName: "_default", + }); const user = new User({ name: 'Jane Doe' });