Class: ActiveRecord::ConnectionAdapters::SqlTypeMetadata
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
Deduplicable
|
|
Inherits: | Object |
Defined in: | activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb |
Class Method Summary
Instance Attribute Summary
- #limit readonly
- #precision readonly
- #scale readonly
- #sql_type readonly
- #type readonly
Instance Method Summary
- #==(other) (also: #eql?)
-
#eql?(other)
Alias for #==.
- #hash
- #deduplicated private
Deduplicable
- Included
#-@ | Alias for Deduplicable#deduplicate. |
#deduplicate, #deduplicated |
Constructor Details
.new(sql_type: nil, type: nil, limit: nil, precision: nil, scale: nil) ⇒ SqlTypeMetadata
Instance Attribute Details
#limit (readonly)
[ GitHub ]#precision (readonly)
[ GitHub ]#scale (readonly)
[ GitHub ]#sql_type (readonly)
[ GitHub ]#type (readonly)
[ GitHub ]Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]#deduplicated (private)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb', line 39
def deduplicated @sql_type = -sql_type super end
#eql?(other)
Alias for #==.
# File 'activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb', line 27
alias eql? ==