You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sea_query_driver_sqlite! macro does not compile unless the with-chrono feature is enabled. (The other drivers are OK.)
After removing the feature and the code that depends on it from the sqlx_sqlite example:
error: examples/sqlx_sqlite/src/main.rs:7: no method named `format` found for reference `&bool` in the current scope
error: examples/sqlx_sqlite/src/main.rs:7: this error originates in a macro outside of the current crate
error: examples/sqlx_sqlite/src/main.rs:7: method not found in `&bool`
error: could not compile `sea-query-sqlx-sqlite-example`
I believe this stems from this line of code in macro bind_params_sqlx_sqlite:
Changing this line to be similar to its counterparts in the other drivers allows the code to compile, but I do not know if it actually works at runtime with sqlite. I assume there's a reason for it being different.
The
sea_query_driver_sqlite!
macro does not compile unless thewith-chrono
feature is enabled. (The other drivers are OK.)After removing the feature and the code that depends on it from the sqlx_sqlite example:
I believe this stems from this line of code in macro
bind_params_sqlx_sqlite
:Changing this line to be similar to its counterparts in the other drivers allows the code to compile, but I do not know if it actually works at runtime with sqlite. I assume there's a reason for it being different.
rustc 1.52.0 (88f19c6da 2021-05-03)
sea-query 0.17.1
The text was updated successfully, but these errors were encountered: