criteria = { event_id: '5ea92da4a5522a080614d29f', event_campaign_optin: true, label_ids: ['6048a3c4b3d10c003c14b22e'], :id.in => %w[ 60377e2172fcdc005b32e9ff 5efdaeafa62e5400233657a0 5efca695f820c7144e46ffda 5ee0cebdb28593001c8bfaf2 5ed65cd396f090255d089b77 ] } ap Guest.where(criteria).map{|guest| guest.attributes.slice(:_id, :label_ids, :event_id, :event_campaign_optin)} [ [0] { "_id" => BSON::ObjectId('60377e2172fcdc005b32e9ff'), "label_ids" => [ [0] BSON::ObjectId('6048a3c4b3d10c003c14b22e') ], "event_id" => BSON::ObjectId('5ea92da4a5522a080614d29f'), "event_campaign_optin" => true }, [1] { "_id" => BSON::ObjectId('5efdaeafa62e5400233657a0'), "label_ids" => [ [0] BSON::ObjectId('6048a3c4b3d10c003c14b22e') ], "event_id" => BSON::ObjectId('5ea92da4a5522a080614d29f'), "event_campaign_optin" => true }, [2] { "_id" => BSON::ObjectId('5efca695f820c7144e46ffda'), "label_ids" => [ [0] BSON::ObjectId('6048a3c4b3d10c003c14b22e') ], "event_id" => BSON::ObjectId('5ea92da4a5522a080614d29f'), "event_campaign_optin" => true }, [3] { "_id" => BSON::ObjectId('5ee0cebdb28593001c8bfaf2'), "label_ids" => [ [0] BSON::ObjectId('6048a3c4b3d10c003c14b22e') ], "event_id" => BSON::ObjectId('5ea92da4a5522a080614d29f'), "event_campaign_optin" => true }, [4] { "_id" => BSON::ObjectId('5ed65cd396f090255d089b77'), "label_ids" => [ [0] BSON::ObjectId('6048a3c4b3d10c003c14b22e') ], "event_id" => BSON::ObjectId('5ea92da4a5522a080614d29f'), "event_campaign_optin" => true } ]