class Jennifer::Generators::Field
- Jennifer::Generators::Field
- Reference
- Object
Defined in:
azu_cli/templates/jennifer/generators/field.crConstant Summary
-
DATA_TYPES =
{"bool" => "Bool", "bigint" => "Int64", "integer" => "Int32", "short" => "Int16", "tinyint" => "Int8", "float" => "Float32", "double" => "Double64", "decimal" => "Float64", "string" => "String", "text" => "String", "timestamp" => "Time", "date_time" => "Time", "json" => "JSON::Any", REFERENCE_TYPE => "Int32"}
-
REFERENCE_TYPE =
"reference"
Constructors
Instance Method Summary
-
#==(other)
Returns
false
(other can only be aValue
here). - #cr_type
- #decimal?
- #field_name
- #id?
- #name : String
- #nilable : Bool
- #reference?
- #reference_class
- #timestamp?
- #type : String
Constructor Detail
Instance Method Detail
def ==(other)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).