1
0
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:
Quix 2021-02-15 10:53:38 -05:00 committed by GitHub
parent 35f45b8e5e
commit 6a21b8cc8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
} }