略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: mysql_xdevapi\Collection

2024-11-14

Collection class

(PECL mysql-xdevapi >= 8.0.11)

简介

类摘要

class mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject {
/* 属性 */
public $name;
/* 方法 */
public add(mixed $document): mysql_xdevapi\CollectionAdd
public addOrReplaceOne(string $id, string $doc): mysql_xdevapi\Result
public count(): int
public createIndex(string $index_name, string $index_desc_json): void
public dropIndex(string $index_name): bool
public existsInDatabase(): bool
public find(string $search_condition = ?): mysql_xdevapi\CollectionFind
public getName(): string
public getOne(string $id): Document
public getSchema(): Schema Object
public getSession(): Session
public modify(string $search_condition): mysql_xdevapi\CollectionModify
public remove(string $search_condition): mysql_xdevapi\CollectionRemove
public removeOne(string $id): mysql_xdevapi\Result
public replaceOne(string $id, string $doc): mysql_xdevapi\Result
}

属性

name

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.mysql-xdevapi-collection.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3