ali-rds icon indicating copy to clipboard operation
ali-rds copied to clipboard

支持AS语法(别名)吗?

Open xuxucode opened this issue 6 years ago • 0 comments

使用 AS 指定列名,比如:

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

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

xuxucode avatar Aug 26 '19 08:08 xuxucode