I need to select users with dogs (pets with type equal \'dog\')
type
var User = Waterline.Collection.extend({ identity: \'user\', attributes: {
Did you try this?
User.find().populate('pets', { where: { type: 'dog' } }).exec(err, users)...