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.
fo' class='commit-info'> authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200 committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200 commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch) treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/67/74/20120217002356.GA4272@gnu.kitenet.net/signed parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/67/74/20120217002356.GA4272@gnu.kitenet.net/signed')