Skip to content

db.post() error #80

@fedex995

Description

@fedex995

Hi!
I'm trying to post a document to my db using this adapter.
When doing so, I get the following error:

pouchdbUtils.uuid(32, 16).toLowerCase is not a function pouchdb
My code is really simple:
` PouchDB.plugin(cordovaSqlitePlugin);

  this.addressLocalDB = new PouchDB('addresses.db', {adapter: 'cordova-sqlite'});
  this.addressLocalDB.post({}).then((res) => console.log (res)).catch ((err) => console.log (err));`

I'm waiting for the device ready callback and following all the instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions