lib/model/modelQueryProps.js
function queryPropToKnexRaw(queryProp, builder) {
  if (!queryProp) {
    return queryProp;
  }

  if (queryProp.isObjectionQueryBuilderBase) {
    return buildObjectionQueryBuilder(queryProp, builder);
  } else if (isKnexRawConvertable(queryProp)) {
    return buildKnexRawConvertable(queryProp, builder);
  } else {
    return queryProp;
  }
}
function queryPropToKnexRaw(queryProp, builder) {
  if (!queryProp) {
    return queryProp;
  }

  if (queryProp.isObjectionQueryBuilderBase) {
    return buildObjectionQueryBuilder(queryProp, builder);
  } else if (isKnexRawConvertable(queryProp)) {
    return buildKnexRawConvertable(queryProp, builder);
  } else {
    return queryProp;
  }
}
function queryPropToKnexRaw ( queryProp , builder ) { if ( ! queryProp ) { return queryProp ; } if ( queryProp . isObjectionQueryBuilderBase ) { return buildObjectionQueryBuilder ( queryProp , builder ) ; } else if ( isKnexRawConvertable ( queryProp ) ) { return buildKnexRawConvertable ( queryProp , builder ) ; } else { return queryProp ; } }
Converts a query property into a knex `raw` instance.
Converts a query property into a knex raw instance .