fix type issue

This commit is contained in:
Maximilian Schneider 2023-04-16 22:27:21 +02:00
parent 197aff25d4
commit 7483b29d28
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ impl PostgresSession {
Ok(client)
}
pub fn multiline_query(query: &mut String, args: usize, rows: usize, types: &[str]) {
pub fn multiline_query(query: &mut String, args: usize, rows: usize, types: &[&str]) {
let mut arg_index = 1usize;
for row in 0..rows {
query.push('(');