Skip to content

Commit

Permalink
README: becasue cat-dog hybrids are very hard to find [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Jun 15, 2015
1 parent c8830ad commit 5e886f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ feed it with bunch of field and search terms to see how it works:
<Q: type:animal AND species:dog>

>>> # ohh, forgot about cats?
>>> query & Q(type="animal", species="cat")
<Q: (type:animal AND species:dog) AND (type:animal AND species:cat)>
>>> query | Q(type="animal", species="cat")
<Q: (type:animal AND species:dog) OR (type:animal AND species:cat)>

>>># more a cat lover? Let's give them a boost boost
>>> Q(type="animal") & (Q(species="cat")^2 | Q(species="dog"))
Expand Down

0 comments on commit 5e886f7

Please sign in to comment.