nstcl  >  Documentation  >  nstcl-database  >  db_list

Tcl Powered!

db_list

NAME

db_list — Returns a list of the first column from an SQL query

SYNOPSIS

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

::nstcl::db_list statement_name SQL

DESCRIPTION

Returns a list containing the first 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