Skip to content

MongoDB count query example doesn't work on v25.1.0 #823

@fdebijl

Description

@fdebijl

The current example for a count query at https://redash.io/help/data-sources/querying/mongodb/ doesn't seem to work, as of v25.1.0 the count query also requires a query object. I'd propose the example is changed from

{
    "collection": "my_collection",
    "count": true
}

to

{
    "collection": "my_collection",
    "query": {},
    "count": true
}

to reflect a minimal working version of a count query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions