Documentation
¶
Overview ¶
Package comment holds typed column descriptors and relation descriptors for the Comment model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ID = base.ID DocumentID = base.DocumentID Body = base.Body )
View Source
var Table = momo.TableRef{Name: "comments"}
Table is the base table reference.
Functions ¶
func ColumnByName ¶
ColumnByName returns the typed column for an allowlisted external name. Names are matched exactly against database column names; relation fields and sensitive fields are not in the allowlist.
func ColumnNames ¶
func ColumnNames() []string
ColumnNames lists the allowlisted names in declaration order.
Types ¶
Click to show internal directories.
Click to hide internal directories.