code: function matchDottedObject(doc, query) {
  	var queryKey;
  	if (query === true) return doc === true;
  	if (isScalar(query) || isScalar(doc)) return deepEquals(query, doc);
  	for (queryKey in query) {
  		if (!deepEquals(doc[queryKey], query[queryKey])) {
  			return false;
  		}
  	}
  	return true;
  }
docs: Returns whether or not the given query fields (in dotted notation) match the document
  (also in dotted notation).  The "queries" here are simple equality matches.
  
  @method matchDottedObject
  @static
  @param {Object} doc - The document to test
  @param {Object} query - A one-layer-deep set of key/values to check doc for
  @return {Boolean} - Whether or not the doc matches