Exception: ActiveRecord::SQLWarning
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
AdapterError ,
ActiveRecordError ,
StandardError
|
|
Instance Chain:
self,
AdapterError ,
ActiveRecordError ,
StandardError
|
|
Inherits: |
ActiveRecord::AdapterError
|
Defined in: | activerecord/lib/active_record/errors.rb |
Overview
Raised when a statement produces an SQL warning.
Class Method Summary
- .new(message = nil, code = nil, level = nil, sql = nil, connection_pool = nil) ⇒ SQLWarning constructor
AdapterError
- Inherited
Instance Attribute Summary
Constructor Details
.new(message = nil, code = nil, level = nil, sql = nil, connection_pool = nil) ⇒ SQLWarning
Instance Attribute Details
#code (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/errors.rb', line 285
attr_reader :code, :level
#level (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/errors.rb', line 285
attr_reader :code, :level
#sql (rw)
[ GitHub ]# File 'activerecord/lib/active_record/errors.rb', line 286
attr_accessor :sql