Skip to main content

DB.COUNT

POST 

To count documents in a collection

Request

Body

    action stringrequired

    Default value: db.count

    The action name

    collection stringrequired

    The collection name

    matches objectrequired

    The matches criteria

Responses

Count response

Schema
    data object
    count int32

    The count value

Loading...