mongodb query response code example Example 1: query mongodb Click to copydb.inventory.find( { status: "D" } ) Example 2: query mongodb Click to copydb.inventory.find( {} )