document return values of WebGUI::SQL->write and WebGUI::SQL::ResultSet->execute
This commit is contained in:
parent
0ec07bc967
commit
1cf8d00d4a
2 changed files with 6 additions and 3 deletions
|
|
@ -972,7 +972,8 @@ sub unconditionalRead {
|
|||
|
||||
=head2 write ( sql, params )
|
||||
|
||||
A method specifically designed for writing to the database in an efficient manner.
|
||||
A method specifically designed for writing to the database in an efficient manner. Returns
|
||||
the number of rows effected.
|
||||
|
||||
=head3 sql
|
||||
|
||||
|
|
|
|||
|
|
@ -118,9 +118,11 @@ sub errorMessage {
|
|||
|
||||
=head2 execute ( [ placeholders ] )
|
||||
|
||||
Executes a prepared SQL statement.
|
||||
Executes a prepared SQL statement. For SELECT queries, returns a true value on success. For
|
||||
other queries, returns the number of rows effected. Return value will always evaluate as true
|
||||
even if zero rows were effected.
|
||||
|
||||
=head3 placeholders
|
||||
=head3 placeholders
|
||||
|
||||
An array reference containing a list of values to be used in the placeholders defined in the SQL statement.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue