instance method internal_build_intent

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

internal_build_intent(sql, name = "SQL", binds = [], prepare: false, allow_retry: false, materialize_transactions: true, &block)

No documentation comment.

Parameters

sql req
name opt = "SQL"
binds opt = []
prepare key = false
allow_retry key = false
materialize_transactions key = true
block block
Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 860
        def internal_build_intent(sql, name = "SQL", binds = [], prepare: false, allow_retry: false, materialize_transactions: true, &block)
          QueryIntent.new(
            adapter: self,
            raw_sql: sql,
            name: name,
            binds: binds,
            prepare: prepare,
            allow_retry: allow_retry,
            materialize_transactions: materialize_transactions
          )
        end

Defined in activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb line 860 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::DatabaseStatements

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close