document return values of WebGUI::SQL->write and WebGUI::SQL::ResultSet->execute

This commit is contained in:
Graham Knop 2008-11-04 22:46:49 +00:00
parent 0ec07bc967
commit 1cf8d00d4a
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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.