Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RdMoment) predicate.RdMoment
- func ByUID(v int32) predicate.RdMoment
- func ByUIDEQ(v int32) predicate.RdMoment
- func ByUIDGT(v int32) predicate.RdMoment
- func ByUIDGTE(v int32) predicate.RdMoment
- func ByUIDIn(vs ...int32) predicate.RdMoment
- func ByUIDIsNil() predicate.RdMoment
- func ByUIDLT(v int32) predicate.RdMoment
- func ByUIDLTE(v int32) predicate.RdMoment
- func ByUIDNEQ(v int32) predicate.RdMoment
- func ByUIDNotIn(vs ...int32) predicate.RdMoment
- func ByUIDNotNil() predicate.RdMoment
- func ID(id int64) predicate.RdMoment
- func IDEQ(id int64) predicate.RdMoment
- func IDGT(id int64) predicate.RdMoment
- func IDGTE(id int64) predicate.RdMoment
- func IDIn(ids ...int64) predicate.RdMoment
- func IDLT(id int64) predicate.RdMoment
- func IDLTE(id int64) predicate.RdMoment
- func IDNEQ(id int64) predicate.RdMoment
- func IDNotIn(ids ...int64) predicate.RdMoment
- func Not(p predicate.RdMoment) predicate.RdMoment
- func Or(predicates ...predicate.RdMoment) predicate.RdMoment
- func PublishTime(v time.Time) predicate.RdMoment
- func PublishTimeEQ(v time.Time) predicate.RdMoment
- func PublishTimeGT(v time.Time) predicate.RdMoment
- func PublishTimeGTE(v time.Time) predicate.RdMoment
- func PublishTimeIn(vs ...time.Time) predicate.RdMoment
- func PublishTimeLT(v time.Time) predicate.RdMoment
- func PublishTimeLTE(v time.Time) predicate.RdMoment
- func PublishTimeNEQ(v time.Time) predicate.RdMoment
- func PublishTimeNotIn(vs ...time.Time) predicate.RdMoment
- func Status(v int32) predicate.RdMoment
- func StatusEQ(v int32) predicate.RdMoment
- func StatusGT(v int32) predicate.RdMoment
- func StatusGTE(v int32) predicate.RdMoment
- func StatusIn(vs ...int32) predicate.RdMoment
- func StatusIsNil() predicate.RdMoment
- func StatusLT(v int32) predicate.RdMoment
- func StatusLTE(v int32) predicate.RdMoment
- func StatusNEQ(v int32) predicate.RdMoment
- func StatusNotIn(vs ...int32) predicate.RdMoment
- func StatusNotNil() predicate.RdMoment
- func Txt(v string) predicate.RdMoment
- func TxtContains(v string) predicate.RdMoment
- func TxtContainsFold(v string) predicate.RdMoment
- func TxtEQ(v string) predicate.RdMoment
- func TxtEqualFold(v string) predicate.RdMoment
- func TxtGT(v string) predicate.RdMoment
- func TxtGTE(v string) predicate.RdMoment
- func TxtHasPrefix(v string) predicate.RdMoment
- func TxtHasSuffix(v string) predicate.RdMoment
- func TxtIn(vs ...string) predicate.RdMoment
- func TxtLT(v string) predicate.RdMoment
- func TxtLTE(v string) predicate.RdMoment
- func TxtNEQ(v string) predicate.RdMoment
- func TxtNotIn(vs ...string) predicate.RdMoment
- func Type(v int32) predicate.RdMoment
- func TypeEQ(v int32) predicate.RdMoment
- func TypeGT(v int32) predicate.RdMoment
- func TypeGTE(v int32) predicate.RdMoment
- func TypeIn(vs ...int32) predicate.RdMoment
- func TypeIsNil() predicate.RdMoment
- func TypeLT(v int32) predicate.RdMoment
- func TypeLTE(v int32) predicate.RdMoment
- func TypeNEQ(v int32) predicate.RdMoment
- func TypeNotIn(vs ...int32) predicate.RdMoment
- func TypeNotNil() predicate.RdMoment
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the rdmoment type in the database. Label = "rd_moment" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldByUID holds the string denoting the by_uid field in the database. FieldByUID = "by_uid" // FieldTxt holds the string denoting the txt field in the database. FieldTxt = "txt" // FieldImgs holds the string denoting the imgs field in the database. FieldImgs = "imgs" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldPublishTime holds the string denoting the publish_time field in the database. FieldPublishTime = "publish_time" // Table holds the table name of the rdmoment in the database. Table = "rd_moment" )
Variables ¶
var ( // DefaultType holds the default value on creation for the "type" field. DefaultType int32 // DefaultPublishTime holds the default value on creation for the "publish_time" field. DefaultPublishTime func() time.Time )
var Columns = []string{ FieldID, FieldType, FieldByUID, FieldTxt, FieldImgs, FieldStatus, FieldPublishTime, }
Columns holds all SQL columns for rdmoment fields.
Functions ¶
func ByUID ¶
ByUID applies equality check predicate on the "by_uid" field. It's identical to ByUIDEQ.
func ByUIDIsNil ¶
ByUIDIsNil applies the IsNil predicate on the "by_uid" field.
func ByUIDNotIn ¶
ByUIDNotIn applies the NotIn predicate on the "by_uid" field.
func ByUIDNotNil ¶
ByUIDNotNil applies the NotNil predicate on the "by_uid" field.
func PublishTime ¶
PublishTime applies equality check predicate on the "publish_time" field. It's identical to PublishTimeEQ.
func PublishTimeEQ ¶
PublishTimeEQ applies the EQ predicate on the "publish_time" field.
func PublishTimeGT ¶
PublishTimeGT applies the GT predicate on the "publish_time" field.
func PublishTimeGTE ¶
PublishTimeGTE applies the GTE predicate on the "publish_time" field.
func PublishTimeIn ¶
PublishTimeIn applies the In predicate on the "publish_time" field.
func PublishTimeLT ¶
PublishTimeLT applies the LT predicate on the "publish_time" field.
func PublishTimeLTE ¶
PublishTimeLTE applies the LTE predicate on the "publish_time" field.
func PublishTimeNEQ ¶
PublishTimeNEQ applies the NEQ predicate on the "publish_time" field.
func PublishTimeNotIn ¶
PublishTimeNotIn applies the NotIn predicate on the "publish_time" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TxtContains ¶
TxtContains applies the Contains predicate on the "txt" field.
func TxtContainsFold ¶
TxtContainsFold applies the ContainsFold predicate on the "txt" field.
func TxtEqualFold ¶
TxtEqualFold applies the EqualFold predicate on the "txt" field.
func TxtHasPrefix ¶
TxtHasPrefix applies the HasPrefix predicate on the "txt" field.
func TxtHasSuffix ¶
TxtHasSuffix applies the HasSuffix predicate on the "txt" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.