CollectionModify class
(PECL mysql-xdevapi >= 8.0.11)
Introduction
Class synopsis
$collection_field
, string $expression_or_literal
): mysql_xdevapi\CollectionModify$collection_field
, string $expression_or_literal
): mysql_xdevapi\CollectionModify$collection_field
, string $expression_or_literal
): mysql_xdevapi\CollectionModifyTable of Contents
- CollectionModify::arrayAppend — Append element to an array field
- CollectionModify::arrayInsert — Insert element into an array field
- CollectionModify::bind — Bind value to query placeholder
- CollectionModify::__construct — CollectionModify constructor
- CollectionModify::execute — Execute modify operation
- CollectionModify::limit — Limit number of modified documents
- CollectionModify::patch — Patch document
- CollectionModify::replace — Replace document field
- CollectionModify::set — Set document attribute
- CollectionModify::skip — Skip elements
- CollectionModify::sort — Set the sorting criteria
- CollectionModify::unset — Unset the value of document fields