version = 0
name = "ListCollections"
documentation = "ListCollections performs a listCollections operation."
response.type = "list collections batch cursor"

[properties]
enabled = ["read preference"]
disabled = ["collection"]
legacy = "listCollections"

[command]
name = "listCollections"
parameter = "database"

[request.filter]
type = "document"
constructor = true
documentation = "Filter determines what results are returned from listCollections."

[request.nameOnly]
type = "boolean"
documentation = "NameOnly specifies whether to only return collection names."
