2
0

Rename Execute to Exec

This commit is contained in:
Jack Christensen
2014-06-27 14:56:27 -05:00
parent aeb6cea1cf
commit b6ac3ef2b0
10 changed files with 76 additions and 72 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ if widgets, err := conn.SelectRows("select name, weight from widgets where type=
Prepared statements are easy to use in pgx. Just call Prepare with the name of
the statement and the SQL. To execute a prepared statement just pass the name
of the statement into a Select* or Execute command as the SQL text. It will
of the statement into a Select* or Exec command as the SQL text. It will
automatically detect that it is the name of a prepared statement and execute
it.
@@ -61,7 +61,7 @@ being made available in the connection pool. This is especially useful to
ensure all connections have the same prepared statements available or to
change any other connection settings.
It also delegates Select* and Execute functions to an automatically checked
It also delegates Select* and Exec functions to an automatically checked
out and released connection so you can avoid manually acquiring and releasing
connections when you do not need that level of control.