RubyGems Navigation menu

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.6.0 - January 19, 2024 (5.5 KB)
  2. 1.5.0 - May 12, 2023 (5.5 KB)
  3. 1.4.0 - April 28, 2022 (5 KB)
  4. 1.3.0 - January 10, 2022 (5 KB)
  5. 1.2.0 - November 16, 2021 (5 KB)
Show all versions (15 total)

Runtime Dependencies (1):

activerecord >= 6.1, < 7.2

Development Dependencies (8):

appraisal >= 0
bundler >= 0
pg >= 0
pry >= 0
rake >= 12.3.3
rspec >= 0
simplecov >= 0
sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • Alec Larsen

SHA 256 checksum:

fca6b290a7202f887b1840b265db7f5fd19c935d4ec3b2aac7ca9cdc68bdb9ad

Total downloads 408,922

For this version 13,354

License:

MIT

Required Ruby Version: >= 0

Links: