Sha256: e3811529afec56f888cb69b14d0a4ce0af7ec7348e3ea40ca76daeb7302236d4
Contents?: true
Size: 281 Bytes
Versions: 1
Compression:
Stored size: 281 Bytes
Contents
module Sqlserver module Sequence module Strategies module NextValueFor def next_sequence_value(sequence_name) self.class.connection.select_value( "select next value for #{sequence_name}" ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sqlserver-sequence-0.3.0 | lib/sqlserver/sequence/strategies/next_value_for.rb |