Ghost/core/server/models/base
Katharina Irrgang e89a27f3ab
Replaced options.where GQL statements with filter notation (#10160)
refs #10105

- `options.where` is an older deprecated logic
- before the filter language was invented, Ghost generates statements for knex
- if we want to replace GQL with NQL, we can't generate these statements
- they are not understood from NQL, because NQL uses mongo JSON
- go through usages and rewrite the statements
- invent `extraFilters` for now
- we need to keep the support for `status` or `staticPages` for now (API requirement)
- IMO both shortcuts in the extra filters should be removed in the future

This commit is required for https://github.com/TryGhost/Ghost/pull/10159!
2018-11-15 15:53:24 +01:00
..
index.js Replaced options.where GQL statements with filter notation (#10160) 2018-11-15 15:53:24 +01:00
listeners.js 🐛 Fix last seen for users (#10141) 2018-11-13 18:27:10 +07:00
token.js Bump dependencies (#9513) 2018-03-19 16:27:06 +01:00
utils.js Import lib/common only 2017-12-12 10:28:13 +01:00