Skip to content

docs/gql: code sample doesn't parse #9178

@alxndrsn

Description

@alxndrsn

The second code sample at https://pouchdb.com/gql.html reads:

const pouchdb;
PouchDB('idb://test', function(err, db) {
   pouchdb = db;
  // Use pouchdb to call further functions
    db.gql({select: "*", where: "type='Fire' and name is not null"}, function(err, result){
        if(!err){
        // Use the results of the query here
        }
      }
})

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