Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostCommentRow ¶
type PostCommentRow struct { Id int64 `column:"ID,pk,incr"` PostId string `column:"POST_ID"` UserId string `column:"USER_ID"` CreateAT time.Time `column:"CREATE_AT,act"` Content string `column:"CONTENT"` }
func (PostCommentRow) TableInfo ¶
func (row PostCommentRow) TableInfo() dac.TableInfo
type PostCommentRows ¶
type PostCommentRows []PostCommentRow
type PostLikeRow ¶
type PostLikeRow struct { Id int64 `column:"ID,pk,incr"` PostId string `column:"POST_ID"` UserId string `column:"USER_ID"` }
func (PostLikeRow) TableInfo ¶
func (row PostLikeRow) TableInfo() dac.TableInfo
type PostRow ¶
type PostRow struct { Id string `column:"ID,pk"` UserId string `column:"USER_ID"` CreateAT time.Time `column:"CREATE_AT,act"` Version int64 `column:"VERSION,aol"` Title string `column:"TITLE"` Content string `column:"CONTENT"` Comments PostCommentRows `column:"COMMENTS,links,Id+PostId,orders:Id@desc,length:10"` Likes int64 `column:"LIKES,vc,basic,SELECT COUNT(1) FROM \"FNS\".\"POST_LIKE\" WHERE \"POST_ID\" = \"FNS\".\"POST\".\"ID\""` }
Click to show internal directories.
Click to hide internal directories.