mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pg: fix typo (#8750)
This commit is contained in:
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
Block a user