DOKK / manpages / debian 10 / tcl8.6-tdbc / tdbc.3tcl.en
tdbc(3tcl) Tcl Database Connectivity tdbc(3tcl)


tdbc - Tcl Database Connectivity

package require tdbc 1.0
package require tdbc::driver version
tdbc::driver::connection create db ?-option value...?

Tcl Database Connectivity (TDBC) is a common interface for Tcl programs to access SQL databases. It is implemented by a series of database drivers: separate modules, each of which adapts Tcl to the interface of one particular database system. All of the drivers implement a common series of commands for manipulating the database. These commands are all named dynamically, since they all represent objects in the database system. They include connections, which represent connections to a database; statements, which represent SQL statements, and result sets, which represent the sets of rows that result from executing statements. All of these have manual pages of their own, listed under SEE ALSO.

In addition, TDBC itself has a few service procedures that are chiefly of interest to driver writers. SEE ALSO also enumerates them.

Tdbc_Init(3), tdbc::connection(3tcl), tdbc::mapSqlState(3tcl), tdbc::resultset(3tcl), tdbc::statement(3tcl), tdbc::tokenize(3tcl), tdbc::mysql(3tcl), tdbc::odbc(3tcl), tdbc::postgres(3tcl), tdbc::sqlite3(3tcl)

TDBC, SQL, database, connectivity, connection, resultset, statement

Copyright (c) 2008 by Kevin B. Kenny.

8.6 Tcl