summaryrefslogtreecommitdiff
path: root/doc/API/Database
blob: 70ac780a763d678eeef0432c26ab66a89f874c3e (plain)
  1. Most of the important database access is through the $form object.
  2. $form->{dbh} is a non-autocommit database handle.
  3. $form->dbinit initiates the $form->{dbh} and caches the custom fields table.
  4. $form->callproc($procname, @arguments) returns @hashref_records
  5. This is a wrapper for the stored procedures. Prepares a parameterized query,
  6. fills in the arguments, and returns the results as a list of hashrefs.