Utilize the results of a database query as a template data -source.
+Database Query
+Summary
+Utilize the results of a database query as a template data +source.
+Method
+query name structure sql -db dbhandle -startrow n -maxrows n -bind (set|list) -eval { code } -Perform a query and store the results in a local variable.
Examples
++Perform a query and store the results in a local variable.
+Examples
+set db [ns_db gethandle] # this will set a scalar named current_time @@ -38,7 +43,9 @@ template::query persons nestedlist " select state, city, first_name, last_name from users" \ -db $db -groupby { state city } -Note(s)