Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DRoom) predicate.DRoom
- func BUserID(v string) predicate.DRoom
- func BUserIDContains(v string) predicate.DRoom
- func BUserIDContainsFold(v string) predicate.DRoom
- func BUserIDEQ(v string) predicate.DRoom
- func BUserIDEqualFold(v string) predicate.DRoom
- func BUserIDGT(v string) predicate.DRoom
- func BUserIDGTE(v string) predicate.DRoom
- func BUserIDHasPrefix(v string) predicate.DRoom
- func BUserIDHasSuffix(v string) predicate.DRoom
- func BUserIDIn(vs ...string) predicate.DRoom
- func BUserIDIsNil() predicate.DRoom
- func BUserIDLT(v string) predicate.DRoom
- func BUserIDLTE(v string) predicate.DRoom
- func BUserIDNEQ(v string) predicate.DRoom
- func BUserIDNotIn(vs ...string) predicate.DRoom
- func BUserIDNotNil() predicate.DRoom
- func CreateTime(v time.Time) predicate.DRoom
- func CreateTimeEQ(v time.Time) predicate.DRoom
- func CreateTimeGT(v time.Time) predicate.DRoom
- func CreateTimeGTE(v time.Time) predicate.DRoom
- func CreateTimeIn(vs ...time.Time) predicate.DRoom
- func CreateTimeLT(v time.Time) predicate.DRoom
- func CreateTimeLTE(v time.Time) predicate.DRoom
- func CreateTimeNEQ(v time.Time) predicate.DRoom
- func CreateTimeNotIn(vs ...time.Time) predicate.DRoom
- func ID(id string) predicate.DRoom
- func IDEQ(id string) predicate.DRoom
- func IDGT(id string) predicate.DRoom
- func IDGTE(id string) predicate.DRoom
- func IDIn(ids ...string) predicate.DRoom
- func IDLT(id string) predicate.DRoom
- func IDLTE(id string) predicate.DRoom
- func IDNEQ(id string) predicate.DRoom
- func IDNotIn(ids ...string) predicate.DRoom
- func IsGameRunning(v bool) predicate.DRoom
- func IsGameRunningEQ(v bool) predicate.DRoom
- func IsGameRunningIsNil() predicate.DRoom
- func IsGameRunningNEQ(v bool) predicate.DRoom
- func IsGameRunningNotNil() predicate.DRoom
- func Not(p predicate.DRoom) predicate.DRoom
- func Or(predicates ...predicate.DRoom) predicate.DRoom
- func Panel(v string) predicate.DRoom
- func PanelContains(v string) predicate.DRoom
- func PanelContainsFold(v string) predicate.DRoom
- func PanelEQ(v string) predicate.DRoom
- func PanelEqualFold(v string) predicate.DRoom
- func PanelGT(v string) predicate.DRoom
- func PanelGTE(v string) predicate.DRoom
- func PanelHasPrefix(v string) predicate.DRoom
- func PanelHasSuffix(v string) predicate.DRoom
- func PanelIn(vs ...string) predicate.DRoom
- func PanelIsNil() predicate.DRoom
- func PanelLT(v string) predicate.DRoom
- func PanelLTE(v string) predicate.DRoom
- func PanelNEQ(v string) predicate.DRoom
- func PanelNotIn(vs ...string) predicate.DRoom
- func PanelNotNil() predicate.DRoom
- func ValidColumn(column string) bool
- func WUserID(v string) predicate.DRoom
- func WUserIDContains(v string) predicate.DRoom
- func WUserIDContainsFold(v string) predicate.DRoom
- func WUserIDEQ(v string) predicate.DRoom
- func WUserIDEqualFold(v string) predicate.DRoom
- func WUserIDGT(v string) predicate.DRoom
- func WUserIDGTE(v string) predicate.DRoom
- func WUserIDHasPrefix(v string) predicate.DRoom
- func WUserIDHasSuffix(v string) predicate.DRoom
- func WUserIDIn(vs ...string) predicate.DRoom
- func WUserIDIsNil() predicate.DRoom
- func WUserIDLT(v string) predicate.DRoom
- func WUserIDLTE(v string) predicate.DRoom
- func WUserIDNEQ(v string) predicate.DRoom
- func WUserIDNotIn(vs ...string) predicate.DRoom
- func WUserIDNotNil() predicate.DRoom
Constants ¶
const ( // Label holds the string label denoting the droom type in the database. Label = "droom" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIsGameRunning holds the string denoting the is_game_running field in the database. FieldIsGameRunning = "is_game_running" // FieldPanel holds the string denoting the panel field in the database. FieldPanel = "panel" // FieldWUserID holds the string denoting the w_user_id field in the database. FieldWUserID = "w_user_id" // FieldBUserID holds the string denoting the b_user_id field in the database. FieldBUserID = "b_user_id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // Table holds the table name of the droom in the database. Table = "drooms" )
Variables ¶
var ( // DefaultIsGameRunning holds the default value on creation for the "is_game_running" field. DefaultIsGameRunning bool // DefaultPanel holds the default value on creation for the "panel" field. DefaultPanel string // DefaultWUserID holds the default value on creation for the "w_user_id" field. DefaultWUserID string // DefaultBUserID holds the default value on creation for the "b_user_id" field. DefaultBUserID string )
var Columns = []string{ FieldID, FieldIsGameRunning, FieldPanel, FieldWUserID, FieldBUserID, FieldCreateTime, }
Columns holds all SQL columns for droom fields.
Functions ¶
func BUserID ¶
BUserID applies equality check predicate on the "b_user_id" field. It's identical to BUserIDEQ.
func BUserIDContains ¶
BUserIDContains applies the Contains predicate on the "b_user_id" field.
func BUserIDContainsFold ¶
BUserIDContainsFold applies the ContainsFold predicate on the "b_user_id" field.
func BUserIDEqualFold ¶
BUserIDEqualFold applies the EqualFold predicate on the "b_user_id" field.
func BUserIDGTE ¶
BUserIDGTE applies the GTE predicate on the "b_user_id" field.
func BUserIDHasPrefix ¶
BUserIDHasPrefix applies the HasPrefix predicate on the "b_user_id" field.
func BUserIDHasSuffix ¶
BUserIDHasSuffix applies the HasSuffix predicate on the "b_user_id" field.
func BUserIDIsNil ¶
BUserIDIsNil applies the IsNil predicate on the "b_user_id" field.
func BUserIDLTE ¶
BUserIDLTE applies the LTE predicate on the "b_user_id" field.
func BUserIDNEQ ¶
BUserIDNEQ applies the NEQ predicate on the "b_user_id" field.
func BUserIDNotIn ¶
BUserIDNotIn applies the NotIn predicate on the "b_user_id" field.
func BUserIDNotNil ¶
BUserIDNotNil applies the NotNil predicate on the "b_user_id" field.
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 IsGameRunning ¶
IsGameRunning applies equality check predicate on the "is_game_running" field. It's identical to IsGameRunningEQ.
func IsGameRunningEQ ¶
IsGameRunningEQ applies the EQ predicate on the "is_game_running" field.
func IsGameRunningIsNil ¶
IsGameRunningIsNil applies the IsNil predicate on the "is_game_running" field.
func IsGameRunningNEQ ¶
IsGameRunningNEQ applies the NEQ predicate on the "is_game_running" field.
func IsGameRunningNotNil ¶
IsGameRunningNotNil applies the NotNil predicate on the "is_game_running" field.
func Panel ¶
Panel applies equality check predicate on the "panel" field. It's identical to PanelEQ.
func PanelContains ¶
PanelContains applies the Contains predicate on the "panel" field.
func PanelContainsFold ¶
PanelContainsFold applies the ContainsFold predicate on the "panel" field.
func PanelEqualFold ¶
PanelEqualFold applies the EqualFold predicate on the "panel" field.
func PanelHasPrefix ¶
PanelHasPrefix applies the HasPrefix predicate on the "panel" field.
func PanelHasSuffix ¶
PanelHasSuffix applies the HasSuffix predicate on the "panel" field.
func PanelIsNil ¶
PanelIsNil applies the IsNil predicate on the "panel" field.
func PanelNotIn ¶
PanelNotIn applies the NotIn predicate on the "panel" field.
func PanelNotNil ¶
PanelNotNil applies the NotNil predicate on the "panel" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WUserID ¶
WUserID applies equality check predicate on the "w_user_id" field. It's identical to WUserIDEQ.
func WUserIDContains ¶
WUserIDContains applies the Contains predicate on the "w_user_id" field.
func WUserIDContainsFold ¶
WUserIDContainsFold applies the ContainsFold predicate on the "w_user_id" field.
func WUserIDEqualFold ¶
WUserIDEqualFold applies the EqualFold predicate on the "w_user_id" field.
func WUserIDGTE ¶
WUserIDGTE applies the GTE predicate on the "w_user_id" field.
func WUserIDHasPrefix ¶
WUserIDHasPrefix applies the HasPrefix predicate on the "w_user_id" field.
func WUserIDHasSuffix ¶
WUserIDHasSuffix applies the HasSuffix predicate on the "w_user_id" field.
func WUserIDIsNil ¶
WUserIDIsNil applies the IsNil predicate on the "w_user_id" field.
func WUserIDLTE ¶
WUserIDLTE applies the LTE predicate on the "w_user_id" field.
func WUserIDNEQ ¶
WUserIDNEQ applies the NEQ predicate on the "w_user_id" field.
func WUserIDNotIn ¶
WUserIDNotIn applies the NotIn predicate on the "w_user_id" field.
func WUserIDNotNil ¶
WUserIDNotNil applies the NotNil predicate on the "w_user_id" field.
Types ¶
This section is empty.