Skip to content

Commit

Permalink
Merge pull request #208 from brekim/fix-readme-typos
Browse files Browse the repository at this point in the history
chore: fix readme typos
  • Loading branch information
guyroyse authored Aug 14, 2023
2 parents 73abb62 + 711b49f commit c3e22fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ So far we've been doing searches that match on a single field. However, we often

```javascript
const albums = await albumRepository.search()
.where('artist').equals('Mushroomhread')
.where('artist').equals('Mushroomhead')
.or('title').matches('butterfly')
.and('year').is.greaterThan(1990).return.all()
```
Expand Down Expand Up @@ -1062,11 +1062,11 @@ RediSearch provides a basic mechanism for sorting your search results and Redis

```javascript
const albumsByYear = await albumRepository.search()
.where('artist').equals('Mushroomhread')
.where('artist').equals('Mushroomhead')
.sortAscending('year').return.all()

const albumsByTitle = await albumRepository.search()
.where('artist').equals('Mushroomhread')
.where('artist').equals('Mushroomhead')
.sortBy('title', 'DESC').return.all()
```

Expand Down

0 comments on commit c3e22fb

Please sign in to comment.