Skip to content

Commit e63126c

Browse files
committed
Add syntax: and comment: keyword arguments to Emittable#to_sql docs.
1 parent 5717e0b commit e63126c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/ronin/code/sql/emittable.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ def emitter(**kwargs)
5656
# @option kwargs [:single, :double] :quotes (:single)
5757
# Type of quotes to use for Strings.
5858
#
59+
# @option kwargs [nil, :mysql, :postgres, :oracle, :mssql] :syntax
60+
# Specific SQL syntax to use.
61+
#
62+
# @option kwargs [nil, String] :comment
63+
# Optional String to use as the SQL comment when terminating
64+
# injection string
65+
#
5966
# @return [String]
6067
# The raw SQL.
6168
#

0 commit comments

Comments
 (0)