Skip to content
This repository was archived by the owner on Jun 14, 2021. It is now read-only.
This repository was archived by the owner on Jun 14, 2021. It is now read-only.

数据库无法查表 #7

@sunkashing

Description

@sunkashing

这是我的core log:
[2020-08-19T06:28:14.554] [INFO] API: Main - JAVClub core is listening on port 3000! This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: Error: Undefined binding(s) detected when compiling FIRST. Undefined column(s): [id] query: select * from driverswhereisEnable= ? andid = ? limit ? at QueryCompiler_MySQL.toSQL (/usr/app/node_modules/knex/lib/query/compiler.js:101:13) at Builder.toSQL (/usr/app/node_modules/knex/lib/query/builder.js:77:44) at /usr/app/node_modules/knex/lib/runner.js:31:36 at /usr/app/node_modules/knex/lib/runner.js:260:24 at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Stack.getInstance (/usr/app/src/module/stack.js:21:20) at async /usr/app/src/import/init.js:21:22

但是mysql里已经有drivers的一条数据了
image
不是很清楚为什么还是显示id column找不到

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions