## Class TSqliteMetaDataInspector

Description

Table meta data inspector for Sqlite database.

- since: 3.1
- version: $Id: TSqliteMetaDataInspector.php 1545 2006-12-03 22:26:04Z wei $
- author: Wei Zhuo <weizho[at]gmail[dot]com>

Located in /Data/ActiveRecord/Vendor/TSqliteMetaDataInspector.php (line 25)

    TDbMetaDataInspector
       |
       --TSqliteMetaDataInspector

Method Summary
TDbMetaData createMetaData (string $table, array $columns, array $primary, array $foreign)
array getColumnDefinitions (string $table)
TPgsqlColumnMetaData getColumnMetaData (array $col)
void getConstraintKeys (mixed $table)
Methods
createMetaData (line 35)

Create a new instance of meta data.

- return: table meta data.
- access: protected

TDbMetaData createMetaData (string $table, array $columns, array $primary, array $foreign)

- string $table: table name
- array $columns: column meta data
- array $primary: primary key meta data
- array $foreign: foreign key meta data.

Redefinition of:

TDbMetaDataInspector::createMetaData()
  Create a new instance of meta data.

getColumnDefinitions (line 49)

Get the column definitions for given table.

- return: column name value pairs of column meta data.
- access: protected

array getColumnDefinitions (string $table)

- string $table: table name.

Redefinition of:

TDbMetaDataInspector::getColumnDefinitions()
  Get the column definitions for given table.

getColumnMetaData (line 67)

Returns the column details.

- return: column meta data.
- access: protected

TPgsqlColumnMetaData getColumnMetaData (array $col)

- array $col: column details.

getConstraintKeys (line 82)

Not implemented, sqlite does not have foreign key constraints.

- access: protected

void getConstraintKeys (mixed $table)

Redefinition of:

TDbMetaDataInspector::getConstraintKeys()
  Gets the primary and foreign key details for the given table.

#### Inherited Methods

Inherited From TDbMetaDataInspector

> TDbMetaDataInspector::__construct()
> TDbMetaDataInspector::createMetaData()
> TDbMetaDataInspector::getColumnDefinitions()
> TDbMetaDataInspector::getConstraintKeys()
> TDbMetaDataInspector::getDbConnection()
> TDbMetaDataInspector::getTableMetaData()
> TDbMetaDataInspector::setDbConnection()

Documentation generated on Sun, 14 Jan 2007 21:44:22 -0500 by phpDocumentor 1.3.0RC4