Commit 18cce07a4ba395d8232e5b3d2661162d1e424962

Authored by Andrew Kane
1 parent 0589dc6a

Added note about specific fields

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
README.md
... ... @@ -26,6 +26,9 @@ And to query, use:
26 26  
27 27 ```ruby
28 28 Product.search "2% Milk"
  29 +
  30 +# or search specific fields
  31 +Product.search "Butter", fields: [:name, :brand]
29 32 ```
30 33  
31 34 ### Query Like SQL
... ...