Home > PHP > Function > > dbplus_tcl()

dbplus_tcl()

dbplus_tcl - Execute TCL code on server side

Syntax

string dbplus_tcl (int $sid, string $script)

Arguments

  • sid
  • script

Description

A db++ server will prepare a TCL interpreter for each client connection. This interpreter will enable the server to execute TCL code provided by the client as a sort of stored procedures to improve the performance of database operations by avoiding client/server data transfers and context switches.

Version

PHP 4 <= 4.1.0, PECL dbplus >= 0.9

Return value