Create an index if it doesn’t exist, or do nothing if it already exists.
pouchdb-find plugin needed: This API requires the pouchdb-find
plugin. See Mango queries for installation instructions.
Example Usage:
Example Response:
If the index was created, you’ll see:
Or if the index already exists: