Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created November 13, 2012 17:57
Show Gist options
  • Select an option

  • Save PharkMillups/4067316 to your computer and use it in GitHub Desktop.

Select an option

Save PharkMillups/4067316 to your computer and use it in GitHub Desktop.

Revisions

  1. Mark Phillips revised this gist Nov 13, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    $ db.search.add('airlines', {id: 'Lufthansa', country: 'DE'});
    db.search.add('airlines', {id: 'Lufthansa', country: 'DE'});

    $ db.search.find('airlines', 'country:DE');
    db.search.find('airlines', 'country:DE');
  2. Mark Phillips created this gist Nov 13, 2012.
    3 changes: 3 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    $ db.search.add('airlines', {id: 'Lufthansa', country: 'DE'});

    $ db.search.find('airlines', 'country:DE');