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
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>:0and 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