module Sequel::Plugins::SqlComments::ClassMethods

  1. lib/sequel/plugins/sql_comments.rb

Public Instance methods

sql_comments_class_methods(*meths)

Use automatic SQL comments for the given class methods.

[show source]
   # File lib/sequel/plugins/sql_comments.rb
76 def sql_comments_class_methods(*meths)
77   _sql_comments_methods(singleton_class, :class, meths)
78 end
sql_comments_dataset_methods(*meths)

Use automatic SQL comments for the given dataset methods.

[show source]
   # File lib/sequel/plugins/sql_comments.rb
86 def sql_comments_dataset_methods(*meths)
87   unless @_sql_comments_dataset_module
88     dataset_module(@_sql_comments_dataset_module = Module.new)
89   end
90   _sql_comments_methods(@_sql_comments_dataset_module, :dataset, meths)
91 end
sql_comments_instance_methods(*meths)

Use automatic SQL comments for the given instance methods.

[show source]
   # File lib/sequel/plugins/sql_comments.rb
81 def sql_comments_instance_methods(*meths)
82   _sql_comments_methods(self, :instance, meths)
83 end