droom

package
v0.0.0-...-91de038 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for droom fields.

Functions

func And

func And(predicates ...predicate.DRoom) predicate.DRoom

And groups predicates with the AND operator between them.

func BUserID

func BUserID(v string) predicate.DRoom

BUserID applies equality check predicate on the "b_user_id" field. It's identical to BUserIDEQ.

func BUserIDContains

func BUserIDContains(v string) predicate.DRoom

BUserIDContains applies the Contains predicate on the "b_user_id" field.

func BUserIDContainsFold

func BUserIDContainsFold(v string) predicate.DRoom

BUserIDContainsFold applies the ContainsFold predicate on the "b_user_id" field.

func BUserIDEQ

func BUserIDEQ(v string) predicate.DRoom

BUserIDEQ applies the EQ predicate on the "b_user_id" field.

func BUserIDEqualFold

func BUserIDEqualFold(v string) predicate.DRoom

BUserIDEqualFold applies the EqualFold predicate on the "b_user_id" field.

func BUserIDGT

func BUserIDGT(v string) predicate.DRoom

BUserIDGT applies the GT predicate on the "b_user_id" field.

func BUserIDGTE

func BUserIDGTE(v string) predicate.DRoom

BUserIDGTE applies the GTE predicate on the "b_user_id" field.

func BUserIDHasPrefix

func BUserIDHasPrefix(v string) predicate.DRoom

BUserIDHasPrefix applies the HasPrefix predicate on the "b_user_id" field.

func BUserIDHasSuffix

func BUserIDHasSuffix(v string) predicate.DRoom

BUserIDHasSuffix applies the HasSuffix predicate on the "b_user_id" field.

func BUserIDIn

func BUserIDIn(vs ...string) predicate.DRoom

BUserIDIn applies the In predicate on the "b_user_id" field.

func BUserIDIsNil

func BUserIDIsNil() predicate.DRoom

BUserIDIsNil applies the IsNil predicate on the "b_user_id" field.

func BUserIDLT

func BUserIDLT(v string) predicate.DRoom

BUserIDLT applies the LT predicate on the "b_user_id" field.

func BUserIDLTE

func BUserIDLTE(v string) predicate.DRoom

BUserIDLTE applies the LTE predicate on the "b_user_id" field.

func BUserIDNEQ

func BUserIDNEQ(v string) predicate.DRoom

BUserIDNEQ applies the NEQ predicate on the "b_user_id" field.

func BUserIDNotIn

func BUserIDNotIn(vs ...string) predicate.DRoom

BUserIDNotIn applies the NotIn predicate on the "b_user_id" field.

func BUserIDNotNil

func BUserIDNotNil() predicate.DRoom

BUserIDNotNil applies the NotNil predicate on the "b_user_id" field.

func CreateTime

func CreateTime(v time.Time) predicate.DRoom

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.DRoom

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.DRoom

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.DRoom

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.DRoom

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.DRoom

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.DRoom

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.DRoom

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.DRoom

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func ID

func ID(id string) predicate.DRoom

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.DRoom

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.DRoom

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.DRoom

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.DRoom

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.DRoom

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.DRoom

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.DRoom

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.DRoom

IDNotIn applies the NotIn predicate on the ID field.

func IsGameRunning

func IsGameRunning(v bool) predicate.DRoom

IsGameRunning applies equality check predicate on the "is_game_running" field. It's identical to IsGameRunningEQ.

func IsGameRunningEQ

func IsGameRunningEQ(v bool) predicate.DRoom

IsGameRunningEQ applies the EQ predicate on the "is_game_running" field.

func IsGameRunningIsNil

func IsGameRunningIsNil() predicate.DRoom

IsGameRunningIsNil applies the IsNil predicate on the "is_game_running" field.

func IsGameRunningNEQ

func IsGameRunningNEQ(v bool) predicate.DRoom

IsGameRunningNEQ applies the NEQ predicate on the "is_game_running" field.

func IsGameRunningNotNil

func IsGameRunningNotNil() predicate.DRoom

IsGameRunningNotNil applies the NotNil predicate on the "is_game_running" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.DRoom) predicate.DRoom

Or groups predicates with the OR operator between them.

func Panel

func Panel(v string) predicate.DRoom

Panel applies equality check predicate on the "panel" field. It's identical to PanelEQ.

func PanelContains

func PanelContains(v string) predicate.DRoom

PanelContains applies the Contains predicate on the "panel" field.

func PanelContainsFold

