Skip to content

Commit a2143fa

Browse files
myrrhlindveeden
authored andcommitted
doc: POD for ParamValues sth attribute
1 parent 11effb0 commit a2143fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lib/DBD/mysql.pm

+18
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,24 @@ to DBD::mysql. The attribute list includes:
16751675
16761676
=over
16771677
1678+
=item ParamValues
1679+
1680+
This attribute is supported as described in the DBI documentation.
1681+
1682+
It returns a hashref, the keys of which are the 'names' of the
1683+
placeholders: integers starting at 1. It returns an empty hashref if
1684+
the statement has no placeholders.
1685+
1686+
The values for these keys are initially undef; they are populated when
1687+
the C<bind_param> or C<execute> method is called. Supplying the
1688+
parameter values in the arguments to C<execute> will override any
1689+
previously bound values.
1690+
1691+
After execution, it is possible to use C<bind_param> to change a single
1692+
value in the statement and C<execute> again, with other values
1693+
unchanged. The attribute remains properly populated after the C<finish>
1694+
method is called, with the values from the last execution.
1695+
16781696
=item ChopBlanks
16791697
16801698
this attribute determines whether a I<fetchrow> will chop preceding

0 commit comments

Comments
 (0)