ali-sdk / ali-rds

Aliyun RDS client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

支持AS语法(别名)吗?

xuxucode opened this issue · comments

使用 AS 指定列名,比如:

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

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