Skip to content

Commit

Permalink
Fixes example.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Nov 3, 2019
1 parent 28bca45 commit b726882
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ return $searchable->apply($query)->get();
```sql
select * from `users`
where (
`name` like 'crynobone%gmail'
) or (
`email` like 'crynobone%gmail'
(
`name` like 'crynobone%gmail'
) or (
`email` like 'crynobone%gmail'
)
);
```

Expand All @@ -133,7 +135,9 @@ return $searchable->apply($query)->get();
```sql
select * from `users`
where (
lower(`address`->'$.country') like 'malaysia'
(
lower(`address`->'$.country') like 'malaysia'
)
)
```

Expand Down

0 comments on commit b726882

Please sign in to comment.