module Sequel::Dataset::QueryBlockCopy

Module used by Sequel::Dataset#query that has the effect of making all dataset methods into !-style methods that modify the receiver.

Public Instance Methods

clone(opts = {}) click to toggle source

Merge the given options into the receiver's options and return the receiver instead of cloning the receiver.

# File lib/sequel/extensions/query.rb, line 52
def clone(opts = {})
  @opts.merge!(opts)
  self
end