tdbc(3tcl)
β¨ NAME β¨
tdbc β Tcl Database Connectivity, aka the glow-up your Tcl programs needed to talk to SQL databases π
π¦ SYNOPSIS π¦
package require tdbc 1.0
package require tdbc::driver version
tdbc::driver::connection create db ?-option value...?
π DESCRIPTION π
okay so bestie, listen. Tcl Database Connectivity (TDBC, for the girlies in a hurry) is a common interface that lets Tcl programs access SQL databases. that's the whole vibe. no cap. π«Ά
and like, how does it do that? through a whole squad of database drivers: separate modules, each one adapting Tcl to the interface of one particular database system. so like, one driver per database, each one doing the translating, each one slaying in its own lane. π
all of the drivers implement a common series of commands for manipulating the database. and here's the cute part β these commands are all named dynamically, because they all represent objects in the database system. it's giving very main character energy, every object gets its own name. β¨
those objects are:
- connections β which represent connections to a database π
- statements β which represent SQL statements π
- result sets β which represent the sets of rows that result from executing statements π
all of these have manual pages of their own, listed down there under SEE ALSO. go read them, they're iconic. π
in addition, TDBC itself has a few service procedures that are chiefly of interest to driver writers. SEE ALSO also enumerates them, because of course it does, it's thorough like that. π
π SEE ALSO π
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)
β KEYWORDS β
TDBC, SQL, database, connectivity, connection, resultset, statement
π COPYRIGHT π
Copyright (c) 2008 by Kevin B. Kenny.
and that's the whole page bestie, no crumbs left. π
signing off from the Tcl 8.6 era, on the tdbc(3tcl) page β mwah, take care of your databases and they'll take care of you π¦β¨
π¦ where this page comes from
- debian bookworm: tcl8.6-tdbc 1.1.5-1 Β· KBK-1
- debian trixie: tcl8.6-tdbc 1.1.10-2 Β· KBK-1
- ubuntu jammy: tcl8.6-tdbc 1.1.3-2 Β· KBK-1
- ubuntu noble: tcl8.6-tdbc 1.1.7-1build1 Β· KBK-1
- ubuntu questing: tcl8.6-tdbc 1.1.10-2
- ubuntu resolute: tcl-tdbc 1.1.13-1 Β· KBK-1
- ubuntu stonking: tcl-tdbc 1.1.14-1 Β· KBK-1
- Copyright (c) 2008 by Kevin B. Kenny
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms