aboutsummaryrefslogtreecommitdiff
path: root/doc/vmod-sql.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/vmod-sql.3')
-rw-r--r--doc/vmod-sql.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/vmod-sql.3 b/doc/vmod-sql.3
index 864c6e1..446cfbc 100644
--- a/doc/vmod-sql.3
+++ b/doc/vmod-sql.3
@@ -13,7 +13,7 @@
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with vmod-sql. If not, see <http://www.gnu.org/licenses/>.
-.TH VMOD-SQL 1 "October 19, 2013" "VMOD-SQL" "User Reference"
+.TH VMOD-SQL 1 "November 1, 2014" "VMOD-SQL" "User Reference"
.SH NAME
vmod-sql \- SQL access for Varnish Cache
.SH SYNOPSIS
@@ -132,7 +132,7 @@ descriptor will be the lowest-numbered descriptor not currently
open for any connection.
.PP
The function
-.B sql.connect0
+.B sql.connect_init
is equivalent to
.BR sql.connect ,
but succeeds only if the connection is assigned the descriptor
@@ -146,7 +146,7 @@ closes an existing database connection identified by descriptor
.PP
The function
.B sql.query
-performs a database query given as its first argument. The second
+performs a database query given in argument \fIquery\fR. \fIParams\fR
argument is a list of variable assignments separated with
semicolons, similarly to the \fIparams\fR argument described above.
Each assignment has the form \fINAME\fB=\fIVALUE\fR.

Return to:

Send suggestions and report system problems to the System administrator.