Method: Origin::Optional#comment
- Defined in:
- lib/origin/optional.rb
#comment(comment = nil) ⇒ Optional
Note:
Set profilingLevel to 2 and the comment will be logged in the profile collection along with the query.
Associate a comment with the query.
283 284 285 286 287 |
# File 'lib/origin/optional.rb', line 283 def comment(comment = nil) clone.tap do |query| query..store(:comment, comment) end end |