|
CollectionFind::executeExecute the statement Description
public mysql_xdevapi\DocResult mysql_xdevapi\CollectionFind::execute()
Execute the find operation; this functionality allows for method chaining. ParametersThis function has no parameters. Return ValuesA mysql_xdevapi\DocResult object that can be used to either fetch results from, or to query the status of the operation. ExamplesExample #1 CollectionFind example
The above example will output something similar to: array(1) { [0]=> array(4) { ["_id"]=> string(28) "00005b6b536100000000000000cf" ["age"]=> int(18) ["job"]=> string(6) "Butler" ["name"]=> string(6) "Alfred" } } |