Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This function returns a DBI statement handler from which the caller can
fetch the results of the SQL passed via C<$sql>.
-If passed any query other than a SELECT, or if there is a db error,
-C<$errors> an array ref is returned containing the error after this
+If passed any query other than a SELECT, or if there is a DB error,
+C<$errors> is returned, and is a hashref containing the error after this
manner:
C<$error->{'sqlerr'}> contains the offending SQL keyword.