ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
* 关联视图案例 ( LEFT JOIN ) ~~~ $field = []; $obj = []; $obj['id'] = 'id'; $obj['field1'] = 'field1'; $field['table1'] = [$obj,'id']; $obj = []; $obj['field2'] = 'field2'; $field['table2'] = [$obj,'id']; $back = $D_P->view("view_name",$field,2); $back = $D_P->view("view_name",$field,2,['echo'=>1]); ~~~ > 注 :字段名称不能重复,可用每组1的值定义判断字段名