This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.

The procedure is defined as:

proc ::ns::stats::scalar {db query} {
    lindex [dict values [lindex [::ns::stats::sql $db $query] 0]] 0
}

Show another procedure: