From 5e6312e1745dc278ba0a99bf2bc7b78977785d35 Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Sun, 21 May 2017 13:12:08 +0100 Subject: Support INSERT with multiple values --- lib/arel/nodes/values_list.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/arel/nodes/values_list.rb (limited to 'lib/arel/nodes') diff --git a/lib/arel/nodes/values_list.rb b/lib/arel/nodes/values_list.rb new file mode 100644 index 0000000000..b39aaa1465 --- /dev/null +++ b/lib/arel/nodes/values_list.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true +module Arel + module Nodes + class ValuesList < Node + attr_reader :rows + + def initialize(rows) + @rows = rows + super() + end + end + end +end -- cgit v1.2.3