diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/lock.rb | 6 | ||||
-rw-r--r-- | lib/arel/nodes/select_statement.rb | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/arel/nodes/lock.rb b/lib/arel/nodes/lock.rb new file mode 100644 index 0000000000..3c7a72273f --- /dev/null +++ b/lib/arel/nodes/lock.rb @@ -0,0 +1,6 @@ +module Arel + module Nodes + class Lock + end + end +end diff --git a/lib/arel/nodes/select_statement.rb b/lib/arel/nodes/select_statement.rb index b7c59da275..a96c02a545 100644 --- a/lib/arel/nodes/select_statement.rb +++ b/lib/arel/nodes/select_statement.rb @@ -2,12 +2,13 @@ module Arel module Nodes class SelectStatement attr_reader :cores - attr_accessor :limit, :orders + attr_accessor :limit, :orders, :lock def initialize cores = [SelectCore.new] @cores = cores @orders = [] @limit = nil + @lock = nil end def initialize_copy other |