我正在使用 NodeJs。用于编写查询的连接器 X-devAPI。我需要使用连接查询。我如何编写查询?
const session = mySqlx.getSession(config);
const schema = await session.getSchema('xxxx');
let tableresp = await schema.getTable('tableName');
tableresp = await tableresp
.select(['id', 'name', 'Mobile'])
.execute(function (row) {
console.log(row)
});
Run Code Online (Sandbox Code Playgroud)