fetchSql 3.2.3 is coherent operation of the new method for direct return SQL instead of executing the query.

fetchSql 3.2.3 is coherent operation of the new method for direct return SQL instead of executing the query. E.g:

  1. $result = M('User')->fetchSql(true)->find(1);

Output result results: SELECT * FROM think_user where id = 1

 

Jiangsu marble table

Guess you like

Origin www.cnblogs.com/furuihua/p/11805240.html