Skip to content

Support counting relations #15

@kirrg001

Description

@kirrg001

Description

NQL should support counting relations.

The SQL strategy is currently covered in TryGhost/NQL-old#1.

e.g. You can pass a filter into NQL filter=count.posts>:0 and mongo-knex will receive a mongo JSON object and needs to interpret this object with the help of TryGhost/mongo-knex#4. It has to attach the correct SQL queries.

Tasks

  • add implementation for counting relations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions