@name
=
$query
->param([
parameter
[
newvalue1, newvalue2, ...
] ])
Gets or sets parameter names.
-
@name
-
The array to contain the parameter names.
-
parameter
-
An optional single parameter to fetch. When used with
no arguments,
param
returns a list of all known
parameter names.
-
newvalue1, newvalue2, ...
-
The optional new values to assign to the parameter.
Using named parameters, the syntax is:
$query->param(-name=>'
parameter
',
-value=>'
newvalue
');
or:
$query->param(-name=>'
parameter
',
-values=>'
newvalue1
', '
newvalue2
', ...);