Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RoomUser) predicate.RoomUser
- func CreatedAt(v time.Time) predicate.RoomUser
- func CreatedAtEQ(v time.Time) predicate.RoomUser
- func CreatedAtGT(v time.Time) predicate.RoomUser
- func CreatedAtGTE(v time.Time) predicate.RoomUser
- func CreatedAtIn(vs ...time.Time) predicate.RoomUser
- func CreatedAtLT(v time.Time) predicate.RoomUser
- func CreatedAtLTE(v time.Time) predicate.RoomUser
- func CreatedAtNEQ(v time.Time) predicate.RoomUser
- func CreatedAtNotIn(vs ...time.Time) predicate.RoomUser
- func CreatedBy(v int64) predicate.RoomUser
- func CreatedByEQ(v int64) predicate.RoomUser
- func CreatedByGT(v int64) predicate.RoomUser
- func CreatedByGTE(v int64) predicate.RoomUser
- func CreatedByIn(vs ...int64) predicate.RoomUser
- func CreatedByLT(v int64) predicate.RoomUser
- func CreatedByLTE(v int64) predicate.RoomUser
- func CreatedByNEQ(v int64) predicate.RoomUser
- func CreatedByNotIn(vs ...int64) predicate.RoomUser
- func DeletedAt(v time.Time) predicate.RoomUser
- func DeletedAtEQ(v time.Time) predicate.RoomUser
- func DeletedAtGT(v time.Time) predicate.RoomUser
- func DeletedAtGTE(v time.Time) predicate.RoomUser
- func DeletedAtIn(vs ...time.Time) predicate.RoomUser
- func DeletedAtLT(v time.Time) predicate.RoomUser
- func DeletedAtLTE(v time.Time) predicate.RoomUser
- func DeletedAtNEQ(v time.Time) predicate.RoomUser
- func DeletedAtNotIn(vs ...time.Time) predicate.RoomUser
- func HasRoom() predicate.RoomUser
- func HasRoomWith(preds ...predicate.Room) predicate.RoomUser
- func Host(v bool) predicate.RoomUser
- func HostEQ(v bool) predicate.RoomUser
- func HostNEQ(v bool) predicate.RoomUser
- func ID(id int64) predicate.RoomUser
- func IDEQ(id int64) predicate.RoomUser
- func IDGT(id int64) predicate.RoomUser
- func IDGTE(id int64) predicate.RoomUser
- func IDIn(ids ...int64) predicate.RoomUser
- func IDLT(id int64) predicate.RoomUser
- func IDLTE(id int64) predicate.RoomUser
- func IDNEQ(id int64) predicate.RoomUser
- func IDNotIn(ids ...int64) predicate.RoomUser
- func Not(p predicate.RoomUser) predicate.RoomUser
- func Or(predicates ...predicate.RoomUser) predicate.RoomUser
- func RoomID(v int64) predicate.RoomUser
- func RoomIDEQ(v int64) predicate.RoomUser
- func RoomIDIn(vs ...int64) predicate.RoomUser
- func RoomIDNEQ(v int64) predicate.RoomUser
- func RoomIDNotIn(vs ...int64) predicate.RoomUser
- func UpdatedAt(v time.Time) predicate.RoomUser
- func UpdatedAtEQ(v time.Time) predicate.RoomUser
- func UpdatedAtGT(v time.Time) predicate.RoomUser
- func UpdatedAtGTE(v time.Time) predicate.RoomUser
- func UpdatedAtIn(vs ...time.Time) predicate.RoomUser
- func UpdatedAtLT(v time.Time) predicate.RoomUser
- func UpdatedAtLTE(v time.Time) predicate.RoomUser
- func UpdatedAtNEQ(v time.Time) predicate.RoomUser
- func UpdatedAtNotIn(vs ...time.Time) predicate.RoomUser
- func UpdatedBy(v int64) predicate.RoomUser
- func UpdatedByEQ(v int64) predicate.RoomUser
- func UpdatedByGT(v int64) predicate.RoomUser
- func UpdatedByGTE(v int64) predicate.RoomUser
- func UpdatedByIn(vs ...int64) predicate.RoomUser
- func UpdatedByLT(v int64) predicate.RoomUser
- func UpdatedByLTE(v int64) predicate.RoomUser
- func UpdatedByNEQ(v int64) predicate.RoomUser
- func UpdatedByNotIn(vs ...int64) predicate.RoomUser
- func UserID(v int64) predicate.RoomUser
- func UserIDEQ(v int64) predicate.RoomUser
- func UserIDGT(v int64) predicate.RoomUser
- func UserIDGTE(v int64) predicate.RoomUser
- func UserIDIn(vs ...int64) predicate.RoomUser
- func UserIDLT(v int64) predicate.RoomUser
- func UserIDLTE(v int64) predicate.RoomUser
- func UserIDNEQ(v int64) predicate.RoomUser
- func UserIDNotIn(vs ...int64) predicate.RoomUser
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the roomuser type in the database. Label = "room_user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // 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" // FieldHost holds the string denoting the host field in the database. FieldHost = "host" // EdgeRoom holds the string denoting the room edge name in mutations. EdgeRoom = "room" // Table holds the table name of the roomuser in the database. Table = "room_users" // RoomTable is the table that holds the room relation/edge. RoomTable = "room_users" // RoomInverseTable is the table name for the Room entity. // It exists in this package in order to avoid circular dependency with the "room" package. RoomInverseTable = "rooms" // RoomColumn is the table column denoting the room relation/edge. RoomColumn = "room_id" )
Variables ¶
var ( // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy int64 // DefaultUpdatedBy holds the default value on creation for the "updated_by" field. DefaultUpdatedBy int64 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultDeletedAt holds the default value on creation for the "deleted_at" field. DefaultDeletedAt time.Time // DefaultHost holds the default value on creation for the "host" field. DefaultHost bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() int64 )
var Columns = []string{ FieldID, FieldCreatedBy, FieldUpdatedBy, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldUserID, FieldRoomID, FieldHost, }
Columns holds all SQL columns for roomuser fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func HasRoomWith ¶
HasRoomWith applies the HasEdge predicate on the "room" edge with a given conditions (other predicates).
func RoomID ¶
RoomID applies equality check predicate on the "room_id" field. It's identical to RoomIDEQ.
func RoomIDNotIn ¶
RoomIDNotIn applies the NotIn predicate on the "room_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
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.