- Publicity: Public Only All
acs-db-00-procs.tcl
Low level interface for defining the basic classes for the DB interface.
- Location:
- packages/acs-tcl/tcl/acs-db-00-procs.tcl
- Created:
- 2022-02-07
- Author:
- Gustaf Neumann
Procedures in this file
- acs::db::require_dc (private)
Detailed information
acs::db::require_dc (private)
acs::db::require_dc [ -backend backend ] [ -driver driver ] \ [ -name name ]
Select the driver based on the specified argument (either DB or DBI) or based on the defaults for the configuration. This function can be used to switch the driver as well dynamically.
- Switches:
- -backend (optional)
- "postgresql" or "oracle" or empty. When empty, determine backed from db_driverkey.
- -driver (optional)
- "nsdb" or "nsdbi" or empty. When empty, assume "nsdb" unless "preferdbi" is set.
- -name (optional, defaults to
"::acs::dc"
)- of the interface object (defaults to "::acs::dc")
- Returns:
- database interface object
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.