« Client::getClient
Collection::add »

Collection クラス

(PECL mysql-xdevapi >= 8.0.11)

はじめに

クラス概要

class mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject {
/* プロパティ */
public $name;
/* メソッド */
public function add(mixed $document): mysql_xdevapi\CollectionAdd
public function addOrReplaceOne(string $id, string $doc): mysql_xdevapi\Result
public function count(): int
public function createIndex(string $index_name, string $index_desc_json): void
public function dropIndex(string $index_name): bool
public function existsInDatabase(): bool
public function find(string $search_condition = ?): mysql_xdevapi\CollectionFind
public function getName(): string
public function getOne(string $id): Document
public function getSchema(): Schema Object
public function getSession(): Session
public function modify(string $search_condition): mysql_xdevapi\CollectionModify
public function remove(string $search_condition): mysql_xdevapi\CollectionRemove
public function removeOne(string $id): mysql_xdevapi\Result
public function replaceOne(string $id, string $doc): mysql_xdevapi\Result
}

プロパティ

name

目次

関連キーワード:
Collection   xdevapi   mysql   コレクション   ドキュメント   index   condition   プロパティ   addOrReplaceOne   count   createIndex   dropIndex   existsInDatabase   find   getName   getOne   getSchema   getSession   modify   remove   removeOne   replaceOne   インデックス   Client   getClient
関連する関数・ページ:
mysql-xdevapi-collection.getname   mysql-xdevapi-collection.existsindatabase   mysql-xdevapi-collection.removeone   mysql-xdevapi-collection.getone   mysql-xdevapi-collection.addorreplaceone   mysql-xdevapi-collection.dropindex