Class: Arel::Visitors::CockroachDB

Inherits:
PostgreSQL
  • Object
show all
Includes:
RGeo::ActiveRecord::SpatialToSql
Defined in:
lib/active_record/connection_adapters/cockroachdb/arel_tosql.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#visit_Arel_Nodes_JoinSource(o, collector) ⇒ Object



26
27
28
29
30
31
32
# File 'lib/active_record/connection_adapters/cockroachdb/arel_tosql.rb', line 26

def visit_Arel_Nodes_JoinSource(o, collector)
  super
  if o.aost
    collector << " AS OF SYSTEM TIME '#{o.aost.iso8601}'"
  end
  collector
end