Open plentz opened 5 years ago
Intercept Arel querys to allow query specific indexes. Maybe something like this:
LolDba.suggest_index do Customer.where(name: 'Diego') end
And we suggest an index on name
name
related: https://github.com/rails/rails/tree/master/activerecord/lib/arel
Intercept Arel querys to allow query specific indexes. Maybe something like this:
And we suggest an index on
name
related: https://github.com/rails/rails/tree/master/activerecord/lib/arel