ali-sdk/ali-rds

支持AS语法(别名)吗?

xuxucode opened this issue · 0 comments

使用 AS 指定列名,比如:

let rows = yield db.select('table-name', {
  columns: ['author AS owner'],
});

以上用法会报错:unknown column 'author AS owner'
正确的用法是什么?能否支持?