DB resource interface
@api
- Since
- 100.0.2
Definition at line 14 of file SetupInterface.php.
◆ endSetup()
Prepares database after install/upgrade
- Returns
- $this
Implemented in Setup.
◆ getConnection()
Gets connection object
- Returns
- \Magento\Framework\DB\Adapter\AdapterInterface
◆ getTable()
Gets table name (validated by db adapter) by table placeholder
- Parameters
-
- Returns
- string
◆ getTablePlaceholder()
getTablePlaceholder |
( |
|
$tableName | ) |
|
Gets table placeholder by table name
- Parameters
-
- Returns
- string
- Since
- 100.1.0
Implemented in Setup.
◆ run()
Runs plain SQL query(ies)
- Parameters
-
- Returns
- $this
Implemented in Setup.
◆ setTable()
setTable |
( |
|
$tableName, |
|
|
|
$realTableName |
|
) |
| |
Adds table placeholder/table name relation
- Parameters
-
string | $tableName | |
string | $realTableName | |
- Returns
- $this
Implemented in Setup.
◆ startSetup()
Prepares database before install/upgrade
- Returns
- $this
Implemented in Setup.
◆ tableExists()
Checks if table exists
- Parameters
-
- Returns
- bool
The documentation for this interface was generated from the following file: