PHP 클래스 phprs\ezsql\impls\WhereImpl

파일 보기 프로젝트 열기: caoym/phprs-restful 1 사용 예제들

공개 메소드들

메소드 설명
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 )

메소드 상세

condition() 공개 정적인 메소드

public static condition ( $context, $prefix, $expr, $args )

conditionArgs() 공개 정적인 메소드

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]]
public static conditionArgs ( $context, $prefix, array $args = [] )
$args array

having() 공개 정적인 메소드

public static having ( $context, $expr, $args )

havingArgs() 공개 정적인 메소드

public static havingArgs ( $context, $args )

where() 공개 정적인 메소드

public static where ( $context, $expr, $args )

whereArgs() 공개 정적인 메소드

public static whereArgs ( $context, $args )