Doctrine


Doctrine\DBAL\Schema\PostgreSqlSchemaManager
/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php at line 34

Class PostgreSqlSchemaManager

Class:PostgreSqlSchemaManager - Superclass: AbstractSchemaManager
AbstractSchemaManager
⌊ PostgreSqlSchemaManager

public class PostgreSqlSchemaManager
extends AbstractSchemaManager

xxx

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
Author:
Konsta Vesterinen
Lukas Smith (PEAR MDB2 library)
Benjamin Eberlei
Version:
$Revision$
Since:
2.0

Fields inherited from Doctrine\DBAL\Schema\AbstractSchemaManager
_conn, _platform
Method Summary
void

createDatabase(string database)

Creates a new database.

void

dropDatabase(string database)

Drops a database.

Methods inherited from Doctrine\DBAL\Schema\AbstractSchemaManager
alterTable, createConstraint, createDatabase, createForeignKey, createIndex, createSchema, createSchemaConfig, createSequence, createTable, createView, dropAndCreateConstraint, dropAndCreateDatabase, dropAndCreateForeignKey, dropAndCreateIndex, dropAndCreateSequence, dropAndCreateTable, dropAndCreateView, dropConstraint, dropDatabase, dropForeignKey, dropIndex, dropSequence, dropTable, dropView, getDatabasePlatform, listDatabases, listSequences, listTableColumns, listTableDetails, listTableForeignKeys, listTableIndexes, listTableNames, listTables, listViews, renameTable, tryMethod

Method Detail

/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php at line 76

createDatabase

public void createDatabase(string database)

Creates a new database.

Parameters:
database - The name of the database to create.

/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php at line 60

dropDatabase

public void dropDatabase(string database)

Drops a database.

NOTE: You can not drop the database this SchemaManager is currently connected to.

Parameters:
database - The name of the database to drop

Doctrine