PHP Sokil\Mongo Collection::validate - 1 examples found. These are the top rated real world PHP examples of Sokil\Mongo\Collection::validate extracted from open source projects. You can rate examples to help us improve the quality of examples.
Validates a collection. The method scans a collection’s data structures
for correctness and returns a single document that describes the
relationship between the logical collection and the physical
representation of the data.
Specify true to enable a full validation and to return
full statistics. MongoDB disables full validation by default because it
is a potentially resource-intensive operation.