acs::db::Driver method get_sql (protected)
<instance of acs::db::Driver> get_sql [ -dbn dbn ] qn
Defined in packages/acs-tcl/tcl/acs-db-00-procs.tcl
- Switches:
- -dbn (optional)
- Parameters:
- qn (required)
- Testcases:
- No testcase defined.
Source code: set full_statement_name [db_qd_get_fullname $qn 2] set full_query [db_qd_fetch $full_statement_name $dbn] set sql [db_fullquery_get_querytext $full_query] # # todo: missing handling of substitution rules as # introduced with oacs-5-10 # :uplevel 2 [list subst $sql]XQL Not present: Generic, PostgreSQL, Oracle