Skip to content

Commit 0f81e3b

Browse files
author
asvln
authored
db.pg: fix typos (#19654)
1 parent d11db9a commit 0f81e3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vlib/db/pg/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ gem install pg -- --with-pg-config=/opt/local/lib/postgresql[version number]/bin
4545

4646
**ArchLinux**: `pacman -S postgresql-libs`
4747

48-
##Getting Started with [PostgreSQL](https://www.postgresqltutorial.com/postgresql-getting-started)
48+
## Getting Started with [PostgreSQL](https://www.postgresqltutorial.com/postgresql-getting-started)
4949

5050
Read this section to learn how to install and connect to PostgreSQL
5151
[*Windows*](https://www.postgresqltutorial.com/install-postgresql);

vlib/db/pg/pg.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ pub fn (db DB) exec_param_many(query string, params []string) ![]Row {
279279
}
280280
}
281281

282-
// exec_param2 executes a query with 1 parameter ($1), and returns either an error on failure, or the full result set on success
282+
// exec_param executes a query with 1 parameter ($1), and returns either an error on failure, or the full result set on success
283283
pub fn (db DB) exec_param(query string, param string) ![]Row {
284284
return db.exec_param_many(query, [param])
285285
}

0 commit comments

Comments
 (0)