gwenn
gwenn
> I am currently stuck on dynamically generating `Params` for some custom types. This type has so many fields that the default implementations of `Params` do not contain a tuple...
This API is: * disabled by default (https://www.sqlite.org/compile.html#enable_deserialize). * available only since recently (https://sqlite.org/changes.html#version_3_23_0). Why not use the [backup](https://sqlite.org/c3ref/backup_finish.html#sqlite3backupinit) API ?
@link2xt Original post doesn't say that there is a space issue (and explicitly specifies which C API is expected to be used). Also you should already be able to reimplement...
Fixed in version 0.30.0 (#1341)
I guess you can ignore the code coverage error (which may be related to #1274). But you should fix the Clippy warnings. Thanks.
Or: ```rust let mut stmt = conn.prepare("SELECT name FROM people where name = :name")?; let rows = stmt.query_map([(":name", "terry")], |row| row.get(0))?; ``` Or: ```rust let mut stmt = conn.prepare("SELECT name...
But there is already such a link to the `Params` page...
See #1280 and #882. `'Alice'` is not a valid JSON value (see [json_valid](https://sqlite.org/json1.html#jvalid)) Maybe you should use [json_quote](https://sqlite.org/json1.html#jquote): ```sql SELECT * FROM users WHERE name=json_quote(?); ``` Or [json_extract](https://sqlite.org/json1.html#jex) ```sql sqlite>...
`Vec::into_boxed_slice` / `String::into_boxed_str` + `Box::into_raw` / `drop(Box::from_raw)`
To be fixed here: https://github.com/rusqlite/rusqlite/blob/51a69b1b7487aa41786570ed95abc2699ac02c1e/src/statement.rs#L730-L732