ns::stats::SQLiteHistory method scalar (protected)

 <instance of ns::stats::SQLiteHistory[i]> scalar db query

Defined in

Return the first column of the first row, or empty for no rows.

Parameters:
db (required)
query (required)

Testcases:
No testcase defined.
Source code:
return [lindex [dict values [lindex [:sql $db $query] 0]] 0]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: