whereIn() 공개 정적인 메소드

Add a "where in" clause to the query.
public static whereIn ( string $column, mixed $values, string $boolean = 'and', boolean $not = false )
$column string
$values mixed
$boolean string
$not boolean
예제 #1
0
파일: BaseModel.php 프로젝트: mnking/june
 /**
  * Get multi store_value in table with mul tistore_key
  *
  * @param $key
  * @return array
  */
 public static function storeMultiGet($key)
 {
     $params = func_get_args();
     return parent::whereIn(self::$storeColumn['key'], $params)->lists(self::$storeColumn['value']);
 }