class PGTrunk::Operations::Sequences::Base
@abstract @private Base
class for operations with sequences
Public Instance Methods
owned_by(table, column)
click to toggle source
# File lib/pg_trunk/operations/sequences/base.rb, line 18 def owned_by(table, column) self.table = table self.column = column end
Private Instance Methods
custom_start?()
click to toggle source
# File lib/pg_trunk/operations/sequences/base.rb, line 75 def custom_start? increment_by&.<(0) ? start_with&.!=(max_value) : start_with&.!=(min_value) end