Mysql_xdevapi
PHP Manual

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\CollectionAdd 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


Mysql_xdevapi
PHP Manual