Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getIdxName ( $tableName, $fields, $indexType='', $connectionName=ResourceConnection::DEFAULT_CONNECTION) | |
getFkName ( $priTableName, $priColumnName, $refTableName, $refColumnName, $connectionName=ResourceConnection::DEFAULT_CONNECTION) | |
![]() | |
__construct (\Magento\Framework\App\ResourceConnection $resource, $connectionName=ModuleDataSetupInterface::DEFAULT_SETUP_CONNECTION) | |
getConnection ($connectionName=null) | |
setTable ($tableName, $realTableName) | |
getTablePlaceholder ($tableName) | |
getTable ($tableName, $connectionName=ResourceConnection::DEFAULT_CONNECTION) | |
tableExists ($table, $connectionName=ResourceConnection::DEFAULT_CONNECTION) | |
run ($sql) | |
startSetup () | |
endSetup () | |
![]() | |
getConnection () | |
getTable ($tableName) | |
tableExists ($table) | |
![]() | |
getIdxName ($tableName, $fields, $indexType='') | |
getFkName ($priTableName, $priColumnName, $refTableName, $refColumnName) | |
getFkName | ( | $priTableName, | |
$priColumnName, | |||
$refTableName, | |||
$refColumnName, | |||
$connectionName = ResourceConnection::DEFAULT_CONNECTION |
|||
) |
Retrieve 32bit UNIQUE HASH for a Table foreign key
string | $priTableName | the target table name |
string | $priColumnName | the target table column name |
string | $refTableName | the reference table name |
string | $refColumnName | the reference table column name |
string | $connectionName |
Definition at line 44 of file Setup.php.
getIdxName | ( | $tableName, | |
$fields, | |||
$indexType = '' , |
|||
$connectionName = ResourceConnection::DEFAULT_CONNECTION |
|||
) |
Retrieve 32bit UNIQUE HASH for a Table index
string | $tableName | |
array | string | $fields | |
string | $indexType | |
string | $connectionName |
Definition at line 25 of file Setup.php.