Sha256: f7f9133a03413321793c4f2a68682b0e28924ee94f3f93b912a5f62fd67482a2
Contents?: true
Size: 208 Bytes
Versions: 1
Compression:
Stored size: 208 Bytes
Contents
module Sqlserver module Sequence module Strategies module Simple def next_sequence_value(sequence_name) self.class.maximum(:id).to_i.next 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/simple.rb |