Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 rethinkdb 中创建选择别名?
sql中的示例:
SELECT column_name AS alias_name FROM table_name;
你可以用地图来做
在 JavaScript 中它将是:
r.table("table_name").map({ alias_name: r.row("column_name") })