code: function (query, callback) {
          if (!callback) {
            return;
          }
  
          var todos = data.todos;
  
          callback.call(undefined, todos.filter(function (todo) {
            for (var q in query) {
              if (query[q] !== todo[q]) {
                return false;
              }
            }
            return true;
          }));
        }
docs: Finds items based on a query given as a JS object
  
  @param {object} query The query to match against (i.e. {foo: 'bar'})
  @param {function} callback	 The callback to fire when the query has
  completed running
  
  @example
  db.find({foo: 'bar', hello: 'world'}, function (data) {
  // data will return any items that have foo: bar and
  // hello: world in their properties
  });