|
Lines 406-413
sub nb_rows {
Link Here
|
| 406 |
This function returns a DBI statement handler from which the caller can |
406 |
This function returns a DBI statement handler from which the caller can |
| 407 |
fetch the results of the SQL passed via C<$sql>. |
407 |
fetch the results of the SQL passed via C<$sql>. |
| 408 |
|
408 |
|
| 409 |
If passed any query other than a SELECT, or if there is a db error, |
409 |
If passed any query other than a SELECT, or if there is a DB error, |
| 410 |
C<$errors> an array ref is returned containing the error after this |
410 |
C<$errors> is returned, and is a hashref containing the error after this |
| 411 |
manner: |
411 |
manner: |
| 412 |
|
412 |
|
| 413 |
C<$error->{'sqlerr'}> contains the offending SQL keyword. |
413 |
C<$error->{'sqlerr'}> contains the offending SQL keyword. |
| 414 |
- |
|
|