module Sequel::Plugins::PreparedStatements::ClassMethods

Public Instance Methods

inherited(subclass) click to toggle source

Setup the datastructure used to hold the prepared statements in the subclass.

# File lib/sequel/plugins/prepared_statements.rb, line 39
def inherited(subclass)
  super
  subclass.instance_variable_set(:@prepared_statements, :insert=>{}, :insert_select=>{}, :update=>{}, :lookup_sql=>{}, :fixed=>{})
end