mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41:37 +08:00
Update changelog description of statement caching.
This commit is contained in:
parent
e71c3c5207
commit
e4e17cc5dd
@ -1,7 +1,9 @@
|
|||||||
# Version UPCOMING (...)
|
# Version UPCOMING (...)
|
||||||
|
|
||||||
* Adds a `cache` Cargo feature that provides `cache::StatementCache` for caching prepared
|
* Adds `Connection::prepare_cached`. `Connection` now keeps an internal cache of any statements
|
||||||
statements.
|
prepared via this method. The size of this cache defaults to 16 (`prepare_cached` will always
|
||||||
|
work but may re-prepare statements if more are prepared than the cache holds), and can be
|
||||||
|
controlled via `Connection::set_prepared_statement_cache_capacity`.
|
||||||
* Adds `insert` convenience method to `Statement` which returns the row ID of an inserted row.
|
* Adds `insert` convenience method to `Statement` which returns the row ID of an inserted row.
|
||||||
* Adds `exists` convenience method returning whether a query finds one or more rows.
|
* Adds `exists` convenience method returning whether a query finds one or more rows.
|
||||||
* Adds support for serializing types from the `serde_json` crate. Requires the `serde_json` feature.
|
* Adds support for serializing types from the `serde_json` crate. Requires the `serde_json` feature.
|
||||||
|
Loading…
Reference in New Issue
Block a user