📜  加入 cakphp 代码示例

📅  最后修改于: 2022-03-11 14:54:47.853000             🧑  作者: Mango

代码示例1
'joins' => array(
        array(
            'table' => Environment::read('table_prefix') . 'image_type_languages', 
            'alias' => 'language',
            'type' => 'INNER',
            'conditions'=> array(
                'ImageType.id = language.image_type_id',
                'language.alias = \'' . $language . '\'',
            )
        ),
    ),