$cond['platform_id'] = array('eq', $p['keyword']);
$cond['uid'] = array('eq', $p['keyword']);
$cond['_logic'] = 'or';

 

        $cond = array();
        $cond['_complex1'] = array(
            'dna1' => array('like', '%'.$animals[0].'%'),
            'dna2' => array('like', '%'.$animals[1].'%'),
        );
        $cond['_complex2'] = array(
            'dna1' => array('like', '%'.$animals[1].'%'),
            'dna2' => array('like', '%'.$animals[0].'%'),
        );
        $cond['_logic'] = 'or';
        $conf = $core_combine->where($cond)->find();

 

相关文章:

  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-04-12
  • 2021-12-05
  • 2022-02-19
  • 2021-05-07
  • 2021-04-09
猜你喜欢
  • 2021-06-16
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案