Example #1
0
 /**
  * Filter 检索数据时, 构造此字段的查询
  * @param Table $query
  * @return Table
  */
 public function filter(Table $query) : Table
 {
     return $query->whereContains($this->column(), $this->getCurrentValue());
 }