Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
PgInformationSchema Class Reference
+ Collaboration diagram for PgInformationSchema:

Static Public Member Functions

static tableExists ($dbaccess, $schemaName, $tableName)
 
static getTableColumns ($dbaccess, $schemaName, $tableName)
 
static getTableIndexes ($dbaccess, $schemaName, $tableName)
 

Detailed Description

Definition at line 8 of file Class.Dcp_Core_PgInformationSchema.php.

Member Function Documentation

static getTableColumns (   $dbaccess,
  $schemaName,
  $tableName 
)
static

Get columns for a given table.

Parameters
string$dbaccessdbaccess
string$schemaNameSchema name (e.g. 'public')
string$tableNameTable name (e.g. 'doc123')
Returns
string[] List of column names for given table

text

Definition at line 44 of file Class.Dcp_Core_PgInformationSchema.php.

+ Here is the call graph for this function:

static getTableIndexes (   $dbaccess,
  $schemaName,
  $tableName 
)
static

Get indexes for a given table.

Parameters
string$dbaccessdbaccess
string$schemaNameSchema name (e.g. 'public')
string$tableNameTable name (e.g. 'doc123')
Returns
string[] List of index names for given table

text

Definition at line 69 of file Class.Dcp_Core_PgInformationSchema.php.

+ Here is the call graph for this function:

static tableExists (   $dbaccess,
  $schemaName,
  $tableName 
)
static

Check if a table exists.

Parameters
string$dbaccessdbaccess
string$schemaNameSchema name (e.g. 'public')
string$tableNameTable name (e.g. 'doc123')
Returns
bool bool(true) if table exists in given schema or bool(false) if table does not exists

text

Definition at line 18 of file Class.Dcp_Core_PgInformationSchema.php.

+ Here is the call graph for this function:


The documentation for this class was generated from the following file:
← centre documentaire © anakeen