Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Update models.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uncletammy committed Nov 11, 2013
1 parent d474ccc commit 3f40596
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions models.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,10 @@ User.find({
// Search-as-you-type input field which checks multiple attributes
User.find({
or: [
name: { startsWith: 'thelas' },
email: { startsWith: 'thelas' }
]
{ name: { startsWith: 'thelas' }},
{ email: { startsWith: 'thelas' }}
]

}, cb);

// Keyword search
Expand Down

0 comments on commit 3f40596

Please sign in to comment.