Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ClientServer) predicate.ClientServer
- func Available(v bool) predicate.ClientServer
- func AvailableEQ(v bool) predicate.ClientServer
- func AvailableNEQ(v bool) predicate.ClientServer
- func ClientName(v string) predicate.ClientServer
- func ClientNameContains(v string) predicate.ClientServer
- func ClientNameContainsFold(v string) predicate.ClientServer
- func ClientNameEQ(v string) predicate.ClientServer
- func ClientNameEqualFold(v string) predicate.ClientServer
- func ClientNameGT(v string) predicate.ClientServer
- func ClientNameGTE(v string) predicate.ClientServer
- func ClientNameHasPrefix(v string) predicate.ClientServer
- func ClientNameHasSuffix(v string) predicate.ClientServer
- func ClientNameIn(vs ...string) predicate.ClientServer
- func ClientNameLT(v string) predicate.ClientServer
- func ClientNameLTE(v string) predicate.ClientServer
- func ClientNameNEQ(v string) predicate.ClientServer
- func ClientNameNotIn(vs ...string) predicate.ClientServer
- func CreatedAt(v time.Time) predicate.ClientServer
- func CreatedAtEQ(v time.Time) predicate.ClientServer
- func CreatedAtGT(v time.Time) predicate.ClientServer
- func CreatedAtGTE(v time.Time) predicate.ClientServer
- func CreatedAtIn(vs ...time.Time) predicate.ClientServer
- func CreatedAtLT(v time.Time) predicate.ClientServer
- func CreatedAtLTE(v time.Time) predicate.ClientServer
- func CreatedAtNEQ(v time.Time) predicate.ClientServer
- func CreatedAtNotIn(vs ...time.Time) predicate.ClientServer
- func Description(v string) predicate.ClientServer
- func DescriptionContains(v string) predicate.ClientServer
- func DescriptionContainsFold(v string) predicate.ClientServer
- func DescriptionEQ(v string) predicate.ClientServer
- func DescriptionEqualFold(v string) predicate.ClientServer
- func DescriptionGT(v string) predicate.ClientServer
- func DescriptionGTE(v string) predicate.ClientServer
- func DescriptionHasPrefix(v string) predicate.ClientServer
- func DescriptionHasSuffix(v string) predicate.ClientServer
- func DescriptionIn(vs ...string) predicate.ClientServer
- func DescriptionLT(v string) predicate.ClientServer
- func DescriptionLTE(v string) predicate.ClientServer
- func DescriptionNEQ(v string) predicate.ClientServer
- func DescriptionNotIn(vs ...string) predicate.ClientServer
- func HasEvents() predicate.ClientServer
- func HasEventsWith(preds ...predicate.Event) predicate.ClientServer
- func HasOwner() predicate.ClientServer
- func HasOwnerWith(preds ...predicate.User) predicate.ClientServer
- func ID(id int) predicate.ClientServer
- func IDEQ(id int) predicate.ClientServer
- func IDGT(id int) predicate.ClientServer
- func IDGTE(id int) predicate.ClientServer
- func IDIn(ids ...int) predicate.ClientServer
- func IDLT(id int) predicate.ClientServer
- func IDLTE(id int) predicate.ClientServer
- func IDNEQ(id int) predicate.ClientServer
- func IDNotIn(ids ...int) predicate.ClientServer
- func Link(v string) predicate.ClientServer
- func LinkContains(v string) predicate.ClientServer
- func LinkContainsFold(v string) predicate.ClientServer
- func LinkEQ(v string) predicate.ClientServer
- func LinkEqualFold(v string) predicate.ClientServer
- func LinkGT(v string) predicate.ClientServer
- func LinkGTE(v string) predicate.ClientServer
- func LinkHasPrefix(v string) predicate.ClientServer
- func LinkHasSuffix(v string) predicate.ClientServer
- func LinkIn(vs ...string) predicate.ClientServer
- func LinkLT(v string) predicate.ClientServer
- func LinkLTE(v string) predicate.ClientServer
- func LinkNEQ(v string) predicate.ClientServer
- func LinkNotIn(vs ...string) predicate.ClientServer
- func Not(p predicate.ClientServer) predicate.ClientServer
- func Or(predicates ...predicate.ClientServer) predicate.ClientServer
- func Token(v string) predicate.ClientServer
- func TokenContains(v string) predicate.ClientServer
- func TokenContainsFold(v string) predicate.ClientServer
- func TokenEQ(v string) predicate.ClientServer
- func TokenEqualFold(v string) predicate.ClientServer
- func TokenGT(v string) predicate.ClientServer
- func TokenGTE(v string) predicate.ClientServer
- func TokenHasPrefix(v string) predicate.ClientServer
- func TokenHasSuffix(v string) predicate.ClientServer
- func TokenIn(vs ...string) predicate.ClientServer
- func TokenLT(v string) predicate.ClientServer
- func TokenLTE(v string) predicate.ClientServer
- func TokenNEQ(v string) predicate.ClientServer
- func TokenNotIn(vs ...string) predicate.ClientServer
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the clientserver type in the database. Label = "client_server" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldClientName holds the string denoting the client_name field in the database. FieldClientName = "client_name" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldLink holds the string denoting the link field in the database. FieldLink = "link" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAvailable holds the string denoting the available field in the database. FieldAvailable = "available" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the clientserver in the database. Table = "client_servers" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_clientserver" // OwnerTable is the table the holds the owner relation/edge. The primary key declared below. OwnerTable = "client_server_owner" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" )
Variables ¶
var Columns = []string{ FieldID, FieldClientName, FieldToken, FieldLink, FieldDescription, FieldAvailable, FieldCreatedAt, }
Columns holds all SQL columns for clientserver fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var ( // OwnerPrimaryKey and OwnerColumn2 are the table columns denoting the // primary key for the owner relation (M2M). OwnerPrimaryKey = []string{"client_server_id", "user_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.ClientServer) predicate.ClientServer
And groups predicates with the AND operator between them.
func Available ¶
func Available(v bool) predicate.ClientServer
Available applies equality check predicate on the "available" field. It's identical to AvailableEQ.
func AvailableEQ ¶
func AvailableEQ(v bool) predicate.ClientServer
AvailableEQ applies the EQ predicate on the "available" field.
func AvailableNEQ ¶
func AvailableNEQ(v bool) predicate.ClientServer
AvailableNEQ applies the NEQ predicate on the "available" field.
func ClientName ¶
func ClientName(v string) predicate.ClientServer
ClientName applies equality check predicate on the "client_name" field. It's identical to ClientNameEQ.
func ClientNameContains ¶
func ClientNameContains(v string) predicate.ClientServer
ClientNameContains applies the Contains predicate on the "client_name" field.
func ClientNameContainsFold ¶
func ClientNameContainsFold(v string) predicate.ClientServer
ClientNameContainsFold applies the ContainsFold predicate on the "client_name" field.
func ClientNameEQ ¶
func ClientNameEQ(v string) predicate.ClientServer
ClientNameEQ applies the EQ predicate on the "client_name" field.
func ClientNameEqualFold ¶
func ClientNameEqualFold(v string) predicate.ClientServer
ClientNameEqualFold applies the EqualFold predicate on the "client_name" field.
func ClientNameGT ¶
func ClientNameGT(v string) predicate.ClientServer
ClientNameGT applies the GT predicate on the "client_name" field.
func ClientNameGTE ¶
func ClientNameGTE(v string) predicate.ClientServer
ClientNameGTE applies the GTE predicate on the "client_name" field.
func ClientNameHasPrefix ¶
func ClientNameHasPrefix(v string) predicate.ClientServer
ClientNameHasPrefix applies the HasPrefix predicate on the "client_name" field.
func ClientNameHasSuffix ¶
func ClientNameHasSuffix(v string) predicate.ClientServer
ClientNameHasSuffix applies the HasSuffix predicate on the "client_name" field.
func ClientNameIn ¶
func ClientNameIn(vs ...string) predicate.ClientServer
ClientNameIn applies the In predicate on the "client_name" field.
func ClientNameLT ¶
func ClientNameLT(v string) predicate.ClientServer
ClientNameLT applies the LT predicate on the "client_name" field.
func ClientNameLTE ¶
func ClientNameLTE(v string) predicate.ClientServer
ClientNameLTE applies the LTE predicate on the "client_name" field.
func ClientNameNEQ ¶
func ClientNameNEQ(v string) predicate.ClientServer
ClientNameNEQ applies the NEQ predicate on the "client_name" field.
func ClientNameNotIn ¶
func ClientNameNotIn(vs ...string) predicate.ClientServer
ClientNameNotIn applies the NotIn predicate on the "client_name" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ClientServer
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ClientServer
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ClientServer
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ClientServer
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ClientServer
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ClientServer
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ClientServer
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ClientServer
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ClientServer
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.ClientServer
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ClientServer
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ClientServer
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ClientServer
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ClientServer
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ClientServer
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ClientServer
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ClientServer
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ClientServer
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ClientServer
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ClientServer
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ClientServer
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ClientServer
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ClientServer
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasEvents ¶
func HasEvents() predicate.ClientServer
HasEvents applies the HasEdge predicate on the "events" edge.
func HasEventsWith ¶
func HasEventsWith(preds ...predicate.Event) predicate.ClientServer
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasOwner ¶
func HasOwner() predicate.ClientServer
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.ClientServer
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.ClientServer
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ClientServer
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ClientServer
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ClientServer
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ClientServer
IDNotIn applies the NotIn predicate on the ID field.
func Link ¶
func Link(v string) predicate.ClientServer
Link applies equality check predicate on the "link" field. It's identical to LinkEQ.
func LinkContains ¶
func LinkContains(v string) predicate.ClientServer
LinkContains applies the Contains predicate on the "link" field.
func LinkContainsFold ¶
func LinkContainsFold(v string) predicate.ClientServer
LinkContainsFold applies the ContainsFold predicate on the "link" field.
func LinkEQ ¶
func LinkEQ(v string) predicate.ClientServer
LinkEQ applies the EQ predicate on the "link" field.
func LinkEqualFold ¶
func LinkEqualFold(v string) predicate.ClientServer
LinkEqualFold applies the EqualFold predicate on the "link" field.
func LinkGT ¶
func LinkGT(v string) predicate.ClientServer
LinkGT applies the GT predicate on the "link" field.
func LinkGTE ¶
func LinkGTE(v string) predicate.ClientServer
LinkGTE applies the GTE predicate on the "link" field.
func LinkHasPrefix ¶
func LinkHasPrefix(v string) predicate.ClientServer
LinkHasPrefix applies the HasPrefix predicate on the "link" field.
func LinkHasSuffix ¶
func LinkHasSuffix(v string) predicate.ClientServer
LinkHasSuffix applies the HasSuffix predicate on the "link" field.
func LinkIn ¶
func LinkIn(vs ...string) predicate.ClientServer
LinkIn applies the In predicate on the "link" field.
func LinkLT ¶
func LinkLT(v string) predicate.ClientServer
LinkLT applies the LT predicate on the "link" field.
func LinkLTE ¶
func LinkLTE(v string) predicate.ClientServer
LinkLTE applies the LTE predicate on the "link" field.
func LinkNEQ ¶
func LinkNEQ(v string) predicate.ClientServer
LinkNEQ applies the NEQ predicate on the "link" field.
func LinkNotIn ¶
func LinkNotIn(vs ...string) predicate.ClientServer
LinkNotIn applies the NotIn predicate on the "link" field.
func Not ¶
func Not(p predicate.ClientServer) predicate.ClientServer
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ClientServer) predicate.ClientServer
Or groups predicates with the OR operator between them.
func Token ¶
func Token(v string) predicate.ClientServer
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
func TokenContains(v string) predicate.ClientServer
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
func TokenContainsFold(v string) predicate.ClientServer
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEQ ¶
func TokenEQ(v string) predicate.ClientServer
TokenEQ applies the EQ predicate on the "token" field.
func TokenEqualFold ¶
func TokenEqualFold(v string) predicate.ClientServer
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenGT ¶
func TokenGT(v string) predicate.ClientServer
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v string) predicate.ClientServer
TokenGTE applies the GTE predicate on the "token" field.
func TokenHasPrefix ¶
func TokenHasPrefix(v string) predicate.ClientServer
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
func TokenHasSuffix(v string) predicate.ClientServer
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...string) predicate.ClientServer
TokenIn applies the In predicate on the "token" field.
func TokenLT ¶
func TokenLT(v string) predicate.ClientServer
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v string) predicate.ClientServer
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v string) predicate.ClientServer
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...string) predicate.ClientServer
TokenNotIn applies the NotIn predicate on the "token" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.