Documentation
¶
Index ¶
- Constants
- Variables
- func AccountID(v uuid.UUID) predicate.Tennant
- func AccountIDEQ(v uuid.UUID) predicate.Tennant
- func AccountIDIn(vs ...uuid.UUID) predicate.Tennant
- func AccountIDNEQ(v uuid.UUID) predicate.Tennant
- func AccountIDNotIn(vs ...uuid.UUID) predicate.Tennant
- func And(predicates ...predicate.Tennant) predicate.Tennant
- func Cloud(v string) predicate.Tennant
- func CloudContains(v string) predicate.Tennant
- func CloudContainsFold(v string) predicate.Tennant
- func CloudEQ(v string) predicate.Tennant
- func CloudEqualFold(v string) predicate.Tennant
- func CloudGT(v string) predicate.Tennant
- func CloudGTE(v string) predicate.Tennant
- func CloudHasPrefix(v string) predicate.Tennant
- func CloudHasSuffix(v string) predicate.Tennant
- func CloudIn(vs ...string) predicate.Tennant
- func CloudLT(v string) predicate.Tennant
- func CloudLTE(v string) predicate.Tennant
- func CloudNEQ(v string) predicate.Tennant
- func CloudNotIn(vs ...string) predicate.Tennant
- func CreatedAt(v time.Time) predicate.Tennant
- func CreatedAtEQ(v time.Time) predicate.Tennant
- func CreatedAtGT(v time.Time) predicate.Tennant
- func CreatedAtGTE(v time.Time) predicate.Tennant
- func CreatedAtIn(vs ...time.Time) predicate.Tennant
- func CreatedAtLT(v time.Time) predicate.Tennant
- func CreatedAtLTE(v time.Time) predicate.Tennant
- func CreatedAtNEQ(v time.Time) predicate.Tennant
- func CreatedAtNotIn(vs ...time.Time) predicate.Tennant
- func ExternalId(v string) predicate.Tennant
- func ExternalIdContains(v string) predicate.Tennant
- func ExternalIdContainsFold(v string) predicate.Tennant
- func ExternalIdEQ(v string) predicate.Tennant
- func ExternalIdEqualFold(v string) predicate.Tennant
- func ExternalIdGT(v string) predicate.Tennant
- func ExternalIdGTE(v string) predicate.Tennant
- func ExternalIdHasPrefix(v string) predicate.Tennant
- func ExternalIdHasSuffix(v string) predicate.Tennant
- func ExternalIdIn(vs ...string) predicate.Tennant
- func ExternalIdLT(v string) predicate.Tennant
- func ExternalIdLTE(v string) predicate.Tennant
- func ExternalIdNEQ(v string) predicate.Tennant
- func ExternalIdNotIn(vs ...string) predicate.Tennant
- func HasAccount() predicate.Tennant
- func HasAccountWith(preds ...predicate.Account) predicate.Tennant
- func ID(id uuid.UUID) predicate.Tennant
- func IDEQ(id uuid.UUID) predicate.Tennant
- func IDGT(id uuid.UUID) predicate.Tennant
- func IDGTE(id uuid.UUID) predicate.Tennant
- func IDIn(ids ...uuid.UUID) predicate.Tennant
- func IDLT(id uuid.UUID) predicate.Tennant
- func IDLTE(id uuid.UUID) predicate.Tennant
- func IDNEQ(id uuid.UUID) predicate.Tennant
- func IDNotIn(ids ...uuid.UUID) predicate.Tennant
- func Not(p predicate.Tennant) predicate.Tennant
- func Or(predicates ...predicate.Tennant) predicate.Tennant
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the tennant type in the database. Label = "tennant" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldExternalId holds the string denoting the externalid field in the database. FieldExternalId = "external_id" // FieldCloud holds the string denoting the cloud field in the database. FieldCloud = "cloud" // FieldAccountID holds the string denoting the account_id field in the database. FieldAccountID = "account_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeAccount holds the string denoting the account edge name in mutations. EdgeAccount = "account" // Table holds the table name of the tennant in the database. Table = "tennants" // AccountTable is the table that holds the account relation/edge. AccountTable = "tennants" // AccountInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "account" package. AccountInverseTable = "accounts" // AccountColumn is the table column denoting the account relation/edge. AccountColumn = "account_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldExternalId, FieldCloud, FieldAccountID, FieldCreatedAt, }
Columns holds all SQL columns for tennant fields.
Functions ¶
func AccountID ¶
AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.
func AccountIDEQ ¶
AccountIDEQ applies the EQ predicate on the "account_id" field.
func AccountIDIn ¶
AccountIDIn applies the In predicate on the "account_id" field.
func AccountIDNEQ ¶
AccountIDNEQ applies the NEQ predicate on the "account_id" field.
func AccountIDNotIn ¶
AccountIDNotIn applies the NotIn predicate on the "account_id" field.
func Cloud ¶
Cloud applies equality check predicate on the "cloud" field. It's identical to CloudEQ.
func CloudContains ¶
CloudContains applies the Contains predicate on the "cloud" field.
func CloudContainsFold ¶
CloudContainsFold applies the ContainsFold predicate on the "cloud" field.
func CloudEqualFold ¶
CloudEqualFold applies the EqualFold predicate on the "cloud" field.
func CloudHasPrefix ¶
CloudHasPrefix applies the HasPrefix predicate on the "cloud" field.
func CloudHasSuffix ¶
CloudHasSuffix applies the HasSuffix predicate on the "cloud" field.
func CloudNotIn ¶
CloudNotIn applies the NotIn predicate on the "cloud" field.
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 ExternalId ¶
ExternalId applies equality check predicate on the "externalId" field. It's identical to ExternalIdEQ.
func ExternalIdContains ¶
ExternalIdContains applies the Contains predicate on the "externalId" field.
func ExternalIdContainsFold ¶
ExternalIdContainsFold applies the ContainsFold predicate on the "externalId" field.
func ExternalIdEQ ¶
ExternalIdEQ applies the EQ predicate on the "externalId" field.
func ExternalIdEqualFold ¶
ExternalIdEqualFold applies the EqualFold predicate on the "externalId" field.
func ExternalIdGT ¶
ExternalIdGT applies the GT predicate on the "externalId" field.
func ExternalIdGTE ¶
ExternalIdGTE applies the GTE predicate on the "externalId" field.
func ExternalIdHasPrefix ¶
ExternalIdHasPrefix applies the HasPrefix predicate on the "externalId" field.
func ExternalIdHasSuffix ¶
ExternalIdHasSuffix applies the HasSuffix predicate on the "externalId" field.
func ExternalIdIn ¶
ExternalIdIn applies the In predicate on the "externalId" field.
func ExternalIdLT ¶
ExternalIdLT applies the LT predicate on the "externalId" field.
func ExternalIdLTE ¶
ExternalIdLTE applies the LTE predicate on the "externalId" field.
func ExternalIdNEQ ¶
ExternalIdNEQ applies the NEQ predicate on the "externalId" field.
func ExternalIdNotIn ¶
ExternalIdNotIn applies the NotIn predicate on the "externalId" field.
func HasAccount ¶
HasAccount applies the HasEdge predicate on the "account" edge.
func HasAccountWith ¶
HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.