Skip to content

v5.2.0

Compare
Choose a tag to compare
@blackbeam blackbeam released this 20 Jun 10:51
· 614 commits to master since this release
  • first and first_exec shortcuts added to conveniently get first row of a query

  • The lifetime of a pool is now untied from a QueryResult in Pool::prepare and Pool::prep_exec so now you can write this without bc errors:

    pool.prep_exec("SELECT 1", ()).and_then(|result1| {
        pool.prep_exec("SELECT 2", ()).and_then(|result2| {
            // ...
        })
    })