class Arel::Visitors::PostgreSQL - arel-4.0.2 Documentation

# class Arel::Visitors::PostgreSQL

### Private Instance Methods

visit_Arel_Nodes_DistinctOn(o, a) click to toggle source

    # File lib/arel/visitors/postgresql.rb, line 16
    def visit_Arel_Nodes_DistinctOn o, a
      "DISTINCT ON ( #{visit o.expr, a} )"
    end

visit_Arel_Nodes_DoesNotMatch(o, a) click to toggle source

    # File lib/arel/visitors/postgresql.rb, line 11
    def visit_Arel_Nodes_DoesNotMatch o, a
      a = o.left if Arel::Attributes::Attribute === o.left
      "#{visit o.left, a} NOT ILIKE #{visit o.right, a}"
    end

visit_Arel_Nodes_Matches(o, a) click to toggle source

    # File lib/arel/visitors/postgresql.rb, line 6
    def visit_Arel_Nodes_Matches o, a
      a = o.left if Arel::Attributes::Attribute === o.left
      "#{visit o.left, a} ILIKE #{visit o.right, a}"
    end