RubyGems Navigation menu

active_record_distinct_on 0.1.1

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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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)
  6. 0.1.1 - August 30, 2016 (5 KB)
Mostrar todas las versiones (15 total)

dependencias de Runtime (3):

activerecord > 4.2.1
activesupport > 4.2.1
arel > 2.1.0

dependencias de Development (5):

bundler ~> 1.10
pry >= 0
rake ~> 10.0
rspec >= 0

Propietarios:

Autores:

  • Alec Larsen

SHA 256 checksum:

= Copiar al portapapeles ¡Copiado!

Total de descargas 432.922

Para esta versión 2.449

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: