Php/docs/mongocollection.validate

来自菜鸟教程
跳转至:导航、​搜索

MongoCollection::validate

(PECL mongo >=0.9.0)

MongoCollection::validateValidates this collection


说明

public MongoCollection::validate ([ bool $scan_data = false ] ) : array

参数

scan_data
Only validate indices, not the base collection.


返回值

Returns the database's evaluation of this object.