1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 18:30:50 +00:00
Beego/orm/docs/zh/CustomFields.md

38 lines
510 B
Markdown
Raw Normal View History

2013-07-31 14:11:35 +00:00
## Custom Fields
TypeBooleanField = 1 << iota
// string
TypeCharField
// string
TypeTextField
// time.Time
TypeDateField
// time.Time
TypeDateTimeField
// int16
TypeSmallIntegerField
// int32
TypeIntegerField
// int64
TypeBigIntegerField
// uint16
TypePositiveSmallIntegerField
// uint32
TypePositiveIntegerField
// uint64
TypePositiveBigIntegerField
// float64
TypeFloatField
// float64
TypeDecimalField
RelForeignKey
RelOneToOne
RelManyToMany
RelReverseOne
RelReverseMany