module Sequel::SQLComments

  1. lib/sequel/extensions/sql_comments.rb

Methods

Public Instance

  1. comment

Public Instance methods

comment(comment)

Return a modified copy of the dataset that will use the given comment. To uncomment a commented dataset, pass nil as the argument.

[show source]
   # File lib/sequel/extensions/sql_comments.rb
58 def comment(comment)
59   clone(:comment=>(format_sql_comment(comment) if comment))
60 end