Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PersonalAccessToken) predicate.PersonalAccessToken
- func CreatedAt(v time.Time) predicate.PersonalAccessToken
- func CreatedAtEQ(v time.Time) predicate.PersonalAccessToken
- func CreatedAtGT(v time.Time) predicate.PersonalAccessToken
- func CreatedAtGTE(v time.Time) predicate.PersonalAccessToken
- func CreatedAtIn(vs ...time.Time) predicate.PersonalAccessToken
- func CreatedAtIsNil() predicate.PersonalAccessToken
- func CreatedAtLT(v time.Time) predicate.PersonalAccessToken
- func CreatedAtLTE(v time.Time) predicate.PersonalAccessToken
- func CreatedAtNEQ(v time.Time) predicate.PersonalAccessToken
- func CreatedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
- func CreatedAtNotNil() predicate.PersonalAccessToken
- func CreatedBy(v string) predicate.PersonalAccessToken
- func CreatedByContains(v string) predicate.PersonalAccessToken
- func CreatedByContainsFold(v string) predicate.PersonalAccessToken
- func CreatedByEQ(v string) predicate.PersonalAccessToken
- func CreatedByEqualFold(v string) predicate.PersonalAccessToken
- func CreatedByGT(v string) predicate.PersonalAccessToken
- func CreatedByGTE(v string) predicate.PersonalAccessToken
- func CreatedByHasPrefix(v string) predicate.PersonalAccessToken
- func CreatedByHasSuffix(v string) predicate.PersonalAccessToken
- func CreatedByIn(vs ...string) predicate.PersonalAccessToken
- func CreatedByIsNil() predicate.PersonalAccessToken
- func CreatedByLT(v string) predicate.PersonalAccessToken
- func CreatedByLTE(v string) predicate.PersonalAccessToken
- func CreatedByNEQ(v string) predicate.PersonalAccessToken
- func CreatedByNotIn(vs ...string) predicate.PersonalAccessToken
- func CreatedByNotNil() predicate.PersonalAccessToken
- func DeletedAt(v time.Time) predicate.PersonalAccessToken
- func DeletedAtEQ(v time.Time) predicate.PersonalAccessToken
- func DeletedAtGT(v time.Time) predicate.PersonalAccessToken
- func DeletedAtGTE(v time.Time) predicate.PersonalAccessToken
- func DeletedAtIn(vs ...time.Time) predicate.PersonalAccessToken
- func DeletedAtIsNil() predicate.PersonalAccessToken
- func DeletedAtLT(v time.Time) predicate.PersonalAccessToken
- func DeletedAtLTE(v time.Time) predicate.PersonalAccessToken
- func DeletedAtNEQ(v time.Time) predicate.PersonalAccessToken
- func DeletedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
- func DeletedAtNotNil() predicate.PersonalAccessToken
- func DeletedBy(v string) predicate.PersonalAccessToken
- func DeletedByContains(v string) predicate.PersonalAccessToken
- func DeletedByContainsFold(v string) predicate.PersonalAccessToken
- func DeletedByEQ(v string) predicate.PersonalAccessToken
- func DeletedByEqualFold(v string) predicate.PersonalAccessToken
- func DeletedByGT(v string) predicate.PersonalAccessToken
- func DeletedByGTE(v string) predicate.PersonalAccessToken
- func DeletedByHasPrefix(v string) predicate.PersonalAccessToken
- func DeletedByHasSuffix(v string) predicate.PersonalAccessToken
- func DeletedByIn(vs ...string) predicate.PersonalAccessToken
- func DeletedByIsNil() predicate.PersonalAccessToken
- func DeletedByLT(v string) predicate.PersonalAccessToken
- func DeletedByLTE(v string) predicate.PersonalAccessToken
- func DeletedByNEQ(v string) predicate.PersonalAccessToken
- func DeletedByNotIn(vs ...string) predicate.PersonalAccessToken
- func DeletedByNotNil() predicate.PersonalAccessToken
- func Description(v string) predicate.PersonalAccessToken
- func DescriptionContains(v string) predicate.PersonalAccessToken
- func DescriptionContainsFold(v string) predicate.PersonalAccessToken
- func DescriptionEQ(v string) predicate.PersonalAccessToken
- func DescriptionEqualFold(v string) predicate.PersonalAccessToken
- func DescriptionGT(v string) predicate.PersonalAccessToken
- func DescriptionGTE(v string) predicate.PersonalAccessToken
- func DescriptionHasPrefix(v string) predicate.PersonalAccessToken
- func DescriptionHasSuffix(v string) predicate.PersonalAccessToken
- func DescriptionIn(vs ...string) predicate.PersonalAccessToken
- func DescriptionIsNil() predicate.PersonalAccessToken
- func DescriptionLT(v string) predicate.PersonalAccessToken
- func DescriptionLTE(v string) predicate.PersonalAccessToken
- func DescriptionNEQ(v string) predicate.PersonalAccessToken
- func DescriptionNotIn(vs ...string) predicate.PersonalAccessToken
- func DescriptionNotNil() predicate.PersonalAccessToken
- func ExpiresAt(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtEQ(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtGT(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtGTE(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtIn(vs ...time.Time) predicate.PersonalAccessToken
- func ExpiresAtIsNil() predicate.PersonalAccessToken
- func ExpiresAtLT(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtLTE(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtNEQ(v time.Time) predicate.PersonalAccessToken
- func ExpiresAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
- func ExpiresAtNotNil() predicate.PersonalAccessToken
- func HasEvents() predicate.PersonalAccessToken
- func HasEventsWith(preds ...predicate.Event) predicate.PersonalAccessToken
- func HasOrganizations() predicate.PersonalAccessToken
- func HasOrganizationsWith(preds ...predicate.Organization) predicate.PersonalAccessToken
- func HasOwner() predicate.PersonalAccessToken
- func HasOwnerWith(preds ...predicate.User) predicate.PersonalAccessToken
- func ID(id string) predicate.PersonalAccessToken
- func IDContainsFold(id string) predicate.PersonalAccessToken
- func IDEQ(id string) predicate.PersonalAccessToken
- func IDEqualFold(id string) predicate.PersonalAccessToken
- func IDGT(id string) predicate.PersonalAccessToken
- func IDGTE(id string) predicate.PersonalAccessToken
- func IDIn(ids ...string) predicate.PersonalAccessToken
- func IDLT(id string) predicate.PersonalAccessToken
- func IDLTE(id string) predicate.PersonalAccessToken
- func IDNEQ(id string) predicate.PersonalAccessToken
- func IDNotIn(ids ...string) predicate.PersonalAccessToken
- func LastUsedAt(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtEQ(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtGT(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtGTE(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtIn(vs ...time.Time) predicate.PersonalAccessToken
- func LastUsedAtIsNil() predicate.PersonalAccessToken
- func LastUsedAtLT(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtLTE(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtNEQ(v time.Time) predicate.PersonalAccessToken
- func LastUsedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
- func LastUsedAtNotNil() predicate.PersonalAccessToken
- func MappingID(v string) predicate.PersonalAccessToken
- func MappingIDContains(v string) predicate.PersonalAccessToken
- func MappingIDContainsFold(v string) predicate.PersonalAccessToken
- func MappingIDEQ(v string) predicate.PersonalAccessToken
- func MappingIDEqualFold(v string) predicate.PersonalAccessToken
- func MappingIDGT(v string) predicate.PersonalAccessToken
- func MappingIDGTE(v string) predicate.PersonalAccessToken
- func MappingIDHasPrefix(v string) predicate.PersonalAccessToken
- func MappingIDHasSuffix(v string) predicate.PersonalAccessToken
- func MappingIDIn(vs ...string) predicate.PersonalAccessToken
- func MappingIDLT(v string) predicate.PersonalAccessToken
- func MappingIDLTE(v string) predicate.PersonalAccessToken
- func MappingIDNEQ(v string) predicate.PersonalAccessToken
- func MappingIDNotIn(vs ...string) predicate.PersonalAccessToken
- func Name(v string) predicate.PersonalAccessToken
- func NameContains(v string) predicate.PersonalAccessToken
- func NameContainsFold(v string) predicate.PersonalAccessToken
- func NameEQ(v string) predicate.PersonalAccessToken
- func NameEqualFold(v string) predicate.PersonalAccessToken
- func NameGT(v string) predicate.PersonalAccessToken
- func NameGTE(v string) predicate.PersonalAccessToken
- func NameHasPrefix(v string) predicate.PersonalAccessToken
- func NameHasSuffix(v string) predicate.PersonalAccessToken
- func NameIn(vs ...string) predicate.PersonalAccessToken
- func NameLT(v string) predicate.PersonalAccessToken
- func NameLTE(v string) predicate.PersonalAccessToken
- func NameNEQ(v string) predicate.PersonalAccessToken
- func NameNotIn(vs ...string) predicate.PersonalAccessToken
- func Not(p predicate.PersonalAccessToken) predicate.PersonalAccessToken
- func Or(predicates ...predicate.PersonalAccessToken) predicate.PersonalAccessToken
- func OwnerID(v string) predicate.PersonalAccessToken
- func OwnerIDContains(v string) predicate.PersonalAccessToken
- func OwnerIDContainsFold(v string) predicate.PersonalAccessToken
- func OwnerIDEQ(v string) predicate.PersonalAccessToken
- func OwnerIDEqualFold(v string) predicate.PersonalAccessToken
- func OwnerIDGT(v string) predicate.PersonalAccessToken
- func OwnerIDGTE(v string) predicate.PersonalAccessToken
- func OwnerIDHasPrefix(v string) predicate.PersonalAccessToken
- func OwnerIDHasSuffix(v string) predicate.PersonalAccessToken
- func OwnerIDIn(vs ...string) predicate.PersonalAccessToken
- func OwnerIDLT(v string) predicate.PersonalAccessToken
- func OwnerIDLTE(v string) predicate.PersonalAccessToken
- func OwnerIDNEQ(v string) predicate.PersonalAccessToken
- func OwnerIDNotIn(vs ...string) predicate.PersonalAccessToken
- func ScopesIsNil() predicate.PersonalAccessToken
- func ScopesNotNil() predicate.PersonalAccessToken
- func TagsIsNil() predicate.PersonalAccessToken
- func TagsNotNil() predicate.PersonalAccessToken
- func Token(v string) predicate.PersonalAccessToken
- func TokenContains(v string) predicate.PersonalAccessToken
- func TokenContainsFold(v string) predicate.PersonalAccessToken
- func TokenEQ(v string) predicate.PersonalAccessToken
- func TokenEqualFold(v string) predicate.PersonalAccessToken
- func TokenGT(v string) predicate.PersonalAccessToken
- func TokenGTE(v string) predicate.PersonalAccessToken
- func TokenHasPrefix(v string) predicate.PersonalAccessToken
- func TokenHasSuffix(v string) predicate.PersonalAccessToken
- func TokenIn(vs ...string) predicate.PersonalAccessToken
- func TokenLT(v string) predicate.PersonalAccessToken
- func TokenLTE(v string) predicate.PersonalAccessToken
- func TokenNEQ(v string) predicate.PersonalAccessToken
- func TokenNotIn(vs ...string) predicate.PersonalAccessToken
- func UpdatedAt(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtEQ(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtGT(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtGTE(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtIn(vs ...time.Time) predicate.PersonalAccessToken
- func UpdatedAtIsNil() predicate.PersonalAccessToken
- func UpdatedAtLT(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtLTE(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtNEQ(v time.Time) predicate.PersonalAccessToken
- func UpdatedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
- func UpdatedAtNotNil() predicate.PersonalAccessToken
- func UpdatedBy(v string) predicate.PersonalAccessToken
- func UpdatedByContains(v string) predicate.PersonalAccessToken
- func UpdatedByContainsFold(v string) predicate.PersonalAccessToken
- func UpdatedByEQ(v string) predicate.PersonalAccessToken
- func UpdatedByEqualFold(v string) predicate.PersonalAccessToken
- func UpdatedByGT(v string) predicate.PersonalAccessToken
- func UpdatedByGTE(v string) predicate.PersonalAccessToken
- func UpdatedByHasPrefix(v string) predicate.PersonalAccessToken
- func UpdatedByHasSuffix(v string) predicate.PersonalAccessToken
- func UpdatedByIn(vs ...string) predicate.PersonalAccessToken
- func UpdatedByIsNil() predicate.PersonalAccessToken
- func UpdatedByLT(v string) predicate.PersonalAccessToken
- func UpdatedByLTE(v string) predicate.PersonalAccessToken
- func UpdatedByNEQ(v string) predicate.PersonalAccessToken
- func UpdatedByNotIn(vs ...string) predicate.PersonalAccessToken
- func UpdatedByNotNil() predicate.PersonalAccessToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the personalaccesstoken type in the database. Label = "personal_access_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldScopes holds the string denoting the scopes field in the database. FieldScopes = "scopes" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeOrganizations holds the string denoting the organizations edge name in mutations. EdgeOrganizations = "organizations" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the personalaccesstoken in the database. Table = "personal_access_tokens" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "personal_access_tokens" // 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" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // OrganizationsTable is the table that holds the organizations relation/edge. The primary key declared below. OrganizationsTable = "organization_personal_access_tokens" // OrganizationsInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationsInverseTable = "organizations" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "personal_access_token_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" )
Variables ¶
var ( // OrganizationsPrimaryKey and OrganizationsColumn2 are the table columns denoting the // primary key for the organizations relation (M2M). OrganizationsPrimaryKey = []string{"organization_id", "personal_access_token_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"personal_access_token_id", "event_id"} )
var ( Hooks [6]ent.Hook Interceptors [3]ent.Interceptor Policy ent.Policy // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultToken holds the default value on creation for the "token" field. DefaultToken func() string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldOwnerID, FieldName, FieldToken, FieldExpiresAt, FieldDescription, FieldScopes, FieldLastUsedAt, }
Columns holds all SQL columns for personalaccesstoken fields.
Functions ¶
func And ¶
func And(predicates ...predicate.PersonalAccessToken) predicate.PersonalAccessToken
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.PersonalAccessToken
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.PersonalAccessToken
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.PersonalAccessToken
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.PersonalAccessToken
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.PersonalAccessToken
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.PersonalAccessToken
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.PersonalAccessToken
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.PersonalAccessToken
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.PersonalAccessToken
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.PersonalAccessToken
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.PersonalAccessToken
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.PersonalAccessToken
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.PersonalAccessToken
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.PersonalAccessToken
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.PersonalAccessToken
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.PersonalAccessToken
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.PersonalAccessToken
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.PersonalAccessToken
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.PersonalAccessToken
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.PersonalAccessToken
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.PersonalAccessToken
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.PersonalAccessToken
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.PersonalAccessToken
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.PersonalAccessToken
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.PersonalAccessToken
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.PersonalAccessToken
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.PersonalAccessToken
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.PersonalAccessToken
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.PersonalAccessToken
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.PersonalAccessToken
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.PersonalAccessToken
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.PersonalAccessToken
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.PersonalAccessToken
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.PersonalAccessToken
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.PersonalAccessToken
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.PersonalAccessToken
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.PersonalAccessToken
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.PersonalAccessToken
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.PersonalAccessToken
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.PersonalAccessToken
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.PersonalAccessToken
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.PersonalAccessToken
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.PersonalAccessToken
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.PersonalAccessToken
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.PersonalAccessToken
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.PersonalAccessToken
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.PersonalAccessToken
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.PersonalAccessToken
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.PersonalAccessToken
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.PersonalAccessToken
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.PersonalAccessToken
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.PersonalAccessToken
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
func Description(v string) predicate.PersonalAccessToken
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.PersonalAccessToken
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.PersonalAccessToken
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.PersonalAccessToken
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.PersonalAccessToken
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.PersonalAccessToken
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.PersonalAccessToken
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.PersonalAccessToken
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.PersonalAccessToken
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.PersonalAccessToken
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.PersonalAccessToken
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.PersonalAccessToken
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.PersonalAccessToken
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.PersonalAccessToken
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.PersonalAccessToken
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.PersonalAccessToken
DescriptionNotNil applies the NotNil predicate on the "description" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.PersonalAccessToken
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.PersonalAccessToken
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.PersonalAccessToken
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.PersonalAccessToken
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.PersonalAccessToken
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.PersonalAccessToken
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.PersonalAccessToken
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.PersonalAccessToken
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.PersonalAccessToken
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.PersonalAccessToken
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func HasEvents ¶
func HasEvents() predicate.PersonalAccessToken
HasEvents applies the HasEdge predicate on the "events" edge.
func HasEventsWith ¶
func HasEventsWith(preds ...predicate.Event) predicate.PersonalAccessToken
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasOrganizations ¶
func HasOrganizations() predicate.PersonalAccessToken
HasOrganizations applies the HasEdge predicate on the "organizations" edge.
func HasOrganizationsWith ¶
func HasOrganizationsWith(preds ...predicate.Organization) predicate.PersonalAccessToken
HasOrganizationsWith applies the HasEdge predicate on the "organizations" edge with a given conditions (other predicates).
func HasOwner ¶
func HasOwner() predicate.PersonalAccessToken
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.PersonalAccessToken
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.PersonalAccessToken
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.PersonalAccessToken
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.PersonalAccessToken
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.PersonalAccessToken
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.PersonalAccessToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.PersonalAccessToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.PersonalAccessToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.PersonalAccessToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.PersonalAccessToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.PersonalAccessToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.PersonalAccessToken
IDNotIn applies the NotIn predicate on the ID field.
func LastUsedAt ¶
func LastUsedAt(v time.Time) predicate.PersonalAccessToken
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
func LastUsedAtEQ(v time.Time) predicate.PersonalAccessToken
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
func LastUsedAtGT(v time.Time) predicate.PersonalAccessToken
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
func LastUsedAtGTE(v time.Time) predicate.PersonalAccessToken
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
func LastUsedAtIn(vs ...time.Time) predicate.PersonalAccessToken
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
func LastUsedAtIsNil() predicate.PersonalAccessToken
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
func LastUsedAtLT(v time.Time) predicate.PersonalAccessToken
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
func LastUsedAtLTE(v time.Time) predicate.PersonalAccessToken
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
func LastUsedAtNEQ(v time.Time) predicate.PersonalAccessToken
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
func LastUsedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
func LastUsedAtNotNil() predicate.PersonalAccessToken
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func MappingID ¶
func MappingID(v string) predicate.PersonalAccessToken
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.PersonalAccessToken
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.PersonalAccessToken
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.PersonalAccessToken
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.PersonalAccessToken
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.PersonalAccessToken
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.PersonalAccessToken
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.PersonalAccessToken
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.PersonalAccessToken
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.PersonalAccessToken
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.PersonalAccessToken
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.PersonalAccessToken
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.PersonalAccessToken
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.PersonalAccessToken
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Name ¶
func Name(v string) predicate.PersonalAccessToken
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.PersonalAccessToken
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.PersonalAccessToken
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.PersonalAccessToken
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.PersonalAccessToken
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.PersonalAccessToken
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.PersonalAccessToken
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.PersonalAccessToken
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.PersonalAccessToken
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.PersonalAccessToken
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.PersonalAccessToken
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.PersonalAccessToken
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.PersonalAccessToken
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.PersonalAccessToken
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.PersonalAccessToken) predicate.PersonalAccessToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PersonalAccessToken) predicate.PersonalAccessToken
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.PersonalAccessToken
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.PersonalAccessToken
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.PersonalAccessToken
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.PersonalAccessToken
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.PersonalAccessToken
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.PersonalAccessToken
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.PersonalAccessToken
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.PersonalAccessToken
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.PersonalAccessToken
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.PersonalAccessToken
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.PersonalAccessToken
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.PersonalAccessToken
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.PersonalAccessToken
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.PersonalAccessToken
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func ScopesIsNil ¶
func ScopesIsNil() predicate.PersonalAccessToken
ScopesIsNil applies the IsNil predicate on the "scopes" field.
func ScopesNotNil ¶
func ScopesNotNil() predicate.PersonalAccessToken
ScopesNotNil applies the NotNil predicate on the "scopes" field.
func TagsIsNil ¶
func TagsIsNil() predicate.PersonalAccessToken
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.PersonalAccessToken
TagsNotNil applies the NotNil predicate on the "tags" field.
func Token ¶
func Token(v string) predicate.PersonalAccessToken
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
func TokenContains(v string) predicate.PersonalAccessToken
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
func TokenContainsFold(v string) predicate.PersonalAccessToken
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEQ ¶
func TokenEQ(v string) predicate.PersonalAccessToken
TokenEQ applies the EQ predicate on the "token" field.
func TokenEqualFold ¶
func TokenEqualFold(v string) predicate.PersonalAccessToken
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenGT ¶
func TokenGT(v string) predicate.PersonalAccessToken
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v string) predicate.PersonalAccessToken
TokenGTE applies the GTE predicate on the "token" field.
func TokenHasPrefix ¶
func TokenHasPrefix(v string) predicate.PersonalAccessToken
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
func TokenHasSuffix(v string) predicate.PersonalAccessToken
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...string) predicate.PersonalAccessToken
TokenIn applies the In predicate on the "token" field.
func TokenLT ¶
func TokenLT(v string) predicate.PersonalAccessToken
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v string) predicate.PersonalAccessToken
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v string) predicate.PersonalAccessToken
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...string) predicate.PersonalAccessToken
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.PersonalAccessToken
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.PersonalAccessToken
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.PersonalAccessToken
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.PersonalAccessToken
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.PersonalAccessToken
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.PersonalAccessToken
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.PersonalAccessToken
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.PersonalAccessToken
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.PersonalAccessToken
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.PersonalAccessToken
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.PersonalAccessToken
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.PersonalAccessToken
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.PersonalAccessToken
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.PersonalAccessToken
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.PersonalAccessToken
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.PersonalAccessToken
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.PersonalAccessToken
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.PersonalAccessToken
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.PersonalAccessToken
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.PersonalAccessToken
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.PersonalAccessToken
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.PersonalAccessToken
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.PersonalAccessToken
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.PersonalAccessToken
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.PersonalAccessToken
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.PersonalAccessToken
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.PersonalAccessToken
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the PersonalAccessToken queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastUsedAt ¶
func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
ByLastUsedAt orders the results by the last_used_at field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganizations ¶
func ByOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganizations orders the results by organizations terms.
func ByOrganizationsCount ¶
func ByOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationsCount orders the results by organizations count.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.