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
A small code snippet or a link to a Github repo or Gist, with instructions on reproducing the bug.
[dependencies]
sqlx = { version = "0.7.4", features = ["any", "sqlite", "postgres", "mysql"] }
tokio = { version = "1.36.0", features = ["full"] }
use sqlx::{Any,Pool};#[tokio::main]asyncfnmain(){let pool:Pool<Any> = Pool::connect("sqlite::memory:").await.unwrap();let kind = pool.any_kind();}
Error:
error[E0599]: no method named `any_kind` found for struct `Pool` in the current scope
--> src/main.rs:6:21
|
6 | let kind = pool.any_kind();
| ^^^^^^^^ method not found in `Pool<Any>`
For more information about this error, try `rustc --explain E0599`.
Info
SQLx version: 0.7.4
SQLx features enabled: ["any", "sqlite", "postgres", "mysql"]
Bug Description
any_kind()
is not available inPool<Any>
in v0.7.Minimal Reproduction
A small code snippet or a link to a Github repo or Gist, with instructions on reproducing the bug.
Error:
Info
rustc --version
: rustc 1.77.0 (aedd173a2 2024-03-17)The text was updated successfully, but these errors were encountered: