fix type issue
This commit is contained in:
parent
197aff25d4
commit
7483b29d28
|
@ -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('(');
|
||||
|
|
Loading…
Reference in New Issue