php - Generate a sql string inside of a MY_Model -
i'm using jamie rumbelow's my_model develop model's modules. i'm running issues when i'm trying use relationships within module model's. i'm trying learn how debug this. view sql generated string see being ran query. know how this.
try:
echo $this->db->last_query();
this echo last sql query.
Comments
Post a Comment