xuxucode opened this issue 5 years ago · 0 comments
使用 AS 指定列名,比如:
let rows = yield db.select('table-name', { columns: ['author AS owner'], });
以上用法会报错:unknown column 'author AS owner'。 正确的用法是什么?能否支持?
unknown column 'author AS owner'