db_driverkey (public)
db_driverkey [ -handle_p handle_p ] dbn
Defined in packages/acs-tcl/tcl/01-database-procs.tcl
Normally, a dbn is passed to this proc. Unfortunately, there are one or two cases where a proc that needs to call this one has only a db handle, not the dbn that handle came from. Therefore, they instead use
-handle_p 1
and pass the db handle. Hmm, as of 2018, it seems that in most cases, db_driverkey is called with a handle.
- Switches:
- -handle_p
(defaults to"0"
) (optional)- Parameters:
- dbn
- Returns:
- The driverkey for use in db_* API switch statements.
- Author:
- Andrew Piskorski <atp@piskorski.com>
- Created:
- 2003/04/08
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_form_with_form_instance