pg: fix typo (#8750)
parent
35f45b8e5e
commit
6a21b8cc8b
|
@ -92,7 +92,7 @@ fn res_to_rows(res voidptr) []Row {
|
||||||
return rows
|
return rows
|
||||||
}
|
}
|
||||||
|
|
||||||
// close frees the underlaying resource allocated by the database connection
|
// close frees the underlying resource allocated by the database connection
|
||||||
pub fn (db DB) close() {
|
pub fn (db DB) close() {
|
||||||
C.PQfinish(db.conn)
|
C.PQfinish(db.conn)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue