Метод | Описание | |
---|---|---|
condition ( $context, $prefix, $expr, $args ) | ||
conditionArgs ( $context, $prefix, array $args = [] ) | find like Mongodb query glossary whereArray( [ 'id'=>['>'=>1], 'name'=>'cym', ] ) 支持的操作符有 = 'id'=>['=' => 1] > 'id'=>['>' => 1] < 'id'=>['<' => 1] <> 'id'=>['<>' => 1] >= 'id'=>['>=' => 1] <= 'id'=>['<=' => 1] BETWEEN 'id'=>['BETWEEN' => [1 ,2]] LIKE 'id'=>['LIKE' => '1%'] IN 'id'=>['IN' => [1,2,3]] NOT IN 'id'=>['NOT IN' => [1,2,3]] | |
having ( $context, $expr, $args ) | ||
havingArgs ( $context, $args ) | ||
where ( $context, $expr, $args ) | ||
whereArgs ( $context, $args ) |
Метод | Описание | |
---|---|---|
findQ ( $str, $offset, $no ) |
public static conditionArgs ( $context, $prefix, array $args = [] ) | ||
$args | array |