|
Collection::removeOneRemove one collection document Description
public mysql_xdevapi\Result mysql_xdevapi\Collection::removeOne(string
$id )
Remove one document from the collection with the corresponding ID.
This is a shortcut for Parameters
Return ValuesA Result object that can be used to query the number of affected items or the number warnings generated by the operation. ExamplesExample #1 mysql_xdevapi\Collection::removeOne example
The above example will output something similar to: Goodbye, Alfred, you can take _id 00005b6b536100000000000000cb with you. |