Closed fragsalat closed 2 years ago
Hi.
Is there a new way to query data? I'm missing a bit of examples here.
Please note, that mysql v22.2.0 is not yet updated to mysql_common v0.29.0. This means that you need to change your Cargo.toml to this:
mysql = "22.2.0"
mysql_common = { version = "0.28.2", features = ["chrono"] }
seem to have solved it, dump me. May you could add to the documentation / readme that mysql_common has to be used and which version it should be :)
Hey there,
sorry for the probably dump question. I want to update my dependencies and don't know how to use the library with chrono anymore. The examples and docs is quite limited here. My code looks like this
In version 18.2 chrono feature were still part of the mysql crate and this code worked. With the new version I added mysql_common and enabled chrono feature but the NaiveDateTime doesn't seem to implement anymore the FromRow trait.
Is there a new way to query data? I'm missing a bit of examples here. Thanks for your work and your help :)