PgSQLTypes Class Reference

Inherits CreoleTypes.

List of all members.

Static Public Member Functions


Member Function Documentation

PgSQLTypes::getType ( $ pgsqlType ) [static, virtual]

 

This method returns the generic Creole (JDBC-like) type when given the native db type.
Parameters
string $nativeType DB native type (e.g. 'TEXT', 'byetea', etc.).

Returns int Creole native type (e.g. Types::LONGVARCHAR, Types::BINARY, etc.).

Implements CreoleTypes.

PgSQLTypes::getNativeType ( $ creoleType ) [static, virtual]

 

This method will return a native type that corresponds to the specified Creole (JDBC-like) type. If there is more than one matching native type, then the LAST defined native type will be returned.
Returns string Native type string.

Implements CreoleTypes.


This file is part of the Creole[php5] library.


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS