0 votes
in PouchDB by
db.getIndexes([callback])

Get a list of all the indexes you’ve created. Also tells you about the special _all_docs index, i.e. the default index on the _id field.

pouchdb-find plugin needed: This API requires the pouchdb-find plugin. See Mango queries for installation instructions.

Example Usage:

Example Response:

{
  "indexes": [
    {
      "ddoc": null,
      "name": "_all_docs",
      "type": "special",
      "def": {
        <span style="box-sizing:border-box; color:#e6db74" class="s

Related questions

0 votes
asked Jun 5, 2020 in PouchDB by AdilsonLima
0 votes
asked Jun 5, 2020 in PouchDB by AdilsonLima
...