deep_pluck icon indicating copy to clipboard operation
deep_pluck copied to clipboard

Allow you to pluck attributes from nested associations without loading a bunch of records.

Results 5 deep_pluck issues
Sort by recently updated
recently updated
newest added

GraphQL generally works in a way that you can query exactly the fields (columns) that you want from the database like this: ```graphql { users { name posts { title...

Happy to see if we can support Mongoid in the future. Actually I can do it if I have some suggestions for the head start.

可否支援 deep_pluck 出 model 裡面序列化的欄位? ```ruby e.g class User < ActiveRecord::Base serialize :preferences, Hash end # in controller User.where(id: 1).deep_pluck(preferences: [:food, :car]) ```

Can there be a patch to support eager loading via .includes and .references so that N+1 conditions don't occur as long as the data was eager loaded?

Hi, I am trying to upgrade my application to Rails 7.2, but when I use `deep_pluck` with association - I am getting the following error: ``` /Users/yosi/.rvm/gems/ruby-3.3.4/gems/activerecord-7.2.0/lib/active_record/reflection.rb:123:in `reflect_on_association': undefined method...