\JCORE\DATA\API\POSTGRESPOSTGRES_TABLE_META

Class POSTGRES_TABLE_META

Summary

Methods
Properties
Constants
__construct()
flushData()
getDbType()
initialize()
getTableProperties()
getPrimaryKeyField()
$tableName
$DSN
$tableProperties
$connectionObject
No constants found
No protected methods found
No protected properties found
N/A
validateConnectionObject()
setProperties()
$dbType
N/A

Properties

$tableName

$tableName : string

tableName

Type

string

$DSN

$DSN : string

Data Source Name

Type

string

$tableProperties

$tableProperties : string

tableProperties

Type

string

$connectionObject

$connectionObject : string

connectionObject

Type

string

$dbType

$dbType : string

dbType

Type

string

Methods

__construct()

__construct() : NULL

Constructor

Returns

NULL

flushData()

flushData() : NULL

DESCRIPTOR: unsets internal properties

Returns

NULL

getDbType()

getDbType() : string

DESCRIPTOR: Get the "private" dbType

Returns

string —

$dbType

initialize()

initialize(String  $DSN, String  $tableName, mixed  $connectionObject = NULL) : NULL

DESCRIPTOR: IE: Stores meta data for table in a traversable form

Parameters

String $DSN
String $tableName
mixed $connectionObject

Returns

NULL

getTableProperties()

getTableProperties(mixed  $data = NULL) : NULL

DESCRIPTOR: getTableProperties

Parameters

mixed $data

Returns

NULL

getPrimaryKeyField()

getPrimaryKeyField(mixed  $data = NULL) : NULL

DESCRIPTOR: gets the primary key from the data set in "tableProperties"

Parameters

mixed $data

Returns

NULL

validateConnectionObject()

validateConnectionObject(  $connectionObject = NULL) : boolean

DESCRIPTOR: check if the DB connection is valid to what we want to do

Parameters

$connectionObject

Returns

boolean —

$valid

setProperties()

setProperties(mixed  $data = NULL) : NULL

DESCRIPTOR: setProperties

Parameters

mixed $data

Returns

NULL