当前位置: 首页 > 工具软件 > Propel > 使用案例 >

php propel,propel.php

邹桐
2023-12-01

return [

'propel' => [

'database' => [

'connections' => [

'mysource' => [

'adapter' => 'mysql',

'classname' => 'Propel\Runtime\Connection\DebugPDO',

'dsn' => 'mysql:host=localhost;dbname=mydb',

'user' => 'root',

'password' => '',

'attributes' => []

],

'yoursource' => [

'adapter' => 'mysql',

'classname' => 'Propel\Runtime\Connection\DebugPDO',

'dsn' => 'mysql:host=localhost;dbname=yourdb',

'user' => 'root',

'password' => '',

'attributes' => []

]

]

],

'runtime' => [

'defaultConnection' => 'mysource',

'connections' => ['mysource', 'yoursource']

],

'generator' => [

'defaultConnection' => 'yoursource',

'connections' => ['yoursource']

]

]

];

一键复制

编辑

Web IDE

原始数据

按行查看

历史

 类似资料:

相关阅读

相关文章

相关问答