How do I get the knex object to execute custom or complex queries within my strapi service?
My Strapi version has the strapi-hook-knex
and strapi-hook-bookshelf
installed but when I run qb.raw
it is an undefined object.
This is to run queries like this:
qb.select(knex.raw('.... ?? )', '...'))