aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/sql/relations/writes.rb
blob: 4ed817f85d080c6fcd0329d9ee32f852bcb05356 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Arel
  class Deletion < Compound
    def to_sql
      compiler.delete_sql
    end
  end

  class Insert < Compound
    def to_sql(include_returning = true)
      compiler.insert_sql(include_returning)
    end
  end

  class Update < Compound
    def to_sql
      compiler.update_sql
    end
  end
end