Open keerat21 opened 10 months ago
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
I am getting all the results it is not refining the "id" that is in the "docs" key