nstcl  >  Documentation  >  nstcl-database  >  db_list_of_lists

Tcl Powered!

db_list_of_lists

NAME

db_list_of_lists — Evaluates an SQL query and returns the results as a list of lists

SYNOPSIS

package require nstcl-database ?1.0?
package require nstcl ?1.0?

::nstcl::db_list_of_lists statement_name SQL

DESCRIPTION

Returns a list containing lists of the values in each column of each row returned by the SQL query.

SEE ALSO

The documentation for the database_api for information on statement_name and which database pool is used to evaluate SQL when multiple pools are defined.

KEYWORDS

database, nstcl