rawQuery not working on Production #4098
-
This is the query No error in dev but I get this error on production
Ive reversed the string quotes as weel th have the first part start with "SELECT... and also tried 'SELECT.... Is this some kind of configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I rewrote the query like this and it worked |
Beta Was this translation helpful? Give feedback.
I rewrote the query like this and it worked
"SELECT min_payment , calc_payment, type, description, GREATEST(min_payment, calc_payment) as col_total FROM invoice_transactions WHERE ?? = ? AND invoice_id = ?", ['type', 'asset_based', params.id]);