Module | Sequel::Dataset::ArgumentMapper |
In: |
lib/sequel/dataset/prepared_statements.rb
lib/sequel/adapters/sqlite.rb |
SQLite already supports named bind arguments, so use directly.
bind_arguments | [RW] | The bind arguments to use for running this prepared statement |
prepared_statement_name | [RW] | The name of the prepared statement, if any. |
Override the given *_sql method based on the type, and cache the result of the sql.
# File lib/sequel/dataset/prepared_statements.rb, line 60 60: def prepared_sql 61: return @prepared_sql if @prepared_sql 62: @prepared_args ||= [] 63: @prepared_sql = super 64: @opts[:sql] = @prepared_sql 65: @prepared_sql 66: end