Sha256: 61f107ffec126960e2e1005e714f78932fee0467a7b0ddfea1dd3cec84cd5925
Contents?: true
Size: 402 Bytes
Versions: 103
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true module Renalware module HD # Targets a Postgres view # TODO: Write tests inc the ordering of data (parent then child) in the view. class GroupedTransmissionLog < ApplicationRecord scope :for_uuid, ->(uuid) { where(uuid: uuid) } scope :incoming, -> { where(direction: :in) } scope :outgoing, -> { where(direction: :out) } end end end
Version data entries
103 entries across 103 versions & 1 rubygems