Class: TableSaw::Queries::PreparedInsertStatement
- Inherits:
-
Object
- Object
- TableSaw::Queries::PreparedInsertStatement
- Defined in:
- lib/table_saw/queries/prepared_insert_statement.rb
Defined Under Namespace
Classes: Statement
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_name.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(table_name, options: {}) ⇒ PreparedInsertStatement
constructor
A new instance of PreparedInsertStatement.
Constructor Details
#initialize(table_name, options: {}) ⇒ PreparedInsertStatement
Returns a new instance of PreparedInsertStatement.
10 11 12 13 |
# File 'lib/table_saw/queries/prepared_insert_statement.rb', line 10 def initialize(table_name, options: {}) @table_name = table_name @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/table_saw/queries/prepared_insert_statement.rb', line 6 def @options end |
#table_name ⇒ Object (readonly)
Returns the value of attribute table_name.
6 7 8 |
# File 'lib/table_saw/queries/prepared_insert_statement.rb', line 6 def table_name @table_name end |