php - Open cart not use $this->db->query in model file -


working in open cart model view controller structure know $db library file , store in page load , set key value in registry file. question in model file place open cart use.path of file catalog\model\order\order.php.

 $order_query = $this->db->query('select * `'.db_prefix."order` 

but in same model file, in places open cart not use variable.

 $sql = '     select * '.db_prefix."order_sellerhistory 


Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -