1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-01 02:20:55 +00:00
Beego/orm/docs/zh/CustomFields.md
2013-07-31 22:11:35 +08:00

510 B

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