Home
The Toolkit for Online Communities
15903 Community Members, 0 members online, 1944 visitors today
Log In Register

db_driverkey

OpenACS Home : ACS API Browser : db_driverkey

db_driverkey (private)

db_driverkey [ -handle_p handle_p ] dbn
Defined in packages/acs-tcl/tcl/00-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.

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
[ show source ]
Show another procedure: