v0.24.0
版本发布时间: 2020-07-24 04:35:09
blackbeam/mysql_async最新发布版本:v0.34.2(2024-08-13 16:10:23)
API changes
-
library switched to non-consuming API:
// pre 0.24.0: let conn = conn.query_drop("DO 1").await?; // 0.24.0: conn.query_drop("DO 1").await?;
-
Queryable
trait was updated and now it is more convenient to work with usual single-result sets. UseQueryable::query_iter
andQueryable::exec_iter
if you need more flexibility. -
Query
trait was introduced. It allows you to run queries directly on a Pool and to create 'staticQueryResult
s -
Thick
Stmt
structure was removed in favor of theStatement
structure, which is a thin wrapper over raw statement identifier and metadata.
Fixes
- #110