我正在从命令行运行一个脚本,使用Elount in standalone。我在SQL查询中的某个地方出错,但得到的堆栈跟踪不完整:
PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]:
Column not found: 1054 Unknown column 'id'
in 'where clause' in ./vendor/illuminate/database/Connection.php:326
Stack trace:
#0 ./vendor/illuminate/database/Connection.php(326):
PDO->prepare('select * from `...')
#1 ./vendor/illuminate/database/Connection.php(657):
Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `...', Array)
#2 ./vendor/illuminate/database/Connection.php(624):
Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure))
#3 ./vendor/illuminate/database/Connection.php(333):
Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure))
#4 ./vendor/illuminate/database/Query/Builder.php(2062):
Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 ./vendor/illuminate/database/Query/Builder.php(2050):
Illuminate\Database\Query\Builder->runSelect()
#6 /srv/nes in ./vendor/illuminate/database/Connection.php on line 664
...
在我的SQL查询中?