Skip to content

Release: v0.15.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jul 11:27
97b3a79
  • Allow multiple connections to the database in a single test case, which is useful for testing the transaction behavior. This can be achieved by attaching a connection foo record before the query or statement.
    • (parser) Add Record::Connection.
    • (runner) Breaking change: Since the runner may establish multiple connections at runtime, Runner::new now takes a impl MakeConnection, which is usually a closure that returns a try-future of the AsyncDB instance.
    • (bin) The connection to the database is now established lazily on the first query or statement.