ISchemaWrapper¶
-
interface
OCP\DB\ISchemaWrapper¶ - Interface ISchemaWrapper
Implemented by: OC\DB\SchemaWrapperSource: lib/public/DB/ISchemaWrapper.php#31
Methods¶
-
public
OCP\DB\ISchemaWrapper::getTable($tableName)¶ Source: Parameters: - $tableName (string)
Returns: \Doctrine\DBAL\Schema\TableThrows: \Doctrine\DBAL\Schema\SchemaExceptionSince: 13.0.0
-
public
OCP\DB\ISchemaWrapper::hasTable($tableName)¶ - Does this schema have a table with the given name?
Source: Parameters: - $tableName (string) Prefix is automatically prepended
Returns: bool
Since: 13.0.0
-
public
OCP\DB\ISchemaWrapper::createTable($tableName)¶ - Creates a new table.
Source: Parameters: - $tableName (string) Prefix is automatically prepended
Returns: \Doctrine\DBAL\Schema\TableSince: 13.0.0
-
public
OCP\DB\ISchemaWrapper::dropTable($tableName)¶ - Drops a table from the schema.
Source: Parameters: - $tableName (string) Prefix is automatically prepended
Returns: \Doctrine\DBAL\Schema\SchemaSince: 13.0.0
-
public
OCP\DB\ISchemaWrapper::getTables()¶ - Gets all tables of this schema.
Source: lib/public/DB/ISchemaWrapper.php#76 Returns: \Doctrine\DBAL\Schema\Table[]Since: 13.0.0
-
public
OCP\DB\ISchemaWrapper::getTableNames()¶ - Gets all table names, prefixed with table prefix
Source: lib/public/DB/ISchemaWrapper.php#84 Returns: array Since: 13.0.0
-
public
OCP\DB\ISchemaWrapper::getTableNamesWithoutPrefix()¶ - Gets all table names
Source: lib/public/DB/ISchemaWrapper.php#92 Returns: array Since: 13.0.0