Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
db
Connection
getMasterPdo
yii\db\Connection::getMasterPdo PHP Method
Connection Class Documentation
ファイルを表示
Open project: yiisoft/yii2
getMasterPdo()
public
method
This method will open the master DB connection and then return [[pdo]].
public
getMasterPdo
( ) :
PDO
return
PDO
the PDO instance for the currently active master connection.
public function getMasterPdo() { $this->open(); return $this->pdo; }
Connection
__sleep
beginTransaction
cache
close
createCommand
createPdoInstance
getDriverName
getIsActive
getLastInsertID
getMasterPdo
getQueryBuilder
getQueryCacheInfo
getSchema
getSlave
getSlavePdo
getTableSchema
getTransaction
initConnection
noCache
open
openFromPool
quoteColumnName
quoteSql
quoteTableName
quoteValue
setDriverName
transaction
useMaster