Hi,
https://github.com/Vincit/objection.js/search?q=selectRaw
https://github.com/Vincit/objection.js/blob/master/doc/recipes/raw-queries.md#raw-queries mentions selectRaw but knex does not and it's nowhere else to be found.
It is missing indeed. You can add it yourself in your own QueryBuilder class:
selectRaw(...args) {
return this.select(this.knex().raw(...args))
}
I only care because doc != implementation.
In fact, i think selectRaw and whereRaw should be dropped in favor of select(raw) and where(raw).
Most helpful comment
I only care because doc != implementation.
In fact, i think selectRaw and whereRaw should be dropped in favor of select(raw) and where(raw).