Sha256: 6a1c5224f94d02a86e57c91b248bebc6e3ed93128c232192bf3f795f949efc2c
Contents?: true
Size: 194 Bytes
Versions: 3
Compression:
Stored size: 194 Bytes
Contents
module Arel class Lock < Compound attr_reader :locked def initialize(relation, locked) super(relation) @locked = true == locked ? " FOR UPDATE" : locked end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
arel-1.0.1 | lib/arel/algebra/relations/operations/lock.rb |
arel-1.0.0 | lib/arel/algebra/relations/operations/lock.rb |
arel-1.0.0.rc1 | lib/arel/algebra/relations/operations/lock.rb |