CollectionRemove::execute
PHP function
Edit on GitHub ✎
Execute remove operation
Description
mysql_xdevapi\CollectionRemove::execute(): mysql_xdevapi\Result
The execute function needs to be invoked in order to trigger the client to send the CRUD operation request to the server.
Func
Parameters Parameters
Return Values
Result object.
Examples
mysql_xdevapi\CollectionRemove::execute() example
php
<?php
$res = $coll->remove('true')->sort('age desc')->limit(2)->execute();
?>