class PostgreReflector implements Reflector

The reflector for PostgreSQL database.

Methods

__construct(Driver $driver, string $version)

No description

array
getTables()

Returns list of tables.

array
getColumns(string $table)

Returns metadata for all columns in a table.

array
getIndexes(string $table)

Returns metadata for all indexes in a table.

array
getForeignKeys(string $table)

Returns metadata for all foreign keys in a table.

Details

at line 27
__construct(Driver $driver, string $version)

No description

Parameters

Driver $driver
string $version

at line 37
array getTables()

Returns list of tables.

Return Value

array

of {name [, (bool) view ]}

at line 75
array getColumns(string $table)

Returns metadata for all columns in a table.

Parameters

string $table

Return Value

array

of {name, nativetype [, table, fullname, (int) size, (bool) nullable, (mixed) default, (bool) autoincrement, (array) vendor ]}

at line 141
array getIndexes(string $table)

Returns metadata for all indexes in a table.

Parameters

string $table

Return Value

array

of {name, (array of names) columns [, (bool) unique, (bool) primary ]}

at line 191
array getForeignKeys(string $table)

Returns metadata for all foreign keys in a table.

Parameters

string $table

Return Value

array

Traits

Better OOP experience.