andersao / andersao/l5-repository

How to use the orWhere function (Como utilizar a função orWhere)

Đang mở
#387 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.