php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73472 Missing (extended) documentation how to use filters on the query
Submitted: 2016-11-07 08:50 UTC Modified: 2021-02-15 13:22 UTC
From: marcus dot fritze at googlemail dot com Assigned: cmb (profile)
Status: Not a bug Package: mongodb (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 + 19 = ?
Subscribe to this entry?

 
 [2016-11-07 08:50 UTC] marcus dot fritze at googlemail dot com
Description:
------------
---
From manual page: http://www.php.net/class.mongodb-driver-query
---

It's unclear for me, how to use filters on this mongo query. For example (regarding to the eample in the notes): if I want to show the results for id = '1' and id = '2'. How would the filter look like? Or filter on multiple "columns" with multiple values...

Without a detailed documentation, this will end up in try and error without good results.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-07 14:22 UTC] cmb@php.net
-Package: Documentation problem +Package: mongodb
 [2021-02-15 13:22 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2021-02-15 13:22 UTC] cmb@php.net
Please report MongoDB related issues in the appropriate bug
tracker[1].

[1] <https://jira.mongodb.org/browse/PHPC>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 04:01:30 2024 UTC