(No version information available, might only be in Git)
CollectionAdd::execute — Execute the statement
The execute method is required to send the CRUD operation request to the MySQL server.
此函数没有参数。
A Result object that can be used to verify the status of the operation, such as the number of affected rows.
Example #1 mysql_xdevapi\CollectionAdd::execute() example
<?php
// Assuming $coll is a valid collection Object, the call to 'execute' is needed to trigger
// the submission of the CRUD operation to the server.
$coll->add('{"name": "Marco", "age": 19, "job": "Programmatore"}')->execute();
?>