nstcl  >  Documentation  >  nstcl-database  >  set_default_pool

Tcl Powered!

set_default_pool

NAME

set_default_pool — Sets a default database pool

SYNOPSIS

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

::nstcl::set_default_pool poolname

DESCRIPTION

This command sets the default database pool for the database api commands, and for ns_db gethandle when a pool is not explicitly requested by name.

This command is not exported from the nstcl namespace.

SEE ALSO

configure_pool, database_api

KEYWORDS

database, nstcl