var where = require("./where.js")

module.exports = findWhere

function findWhere(obj, attrs) {
    return where(obj, attrs, true)
}

var find = require("./find.js")
var matches = require("./matches.js")

module.exports = findWhere

function findWhere(obj, attrs) {
    return find(obj, matches(attrs))
}

update find-where function