ds_add (public)

 ds_add name [ args... ]

Defined in packages/acs-developer-support/tcl/acs-developer-support-procs.tcl

Sets a developer-support property for the current request.

Parameters:
name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_ds_add_test ds_add_test (test acs-developer-support) ds_add ds_add test_ds_add_test->ds_add ds_collection_enabled_p ds_collection_enabled_p (public) ds_add->ds_collection_enabled_p ds_enabled_p ds_enabled_p (public) ds_add->ds_enabled_p ds_collect_connection_info ds_collect_connection_info (public) ds_collect_connection_info->ds_add ds_collect_db_call ds_collect_db_call (public) ds_collect_db_call->ds_add ds_comment ds_comment (public) ds_comment->ds_add ds_profile ds_profile (public) ds_profile->ds_add ds_trace_filter ds_trace_filter (private) ds_trace_filter->ds_add

Testcases:
ds_add_test
Source code:
    if { [ds_enabled_p] && [ds_collection_enabled_p] } {
        if { [catch { nsv_exists ds_request . }] } {
            ns_log "Warning" "ds_request NSVs not initialized"
            return
        }

        if { ![info exists ::ad_conn(request)] } {
            set ::ad_conn(request) [ns_conn id]
        }
        nsv_lappend ds_request $::ad_conn(request).$name {*}$args
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: