(No version information available, might only be in Git)
CollectionFind::execute — Execute the statement
The execute function needs to be invoked in order to trigger the client to send the CRUD operation request to the server.
此函数没有参数。
A DocResult object that can be used to query the status of the operation
Example #1 mysql_xdevapi\CollectionFind::execute() example
<?php
//Assuming $coll is a valid Collection object
//Search the collection for all the documents for which the field
//'name' is either "Marco" or "Lucio"
$res = $coll->find('name IN ("Marco","Lucio")')->execute();
?>