lib/pg_trunk/core/operation/sql_helpers.rb
# Iterate by sorted operation definitions
# extracted from the database
Iterate by sorted operation definitions
extracted from the database
Iterate by sorted operation definitions extracted from the database
def each(&block)
        return to_enum unless block_given?
        fetch
          .map { |item| new(**item.symbolize_keys) }
          .sort
          .each { |op| block.call(op) }
      end
def each ( & block ) return to_enum unless block_given? fetch . map { | item | new ( ** item . symbolize_keys ) } . sort . each { | op | block . call ( op ) } end
Iterate by sorted operation definitions
extracted from the database
Iterate by sorted operation definitions extracted from the database
block
<not_specific>