메소드 | 설명 | |
---|---|---|
findTableNames ( string $schema = '' ) : array | Returns all table names in the database. | |
quoteColumnAlias ( string $name ) : string | Quotes a column alias for use in a query. | |
quoteColumnName ( string $name ) : string | Quotes a column name for use in a query. | |
quoteTableName ( string $name ) : string | Quotes a table name for use in a query. |
메소드 | 설명 | |
---|---|---|
createTableInfo ( $tableName ) : TPgsqlTableInfo | Get the column definitions for given table. | |
getForeignKeys ( $table ) : array | ||
getIsView ( $tableName ) : boolean | ||
getTableInfoClass ( ) : string | ||
isForeignKeyColumn ( $columnId, $foreign ) : boolean | ||
processColumn ( $col, $foreign ) : |
protected createTableInfo ( $tableName ) : TPgsqlTableInfo | ||
리턴 | TPgsqlTableInfo | table information. |
public findTableNames ( string $schema = '' ) : array | ||
$schema | string | the schema of the tables. This is not used for sqlite database. |
리턴 | array | all table names in the database. |
protected getTableInfoClass ( ) : string | ||
리턴 | string | TDbTableInfo class name. |
protected isForeignKeyColumn ( $columnId, $foreign ) : boolean | ||
리턴 | boolean | true if column is a foreign key. |
protected processColumn ( $col, $foreign ) : |
||
리턴 | column details. |
public quoteColumnAlias ( string $name ) : string | ||
$name | string | column alias |
리턴 | string | the properly quoted column alias |
public quoteColumnName ( string $name ) : string | ||
$name | string | column name |
리턴 | string | the properly quoted column name |
public quoteTableName ( string $name ) : string | ||
$name | string | table name |
리턴 | string | the properly quoted table name |