Sha256: 67da754d0849721c844b14aa3ffa2e563393a7d1bbc22acf2a5116e130b28aa4
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module DetermineIfPreparableVisitor attr_reader :preparable def accept(*) @preparable = true super end def visit_Arel_Nodes_In(o, collector) @preparable = false super end def visit_Arel_Nodes_NotIn(o, collector) @preparable = false super end def visit_Arel_Nodes_SqlLiteral(*) @preparable = false super end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-6.0.0.beta1 | lib/active_record/connection_adapters/determine_if_preparable_visitor.rb |