func PanelContainsFold(v string) predicate.DRoom

PanelContainsFold applies the ContainsFold predicate on the "panel" field.

func PanelEQ

func PanelEQ(v string) predicate.DRoom

PanelEQ applies the EQ predicate on the "panel" field.

func PanelEqualFold

func PanelEqualFold(v string) predicate.DRoom

PanelEqualFold applies the EqualFold predicate on the "panel" field.

func PanelGT

func PanelGT(v string) predicate.DRoom

PanelGT applies the GT predicate on the "panel" field.

func PanelGTE

func PanelGTE(v string) predicate.DRoom

PanelGTE applies the GTE predicate on the "panel" field.

func PanelHasPrefix

func PanelHasPrefix(v string) predicate.DRoom

PanelHasPrefix applies the HasPrefix predicate on the "panel" field.

func PanelHasSuffix

func PanelHasSuffix(v string) predicate.DRoom

PanelHasSuffix applies the HasSuffix predicate on the "panel" field.

func PanelIn

func PanelIn(vs ...string) predicate.DRoom

PanelIn applies the In predicate on the "panel" field.

func PanelIsNil

func PanelIsNil() predicate.DRoom

PanelIsNil applies the IsNil predicate on the "panel" field.

func PanelLT

func PanelLT(v string) predicate.DRoom

PanelLT applies the LT predicate on the "panel" field.

func PanelLTE

func PanelLTE(v string) predicate.DRoom

PanelLTE applies the LTE predicate on the "panel" field.

func PanelNEQ

func PanelNEQ(v string) predicate.DRoom

PanelNEQ applies the NEQ predicate on the "panel" field.

func PanelNotIn

func PanelNotIn(vs ...string) predicate.DRoom

PanelNotIn applies the NotIn predicate on the "panel" field.

func PanelNotNil

func PanelNotNil() predicate.DRoom

PanelNotNil applies the NotNil predicate on the "panel" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WUserID

func WUserID(v string) predicate.DRoom

WUserID applies equality check predicate on the "w_user_id" field. It's identical to WUserIDEQ.

func WUserIDContains

func WUserIDContains(v string) predicate.DRoom

WUserIDContains applies the Contains predicate on the "w_user_id" field.

func WUserIDContainsFold

func WUserIDContainsFold(v string) predicate.DRoom

WUserIDContainsFold applies the ContainsFold predicate on the "w_user_id" field.

func WUserIDEQ

func WUserIDEQ(v string) predicate.DRoom

WUserIDEQ applies the EQ predicate on the "w_user_id" field.

func WUserIDEqualFold

func WUserIDEqualFold(v string) predicate.DRoom

WUserIDEqualFold applies the EqualFold predicate on the "w_user_id" field.

func WUserIDGT

func WUserIDGT(v string) predicate.DRoom

WUserIDGT applies the GT predicate on the "w_user_id" field.

func WUserIDGTE

func WUserIDGTE(v string) predicate.DRoom

WUserIDGTE applies the GTE predicate on the "w_user_id" field.

func WUserIDHasPrefix

func WUserIDHasPrefix(v string) predicate.DRoom

WUserIDHasPrefix applies the HasPrefix predicate on the "w_user_id" field.

func WUserIDHasSuffix

func WUserIDHasSuffix(v string) predicate.DRoom

WUserIDHasSuffix applies the HasSuffix predicate on the "w_user_id" field.

func WUserIDIn

func WUserIDIn(vs ...string) predicate.DRoom

WUserIDIn applies the In predicate on the "w_user_id" field.

func WUserIDIsNil

func WUserIDIsNil() predicate.DRoom

WUserIDIsNil applies the IsNil predicate on the "w_user_id" field.

func WUserIDLT

func WUserIDLT(v string) predicate.DRoom

WUserIDLT applies the LT predicate on the "w_user_id" field.

func WUserIDLTE

func WUserIDLTE(v string) predicate.DRoom

WUserIDLTE applies the LTE predicate on the "w_user_id" field.

func WUserIDNEQ

func WUserIDNEQ(v string) predicate.DRoom

WUserIDNEQ applies the NEQ predicate on the "w_user_id" field.

func WUserIDNotIn

func WUserIDNotIn(vs ...string) predicate.DRoom

WUserIDNotIn applies the NotIn predicate on the "w_user_id" field.

func WUserIDNotNil

func WUserIDNotNil() predicate.DRoom

WUserIDNotNil applies the NotNil predicate on the "w_user_id" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL