PHP Conference Japan 2024

Collection 類別

(PECL mysql-xdevapi >= 8.0.11)

簡介

類別概要

類別 mysql_xdevapi\Collection 實作 mysql_xdevapi\SchemaObject {
/* 屬性 */
公開 $name;
/* 方法 */
公開 add(混合 $document): mysql_xdevapi\CollectionAdd
公開 addOrReplaceOne(字串 $id, 字串 $doc): mysql_xdevapi\Result
公開 count(): 整數
公開 createIndex(字串 $index_name, 字串 $index_desc_json):
公開 dropIndex(字串 $index_name): 布林值
公開 existsInDatabase(): 布林值
公開 find(字串 $search_condition = ?): mysql_xdevapi\CollectionFind
公開 getName(): 字串
公開 getOne(字串 $id): 文件
公開 getSchema(): 綱要物件
公開 getSession(): 工作階段
公開 modify(字串 $search_condition): mysql_xdevapi\CollectionModify
公開 remove(字串 $search_condition): mysql_xdevapi\CollectionRemove
公開 removeOne(字串 $id): mysql_xdevapi\Result
公開 replaceOne(字串 $id, 字串 $doc): mysql_xdevapi\Result
}

屬性

名稱

目錄

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top