Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diffrent from previous: Old: ``` $this->userRepository->pushCriteria(new FuzzySearch('Jack', [ 'name', 'pinyin' ])); $this->userRepository->pushCriteria(new AttributeSearch(['city' => '北京'])); // sql executed: select * from `users` where `name` LIKE "%Jack%" OR `pinyin` LIKE "%%Jack" AND `city` = " 北京"; ``` New ``` $this->userRepository->pushCriteria(new FuzzySearch('Jack', [ 'name', 'pinyin' ])); $this->userRepository->pushCriteria(new AttributeSearch(['city' => '北京'])); // sql executed: select * from `users` where (`name` LIKE "%Jack%" OR `pinyin` LIKE "%%Jack") AND `city` = " 北京"; ```
- Loading branch information