Skip to content
Browse files

Update models.md

  • Loading branch information...
1 parent d474ccc commit 3f405967862ebfcce342b4954ad11956c9cbb9ff @uncletammy uncletammy committed Nov 11, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 models.md
View
7 models.md
@@ -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

0 comments on commit 3f40596

Please sign in to comment.
Something went wrong with that request. Please try again.