PHP 7.2.7 Released

Collection class

(PECL mysql-xdevapi >= 8.0.11)

Introduction

Class synopsis

mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject {
/* Properties */
public $name ;
/* Methods */
public mysql_xdevapi\Result add ( mixed $document )
public mysql_xdevapi\Result addOrReplaceOne ( string $id , string $doc )
public integer count ( void )
public void createIndex ( string $index_name , string $index_desc_json )
public bool dropIndex ( string $index_name )
public bool existsInDatabase ( void )
public mysql_xdevapi\CollectionFind find ([ string $search_condition ] )
public string getName ( void )
public Document getOne ( string $id )
public Schema Object getSchema ( void )
public Session getSession ( void )
public mysql_xdevapi\CollectionModify modify ( string $search_condition )
public mysql_xdevapi\CollectionRemove remove ( string $search_condition )
public mysql_xdevapi\Result removeOne ( string $id )
public mysql_xdevapi\Result replaceOne ( string $id , string $doc )
}

Properties

name

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top