Skip to content

cloudant.post_all_docs_queries #52

Description

@keerat21
    dealer_id = int(request.args.get('dealerid'))
    if request.method=="GET":
                # Define a query to retrieve reviews for the specified dealer
        query = {
            "include_docs":True,
  		"selector": {
  			"id": 2
  	}}

        print(dealer_id)
        response = cloudant.post_all_docs_queries(
        db='reviews',
        queries=[query]
        ).get_result()``

I am getting all the results it is not refining the "id" that is in the "docs" key

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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