💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
基本形式 正整数 1 字符串 ‘user_name’ ‘1,2,3,4,5,6’ 带空格的字符串($half_sql) ‘WHERE `id`=“5”’ ‘LIMIT 10’ 数组 field 要与操作符有空格分隔 array(1, 2, 3, 4, 5, 6) array(‘field1’=>’value1’,‘field2’=>’value2’) array(‘field LIKE’=>’%value%’) array(‘field >=’=> ‘value’) array(‘field’=>array(1,2,3,4,5)) array(‘field1’=>’value1’,‘OR `name`’=>’ninghx’) array(‘(field1’=>’value1’,‘OR field2’=>’value2’, ‘) AND field3’=>’value3’) 高级形式 操作符 AND OR () $filter = [ 'res_id' => time(), 'AND', 'res_type' => time(), 'OR', 'status' => 1, 'name' => 1 ]; $filter = [ '(', 'res_id' => time(), 'AND', 'res_type' => time(), ')', 'status' => 1, 'name' => 1 ]; $filter = [ [ [ 'res_type' => time(), 'OR', 'res_id' => time(), ], 'OR', 'res_type' => time(), ], 'OR', 'status' => 1 ];