php8.5
Home/ Manual/ mysql_xdevapi / collectionremove/ CollectionRemove::execute

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();

?>

Source: reference/mysql_xdevapi/mysql_xdevapi/collectionremove/execute.xml · from the official PHP manual (php/doc-en)