code: function(model, settings, options, cb) {
        var baseQuery, defaultSelect, k, query, v;
        if (settings == null) {
          settings = {};
        }
        if (options == null) {
          options = {};
        }
        if (cb == null) {
          cb = function() {};
        }
        Hoek.assert(model, i18n.assertModuleRequired);
        defaultSelect = settings.defaultSelect || null;
        baseQuery = settings.baseQuery || {};
        if (_.isFunction(options)) {
          cb = options;
          options = {};
        }
        options.where || (options.where = {});
        options.select || (options.select = defaultSelect);
        for (k in baseQuery) {
          v = baseQuery[k];
          options.where[k] = v;
        }
        query = model.findOne(options.where);
        if (options.select && options.select.length > 0) {
          query = query.select(options.select);
        }
        return query.exec(cb);
      }
docs: /*
  Returns a single object base on query