Closed this issue 5 years ago · 3 comments
Let's make something like this possible:
pgsql.transaction do |t| id = t.exec('INSERT INTO user (name) VALUES ($1) RETURNING id', ['yegor'])[0]['id'].to_i t.exec('INSERT INTO account (user) VALUES ($1)', [id]) end
@rultor release, tag is 0.3.0
0.3.0
@yegor256 OK, I will release it now. Please check the progress here
@yegor256 Done! FYI, the full log is here (took me 4min)