Sql query output : SELECT SQL_CALC_FOUND_ROWS, dev10_enc.category_id, dev10_enc.parent_id, dev10_enc.status, dev10_enc.image, dev10_enc.date_added, dev10_enc.date_modified, dev10_enc.sort_order, dev10_encd.category_id, dev10_encd.language_id, dev10_encd.name, dev10_encd.description, dev10_encd.meta_keywords, dev10_encd.meta_description, dev10_encd.seo FROM dev10_extension_news_category AS dev10_enc LEFT JOIN dev10_extension_news_category_description AS dev10_encd ON (dev10_enc.category_id = dev10_encd.category_id) WHERE dev10_encd.language_id = 1 ORDER BY dev10_encd.name ASC
Normal Query : SELECT SQL_CALC_FOUND_ROWS dev10_enc.category_id, dev10_enc.parent_id, dev10_enc.status, dev10_enc.image, dev10_enc.date_added, dev10_enc.date_modified, dev10_enc.sort_order, dev10_encd.category_id, dev10_encd.language_id, dev10_encd.name, dev10_encd.description, dev10_encd.meta_keywords, dev10_encd.meta_description, dev10_encd.seo FROM dev10_extension_news_category AS dev10_enc LEFT JOIN dev10_extension_news_category_description AS dev10_encd ON (dev10_enc.category_id = dev10_encd.category_id) WHERE dev10_encd.language_id = 1 ORDER BY dev10_encd.name ASC
I don't really have one, other then perhaps fetch the compiled query (without the SQL_CALC_ROWS), stick that on it manually, and then pass everything to DB::query() ?
I know it's been looked at in the past, but no good solution was ever found.