Class: ActiveRecord::ConnectionAdapters::SQLServer::Type::SmallDateTime
- Inherits:
-
DateTime
- Object
- Type::DateTime
- DateTime
- ActiveRecord::ConnectionAdapters::SQLServer::Type::SmallDateTime
show all
- Defined in:
- lib/active_record/connection_adapters/sqlserver/type/smalldatetime.rb
Instance Method Summary
collapse
Methods inherited from DateTime
#deserialize, #quoted, #serialize, #type_cast_for_schema
Instance Method Details
#sqlserver_type ⇒ Object
11
12
13
|
# File 'lib/active_record/connection_adapters/sqlserver/type/smalldatetime.rb', line 11
def sqlserver_type
'smalldatetime'.freeze
end
|
#type ⇒ Object
7
8
9
|
# File 'lib/active_record/connection_adapters/sqlserver/type/smalldatetime.rb', line 7
def type
:smalldatetime
end
|