active_record_distinct_on 1.6.0
ActiveRecordDistinctOn adds support for `DISTINCT ON` to ActiveRecord. At the time of this writing, PostgreSQL is the only database which supports this syntax; however, this gem has been written with database independence in mind so that if another Arel visitor adds support for `Arel::Nodes::DistinctOn` in the future, it should work seamlessly.
Gemfile:
=
安装:
=
Runtime 依赖 (1):
activerecord
>= 6.1, < 7.2