Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DChat) predicate.DChat
- func CreateTime(v time.Time) predicate.DChat
- func CreateTimeEQ(v time.Time) predicate.DChat
- func CreateTimeGT(v time.Time) predicate.DChat
- func CreateTimeGTE(v time.Time) predicate.DChat
- func CreateTimeIn(vs ...time.Time) predicate.DChat
- func CreateTimeLT(v time.Time) predicate.DChat
- func CreateTimeLTE(v time.Time) predicate.DChat
- func CreateTimeNEQ(v time.Time) predicate.DChat
- func CreateTimeNotIn(vs ...time.Time) predicate.DChat
- func ID(id string) predicate.DChat
- func IDEQ(id string) predicate.DChat
- func IDGT(id string) predicate.DChat
- func IDGTE(id string) predicate.DChat
- func IDIn(ids ...string) predicate.DChat
- func IDLT(id string) predicate.DChat
- func IDLTE(id string) predicate.DChat
- func IDNEQ(id string) predicate.DChat
- func IDNotIn(ids ...string) predicate.DChat
- func Not(p predicate.DChat) predicate.DChat
- func Or(predicates ...predicate.DChat) predicate.DChat
- func RoomID(v string) predicate.DChat
- func RoomIDContains(v string) predicate.DChat
- func RoomIDContainsFold(v string) predicate.DChat
- func RoomIDEQ(v string) predicate.DChat
- func RoomIDEqualFold(v string) predicate.DChat
- func RoomIDGT(v string) predicate.DChat
- func RoomIDGTE(v string) predicate.DChat
- func RoomIDHasPrefix(v string) predicate.DChat
- func RoomIDHasSuffix(v string) predicate.DChat
- func RoomIDIn(vs ...string) predicate.DChat
- func RoomIDLT(v string) predicate.DChat
- func RoomIDLTE(v string) predicate.DChat
- func RoomIDNEQ(v string) predicate.DChat
- func RoomIDNotIn(vs ...string) predicate.DChat
- func SessionID(v string) predicate.DChat
- func SessionIDContains(v string) predicate.DChat
- func SessionIDContainsFold(v string) predicate.DChat
- func SessionIDEQ(v string) predicate.DChat
- func SessionIDEqualFold(v string) predicate.DChat
- func SessionIDGT(v string) predicate.DChat
- func SessionIDGTE(v string) predicate.DChat
- func SessionIDHasPrefix(v string) predicate.DChat
- func SessionIDHasSuffix(v string) predicate.DChat
- func SessionIDIn(vs ...string) predicate.DChat
- func SessionIDLT(v string) predicate.DChat
- func SessionIDLTE(v string) predicate.DChat
- func SessionIDNEQ(v string) predicate.DChat
- func SessionIDNotIn(vs ...string) predicate.DChat
- func Text(v string) predicate.DChat
- func TextContains(v string) predicate.DChat
- func TextContainsFold(v string) predicate.DChat
- func TextEQ(v string) predicate.DChat
- func TextEqualFold(v string) predicate.DChat
- func TextGT(v string) predicate.DChat
- func TextGTE(v string) predicate.DChat
- func TextHasPrefix(v string) predicate.DChat
- func TextHasSuffix(v string) predicate.DChat
- func TextIn(vs ...string) predicate.DChat
- func TextLT(v string) predicate.DChat
- func TextLTE(v string) predicate.DChat
- func TextNEQ(v string) predicate.DChat
- func TextNotIn(vs ...string) predicate.DChat
- func UserID(v string) predicate.DChat
- func UserIDContains(v string) predicate.DChat
- func UserIDContainsFold(v string) predicate.DChat
- func UserIDEQ(v string) predicate.DChat
- func UserIDEqualFold(v string) predicate.DChat
- func UserIDGT(v string) predicate.DChat
- func UserIDGTE(v string) predicate.DChat
- func UserIDHasPrefix(v string) predicate.DChat
- func UserIDHasSuffix(v string) predicate.DChat
- func UserIDIn(vs ...string) predicate.DChat
- func UserIDLT(v string) predicate.DChat
- func UserIDLTE(v string) predicate.DChat
- func UserIDNEQ(v string) predicate.DChat
- func UserIDNotIn(vs ...string) predicate.DChat
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the dchat type in the database. Label = "dchat" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSessionID holds the string denoting the session_id field in the database. FieldSessionID = "session_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldRoomID holds the string denoting the room_id field in the database. FieldRoomID = "room_id" // FieldText holds the string denoting the text field in the database. FieldText = "text" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // Table holds the table name of the dchat in the database. Table = "dchats" )
Variables ¶
var Columns = []string{ FieldID, FieldSessionID, FieldUserID, FieldRoomID, FieldText, FieldCreateTime, }
Columns holds all SQL columns for dchat 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 RoomID ¶
RoomID applies equality check predicate on the "room_id" field. It's identical to RoomIDEQ.
func RoomIDContains ¶
RoomIDContains applies the Contains predicate on the "room_id" field.
func RoomIDContainsFold ¶
RoomIDContainsFold applies the ContainsFold predicate on the "room_id" field.
func RoomIDEqualFold ¶
RoomIDEqualFold applies the EqualFold predicate on the "room_id" field.
func RoomIDHasPrefix ¶
RoomIDHasPrefix applies the HasPrefix predicate on the "room_id" field.
func RoomIDHasSuffix ¶
RoomIDHasSuffix applies the HasSuffix predicate on the "room_id" field.
func RoomIDNotIn ¶
RoomIDNotIn applies the NotIn predicate on the "room_id" field.
func SessionID ¶
SessionID applies equality check predicate on the "session_id" field. It's identical to SessionIDEQ.
func SessionIDContains ¶
SessionIDContains applies the Contains predicate on the "session_id" field.
func SessionIDContainsFold ¶
SessionIDContainsFold applies the ContainsFold predicate on the "session_id" field.
func SessionIDEQ ¶
SessionIDEQ applies the EQ predicate on the "session_id" field.
func SessionIDEqualFold ¶
SessionIDEqualFold applies the EqualFold predicate on the "session_id" field.
func SessionIDGT ¶
SessionIDGT applies the GT predicate on the "session_id" field.
func SessionIDGTE ¶
SessionIDGTE applies the GTE predicate on the "session_id" field.
func SessionIDHasPrefix ¶
SessionIDHasPrefix applies the HasPrefix predicate on the "session_id" field.
func SessionIDHasSuffix ¶
SessionIDHasSuffix applies the HasSuffix predicate on the "session_id" field.
func SessionIDIn ¶
SessionIDIn applies the In predicate on the "session_id" field.
func SessionIDLT ¶
SessionIDLT applies the LT predicate on the "session_id" field.
func SessionIDLTE ¶
SessionIDLTE applies the LTE predicate on the "session_id" field.
func SessionIDNEQ ¶
SessionIDNEQ applies the NEQ predicate on the "session_id" field.
func SessionIDNotIn ¶
SessionIDNotIn applies the NotIn predicate on the "session_id" field.
func TextContains ¶
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEqualFold ¶
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextHasPrefix ¶
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.