module Sequel::SQLComments
Public Instance Methods
comment(comment)
click to toggle source
Return a modified copy of the dataset that will use the given comment. To uncomment a commented dataset, pass nil as the argument.
# File lib/sequel/extensions/sql_comments.rb 98 def comment(comment) 99 clone(:comment=>(format_sql_comment(comment) if comment)) 100 end