SYNOPSIS (OPTIONAL)

string * db_coldefs( int handle)

DESCRIPTION

Return an array with the column names of the current table. If the database didn’t return a result, the result of this efun is 0.

The function is available only if the driver is compiled with mySQL support. In that case, __MYSQL__ is defined.

The efun triggers a privilege violation (“mysql”, “db_coldefs”).

HISTORY

  • introduced (3.2.9)
  • changed (3.2.11) – adds the privilege violation.