提交 89c46aaa 编写于 作者: R Rafael Mendonça França

Improve CHANGELOG entry with examples [ci skip]

上级 a09659d5
......@@ -2,10 +2,20 @@
Normal DROP TABLE also works, but commits the transaction.
drop_table :temporary_table, temporary: true
*Cody Cutrer*
* Add option to create tables from a query.
create_table(:long_query, temporary: true,
as: "SELECT * FROM orders INNER JOIN line_items ON order_id=orders.id")
Generates:
CREATE TEMPORARY TABLE long_query AS
SELECT * FROM orders INNER JOIN line_items ON order_id=orders.id
*Cody Cutrer*
* `db:test:clone` and `db:test:prepare` must load Rails environment.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册