Using pouchdb plugins in ionic

Hello! How can I integrate pouchdb plugins such as pouchdb-find or pouchdb-gql in a ionic project? Many thanks!

OK, I’ve found the solution by simply adding a script source e.g. libs/plugin-x.js (after pouchdb.js) to the index.html file. :slight_smile:

Have you, guys, worked with pouchdb-gql plugin? I can’t get it running. I’ve added the following script tags:


as described here:

…but I’m always getting this error: TypeError: db.gql is not a function

вот -

How can I send the pouchDB data to my Laravel Server ? instead of CouchDB.