Sha256: 11cf5d4a158c245587782a72631b9a507beb3809cafe549cd51dbcc5bc9dc5cb

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

# This file holds empty methods that can be
# overridden to provide callback behavior.

module Sequel
  class Dataset
    private
    # This is run inside .all, after all
    # of the records have been loaded
    # via .each, but before any block passed
    # to all is called.  It is called with
    # a single argument, an array of all
    # returned records.
    def post_load(all_records)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sequel_core-2.0.1 lib/sequel_core/dataset/callback.rb
sequel_core-2.0.0 lib/sequel_core/dataset/callback.rb