After printing sql on the web page, what tool is used to automatically generate sql statements?
Chen
Chen 2020-06-11 20:42:48
0
5
1305

What is this tool?

image.png

Chen
Chen

reply all(3)
青Blue

There is information in the screenshot, the implementation principle of native query in tp5, just go to the relevant source code of tp5

finley

It’s not clear what the tool is, but you can check the last executed SQL in the code

echo Db::table('staff')->getLastSql();

Statement

  • reply 嗯~ o(* ̄▽ ̄*)o ok
    Chen author 2020-06-13 23:57:32
WJ

What's the meaning? Are you talking about what tool you use to execute this sql statement?

  • reply What are the tools in the video diagram? can be based on Db::table('staff') ->field(['name','salary']) ->where('salary','>',5000) ->select() }; Automatically generate sql statements
    Chen author 2020-06-12 10:39:44
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template