yuya-takeyama/MyQP — Issue #1: DSL を考える
Author: yuya-takeyama
Created: 2011-12-27 05:13:47+00:00
State: open

こんな感じの DSL で MySQL のクエリのプロファイリングができたら, それはとっても嬉しいなって

```ruby
host "localhost"
user "root"
password "password"
port 3306
database "blog"

output :tsv, "profile.tsv"

profile %Q{SELECT * FROM users WHERE id = 1}, :times => 10, :interval => 1
profile %Q{SELECT * FROM users WHERE created_at BETWEEN '2011-01-01 00:00:00' AND '2011-12-31 23:59:59'}, :times => 10, :interval => 1
```