andersao / andersao/l5-repository
How to use the orWhere function (Como utilizar a função orWhere)
Đang mở
- Ngôn ngữ chính
- PHP
- Star
- 4.2k
- Fork
- 880
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Folks, how to use the orWhere function with this lib? I tried this way:
$ Where = [
['name', 'iLike', '%'. $search. '%'],
['code', 'iLike', '%'. $search. '%']
]
In the example above, I want it to search by name or by code, but can not use
==================================================================
Gente, como utilizar a função orWhere com esta lib? Tentei assim:
$where = [
['name', 'iLike', '%'. $search. '%'],
['code', 'iLike', '%'. $search. '%']
]
No exemplo acima, quero que ele busque pelo nome ou pelo código, mas não conseguir utilizar
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.