Mysql_xdevapi
PHP Manual

Collection class

(PECL mysql-xdevapi >= 8.0.11)

简介

类摘要

mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject {
/* 属性 */
public $name ;
/* 方法 */
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 )
}

属性

name

Table of Contents


Mysql_xdevapi
PHP Manual