dump(Db::squery(sql:'SELECT * FROM 'test1''));This is useless
OK
Be careful. If you type a wrong punctuation mark, an error will be reported and the operation will fail.
Where is the statement Db::squery(sql:'SELECT * FROM 'test1'')?
dump(Db::query('SELECT * FROM `test1`'));
You try this statement, there are three errors in the above sentence,
is a query, not a squery,
sql is a code prompt, not a manual input
`test1`, here is a backtick, under the Esc key on the keyboard
OK
Be careful. If you type a wrong punctuation mark, an error will be reported and the operation will fail.
Where is the statement Db::squery(sql:'SELECT * FROM 'test1'')?
You try this statement, there are three errors in the above sentence,
is a query, not a squery,
sql is a code prompt, not a manual input
`test1`, here is a backtick, under the Esc key on the keyboard