1

在 ADODB PHP 活动记录中,我所有的左连接都打印为空白。


例子:

$umgp = new ADODB_Active_Record('modulesActionsGroupPermissions', 'CliDB');                        
$umgp->TableHasMany('modulesActionsGroupPermissions', 'userGroups');
$umgp->Find('groupID IN (?)',array('1','2'));        
print_r($umgp);
die();

结果打印如下:

DaoMaster Object
(
    [_dbat] => 21
    [_table] => modulesActionsGroupPermissions
    [_tableat] => modulesActionsGroupPermissions
    [_where] => 
    [_saved] => 
    [_lasterr] => 
    [_original] => 
    [foreignName] => daomaster
    [lockMode] =>  for update 
    [groupid] => 
    [actionid] => 
)
4

0 回答 0