-
Greetings! Are functions like I can prepare And I can't use trait SqlConst {
const QUERY: &'static str;
} |
Beta Was this translation helpful? Give feedback.
Answered by
BratSinot
Aug 11, 2022
Replies: 1 comment
-
Okey, got it. let statement = pool
.prepare_with(Data::QUERY, &[PgTypeInfo::with_name("NUMERIC")])
.await?;
let mut rows = statement.query_with(args).fetch(&pool); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BratSinot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okey, got it.