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



40
41
42
43
44
45
46
# File 'lib/active_record/connection_adapters/cockroachdb/arel_tosql.rb', line 40

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