in notorm documentation we know to get sql query use (string) $table but i didn't get any result when use it.
$data = array('name'=>'testing','age'=>'25') $result = $db->tablename->insert($data); echo (string) $result ;
i know the query is insert into tablename (name,age) values('testing','25'); i want to catch the query to variable. but echo (string) $result didn't show anything.
in notorm documentation we know to get sql query use (string) $table but i didn't get any result when use it.
$data = array('name'=>'testing','age'=>'25') $result = $db->tablename->insert($data); echo (string) $result ;i know the query is
insert into tablename (name,age) values('testing','25');i want to catch the query to variable. butecho (string) $resultdidn't show anything.