Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct { // Id // // Extra : auto_increment // Null : NO // Type : int(10) unsigned Id int `xorm:"id pk autoincr" json:"id"` // CreatedAt // // Default : current_timestamp // Null : NO // Type : datetime CreatedAt db.Datetime `xorm:"created_at" json:"created_at"` // UpdatedAt // // Default : current_timestamp // Extra : on update current_timestamp // Null : NO // Type : datetime UpdatedAt db.Datetime `xorm:"updated_at" json:"updated_at"` }
Example is a model for table.
Collation : utf8_general_ci Engine : InnoDB Format : Dynamic Table : rdb_example
Click to show internal directories.
Click to hide internal directories.