Index: openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl 11 Sep 2024 06:15:48 -0000 1.3 +++ openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl 20 Oct 2024 10:13:13 -0000 1.4 @@ -1443,8 +1443,8 @@ @return a list of ns_sets with the values of each column of each row returned by the SQL query specified. - @param statement_name The name of the query. - @param sql The SQL to be executed. + @param statement_name name of the query. + @param sql SQL to be executed. @param bind bind variables, passed either as an ns_set id, or via bind value list @return list of ns_sets, one per each row return by the SQL query @@ -2330,8 +2330,7 @@ -column_set } { - -

Performs the SQL query sql. If a row is returned, sets variables + Performs the SQL query sql. If a row is returned, sets variables to column values (or a set or array populated if -column_array or column_set is specified) and returns 1. If no rows are returned, returns 0. @@ -2346,7 +2345,8 @@ @param bind bind variables, passed either as an ns_set id, or via bind value list @param column_array array to be populated with values @param column_set ns_set to be populated with values - + @param statement_name name of the query + @param sql SQL query to be executed } { # Query Dispatcher (OpenACS - ben) set full_statement_name [db_qd_get_fullname $statement_name]