Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Echo) predicate.Echo
- func CreateTime(v time.Time) predicate.Echo
- func CreateTimeEQ(v time.Time) predicate.Echo
- func CreateTimeGT(v time.Time) predicate.Echo
- func CreateTimeGTE(v time.Time) predicate.Echo
- func CreateTimeIn(vs ...time.Time) predicate.Echo
- func CreateTimeLT(v time.Time) predicate.Echo
- func CreateTimeLTE(v time.Time) predicate.Echo
- func CreateTimeNEQ(v time.Time) predicate.Echo
- func CreateTimeNotIn(vs ...time.Time) predicate.Echo
- func DeleteTime(v time.Time) predicate.Echo
- func DeleteTimeEQ(v time.Time) predicate.Echo
- func DeleteTimeGT(v time.Time) predicate.Echo
- func DeleteTimeGTE(v time.Time) predicate.Echo
- func DeleteTimeIn(vs ...time.Time) predicate.Echo
- func DeleteTimeIsNil() predicate.Echo
- func DeleteTimeLT(v time.Time) predicate.Echo
- func DeleteTimeLTE(v time.Time) predicate.Echo
- func DeleteTimeNEQ(v time.Time) predicate.Echo
- func DeleteTimeNotIn(vs ...time.Time) predicate.Echo
- func DeleteTimeNotNil() predicate.Echo
- func Deleted(v bool) predicate.Echo
- func DeletedEQ(v bool) predicate.Echo
- func DeletedNEQ(v bool) predicate.Echo
- func EchoMessage(v string) predicate.Echo
- func EchoMessageContains(v string) predicate.Echo
- func EchoMessageContainsFold(v string) predicate.Echo
- func EchoMessageEQ(v string) predicate.Echo
- func EchoMessageEqualFold(v string) predicate.Echo
- func EchoMessageGT(v string) predicate.Echo
- func EchoMessageGTE(v string) predicate.Echo
- func EchoMessageHasPrefix(v string) predicate.Echo
- func EchoMessageHasSuffix(v string) predicate.Echo
- func EchoMessageIn(vs ...string) predicate.Echo
- func EchoMessageLT(v string) predicate.Echo
- func EchoMessageLTE(v string) predicate.Echo
- func EchoMessageNEQ(v string) predicate.Echo
- func EchoMessageNotIn(vs ...string) predicate.Echo
- func ID(id int) predicate.Echo
- func IDEQ(id int) predicate.Echo
- func IDGT(id int) predicate.Echo
- func IDGTE(id int) predicate.Echo
- func IDIn(ids ...int) predicate.Echo
- func IDLT(id int) predicate.Echo
- func IDLTE(id int) predicate.Echo
- func IDNEQ(id int) predicate.Echo
- func IDNotIn(ids ...int) predicate.Echo
- func Message(v string) predicate.Echo
- func MessageContains(v string) predicate.Echo
- func MessageContainsFold(v string) predicate.Echo
- func MessageEQ(v string) predicate.Echo
- func MessageEqualFold(v string) predicate.Echo
- func MessageGT(v string) predicate.Echo
- func MessageGTE(v string) predicate.Echo
- func MessageHasPrefix(v string) predicate.Echo
- func MessageHasSuffix(v string) predicate.Echo
- func MessageIn(vs ...string) predicate.Echo
- func MessageLT(v string) predicate.Echo
- func MessageLTE(v string) predicate.Echo
- func MessageNEQ(v string) predicate.Echo
- func MessageNotIn(vs ...string) predicate.Echo
- func Not(p predicate.Echo) predicate.Echo
- func Or(predicates ...predicate.Echo) predicate.Echo
- func UpdateTime(v time.Time) predicate.Echo
- func UpdateTimeEQ(v time.Time) predicate.Echo
- func UpdateTimeGT(v time.Time) predicate.Echo
- func UpdateTimeGTE(v time.Time) predicate.Echo
- func UpdateTimeIn(vs ...time.Time) predicate.Echo
- func UpdateTimeIsNil() predicate.Echo
- func UpdateTimeLT(v time.Time) predicate.Echo
- func UpdateTimeLTE(v time.Time) predicate.Echo
- func UpdateTimeNEQ(v time.Time) predicate.Echo
- func UpdateTimeNotIn(vs ...time.Time) predicate.Echo
- func UpdateTimeNotNil() predicate.Echo
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the echo type in the database. Label = "echo" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldEchoMessage holds the string denoting the echo_message field in the database. FieldEchoMessage = "echo_message" // FieldDeleted holds the string denoting the deleted field in the database. FieldDeleted = "deleted" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldDeleteTime holds the string denoting the delete_time field in the database. FieldDeleteTime = "delete_time" // Table holds the table name of the echo in the database. Table = "echos" )
Variables ¶
var ( // MessageValidator is a validator for the "message" field. It is called by the builders before save. MessageValidator func(string) error // DefaultDeleted holds the default value on creation for the "deleted" field. DefaultDeleted bool // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time )
var Columns = []string{ FieldID, FieldMessage, FieldEchoMessage, FieldDeleted, FieldCreateTime, FieldUpdateTime, FieldDeleteTime, }
Columns holds all SQL columns for echo fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DeleteTime ¶
DeleteTime applies equality check predicate on the "delete_time" field. It's identical to DeleteTimeEQ.
func DeleteTimeEQ ¶
DeleteTimeEQ applies the EQ predicate on the "delete_time" field.
func DeleteTimeGT ¶
DeleteTimeGT applies the GT predicate on the "delete_time" field.
func DeleteTimeGTE ¶
DeleteTimeGTE applies the GTE predicate on the "delete_time" field.
func DeleteTimeIn ¶
DeleteTimeIn applies the In predicate on the "delete_time" field.
func DeleteTimeIsNil ¶
DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.
func DeleteTimeLT ¶
DeleteTimeLT applies the LT predicate on the "delete_time" field.
func DeleteTimeLTE ¶
DeleteTimeLTE applies the LTE predicate on the "delete_time" field.
func DeleteTimeNEQ ¶
DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.
func DeleteTimeNotIn ¶
DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.
func DeleteTimeNotNil ¶
DeleteTimeNotNil applies the NotNil predicate on the "delete_time" field.
func Deleted ¶
Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
func DeletedNEQ ¶
DeletedNEQ applies the NEQ predicate on the "deleted" field.
func EchoMessage ¶
EchoMessage applies equality check predicate on the "echo_message" field. It's identical to EchoMessageEQ.
func EchoMessageContains ¶
EchoMessageContains applies the Contains predicate on the "echo_message" field.
func EchoMessageContainsFold ¶
EchoMessageContainsFold applies the ContainsFold predicate on the "echo_message" field.
func EchoMessageEQ ¶
EchoMessageEQ applies the EQ predicate on the "echo_message" field.
func EchoMessageEqualFold ¶
EchoMessageEqualFold applies the EqualFold predicate on the "echo_message" field.
func EchoMessageGT ¶
EchoMessageGT applies the GT predicate on the "echo_message" field.
func EchoMessageGTE ¶
EchoMessageGTE applies the GTE predicate on the "echo_message" field.
func EchoMessageHasPrefix ¶
EchoMessageHasPrefix applies the HasPrefix predicate on the "echo_message" field.
func EchoMessageHasSuffix ¶
EchoMessageHasSuffix applies the HasSuffix predicate on the "echo_message" field.
func EchoMessageIn ¶
EchoMessageIn applies the In predicate on the "echo_message" field.
func EchoMessageLT ¶
EchoMessageLT applies the LT predicate on the "echo_message" field.
func EchoMessageLTE ¶
EchoMessageLTE applies the LTE predicate on the "echo_message" field.
func EchoMessageNEQ ¶
EchoMessageNEQ applies the NEQ predicate on the "echo_message" field.
func EchoMessageNotIn ¶
EchoMessageNotIn applies the NotIn predicate on the "echo_message" field.
func Message ¶
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEqualFold ¶
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGTE ¶
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageLTE ¶
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
MessageNotIn applies the NotIn predicate on the "message" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeIsNil ¶
UpdateTimeIsNil applies the IsNil predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func UpdateTimeNotNil ¶
UpdateTimeNotNil applies the NotNil predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.