dump(Db::squery(sql:'SELECT * FROM 'test1''));This is useless
autoload2022-01-18 09:50:09
Be careful. If you type a wrong punctuation mark, an error will be reported and the operation will fail.
autoload2022-01-18 09:21:00
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