NewDocumentDB 1.0 is here. See what's new
MQL reference navigation

validate

Validates a collection and returns validation information. Views are not supported.

db.flights.validate()
ParameterDescription
validate(Required) A string specifying the collection name.
repair(Optional) A boolean-like value that repairs baseline collection access privileges; not a general-purpose BSON or index repair facility.

repair defaults to false. Collection-owner authorization is required.

See wire protocol and common fields. Source: pg_documentdb/src/commands/validate.c, command_validate.