Hello,
I’m trying to use Ottoman with Couchbase Enterprise 6.0.0. The query doesn’t return any data when I try to use a model that is registered as shown here: Model | Ottoman.js.
If I simply use
const User = model('User', { name: string });
it will work only on the 1st request and 2nd request onwards it gives the error “model is already registered”.
Any help would be appreciated. Please let me know if you need further information from me.
Thanks,
Aakshaye M Gaikar