Objection.js: selectRaw is orphaned ?

Created on 6 Nov 2020  路  2Comments  路  Source: Vincit/objection.js

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).

All 2 comments

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).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bsdo64 picture bsdo64  路  3Comments

AhmadRaza786 picture AhmadRaza786  路  3Comments

haywirez picture haywirez  路  3Comments

Gustav0ar picture Gustav0ar  路  4Comments

Ahlid picture Ahlid  路  3Comments