Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ApiKey) predicate.ApiKey
- func ArchivedAt(v time.Time) predicate.ApiKey
- func ArchivedAtEQ(v time.Time) predicate.ApiKey
- func ArchivedAtGT(v time.Time) predicate.ApiKey
- func ArchivedAtGTE(v time.Time) predicate.ApiKey
- func ArchivedAtIn(vs ...time.Time) predicate.ApiKey
- func ArchivedAtIsNil() predicate.ApiKey
- func ArchivedAtLT(v time.Time) predicate.ApiKey
- func ArchivedAtLTE(v time.Time) predicate.ApiKey
- func ArchivedAtNEQ(v time.Time) predicate.ApiKey
- func ArchivedAtNotIn(vs ...time.Time) predicate.ApiKey
- func ArchivedAtNotNil() predicate.ApiKey
- func CreatedAt(v time.Time) predicate.ApiKey
- func CreatedAtEQ(v time.Time) predicate.ApiKey
- func CreatedAtGT(v time.Time) predicate.ApiKey
- func CreatedAtGTE(v time.Time) predicate.ApiKey
- func CreatedAtIn(vs ...time.Time) predicate.ApiKey
- func CreatedAtIsNil() predicate.ApiKey
- func CreatedAtLT(v time.Time) predicate.ApiKey
- func CreatedAtLTE(v time.Time) predicate.ApiKey
- func CreatedAtNEQ(v time.Time) predicate.ApiKey
- func CreatedAtNotIn(vs ...time.Time) predicate.ApiKey
- func CreatedAtNotNil() predicate.ApiKey
- func CreatedByID(v uuid.UUID) predicate.ApiKey
- func CreatedByIDEQ(v uuid.UUID) predicate.ApiKey
- func CreatedByIDGT(v uuid.UUID) predicate.ApiKey
- func CreatedByIDGTE(v uuid.UUID) predicate.ApiKey
- func CreatedByIDIn(vs ...uuid.UUID) predicate.ApiKey
- func CreatedByIDIsNil() predicate.ApiKey
- func CreatedByIDLT(v uuid.UUID) predicate.ApiKey
- func CreatedByIDLTE(v uuid.UUID) predicate.ApiKey
- func CreatedByIDNEQ(v uuid.UUID) predicate.ApiKey
- func CreatedByIDNotIn(vs ...uuid.UUID) predicate.ApiKey
- func CreatedByIDNotNil() predicate.ApiKey
- func DailyLimit(v int) predicate.ApiKey
- func DailyLimitEQ(v int) predicate.ApiKey
- func DailyLimitGT(v int) predicate.ApiKey
- func DailyLimitGTE(v int) predicate.ApiKey
- func DailyLimitIn(vs ...int) predicate.ApiKey
- func DailyLimitLT(v int) predicate.ApiKey
- func DailyLimitLTE(v int) predicate.ApiKey
- func DailyLimitNEQ(v int) predicate.ApiKey
- func DailyLimitNotIn(vs ...int) predicate.ApiKey
- func DataFiltersIsNil() predicate.ApiKey
- func DataFiltersNotNil() predicate.ApiKey
- func DeletedAt(v time.Time) predicate.ApiKey
- func DeletedAtEQ(v time.Time) predicate.ApiKey
- func DeletedAtGT(v time.Time) predicate.ApiKey
- func DeletedAtGTE(v time.Time) predicate.ApiKey
- func DeletedAtIn(vs ...time.Time) predicate.ApiKey
- func DeletedAtIsNil() predicate.ApiKey
- func DeletedAtLT(v time.Time) predicate.ApiKey
- func DeletedAtLTE(v time.Time) predicate.ApiKey
- func DeletedAtNEQ(v time.Time) predicate.ApiKey
- func DeletedAtNotIn(vs ...time.Time) predicate.ApiKey
- func DeletedAtNotNil() predicate.ApiKey
- func DeletedByID(v uuid.UUID) predicate.ApiKey
- func DeletedByIDEQ(v uuid.UUID) predicate.ApiKey
- func DeletedByIDGT(v uuid.UUID) predicate.ApiKey
- func DeletedByIDGTE(v uuid.UUID) predicate.ApiKey
- func DeletedByIDIn(vs ...uuid.UUID) predicate.ApiKey
- func DeletedByIDIsNil() predicate.ApiKey
- func DeletedByIDLT(v uuid.UUID) predicate.ApiKey
- func DeletedByIDLTE(v uuid.UUID) predicate.ApiKey
- func DeletedByIDNEQ(v uuid.UUID) predicate.ApiKey
- func DeletedByIDNotIn(vs ...uuid.UUID) predicate.ApiKey
- func DeletedByIDNotNil() predicate.ApiKey
- func Description(v string) predicate.ApiKey
- func DescriptionContains(v string) predicate.ApiKey
- func DescriptionContainsFold(v string) predicate.ApiKey
- func DescriptionEQ(v string) predicate.ApiKey
- func DescriptionEqualFold(v string) predicate.ApiKey
- func DescriptionGT(v string) predicate.ApiKey
- func DescriptionGTE(v string) predicate.ApiKey
- func DescriptionHasPrefix(v string) predicate.ApiKey
- func DescriptionHasSuffix(v string) predicate.ApiKey
- func DescriptionIn(vs ...string) predicate.ApiKey
- func DescriptionIsNil() predicate.ApiKey
- func DescriptionLT(v string) predicate.ApiKey
- func DescriptionLTE(v string) predicate.ApiKey
- func DescriptionNEQ(v string) predicate.ApiKey
- func DescriptionNotIn(vs ...string) predicate.ApiKey
- func DescriptionNotNil() predicate.ApiKey
- func ExpiresAt(v time.Time) predicate.ApiKey
- func ExpiresAtEQ(v time.Time) predicate.ApiKey
- func ExpiresAtGT(v time.Time) predicate.ApiKey
- func ExpiresAtGTE(v time.Time) predicate.ApiKey
- func ExpiresAtIn(vs ...time.Time) predicate.ApiKey
- func ExpiresAtIsNil() predicate.ApiKey
- func ExpiresAtLT(v time.Time) predicate.ApiKey
- func ExpiresAtLTE(v time.Time) predicate.ApiKey
- func ExpiresAtNEQ(v time.Time) predicate.ApiKey
- func ExpiresAtNotIn(vs ...time.Time) predicate.ApiKey
- func ExpiresAtNotNil() predicate.ApiKey
- func HasOwner() predicate.ApiKey
- func HasOwnerWith(preds ...predicate.User) predicate.ApiKey
- func HasRole() predicate.ApiKey
- func HasRoleWith(preds ...predicate.Role) predicate.ApiKey
- func ID(id uuid.UUID) predicate.ApiKey
- func IDEQ(id uuid.UUID) predicate.ApiKey
- func IDGT(id uuid.UUID) predicate.ApiKey
- func IDGTE(id uuid.UUID) predicate.ApiKey
- func IDIn(ids ...uuid.UUID) predicate.ApiKey
- func IDLT(id uuid.UUID) predicate.ApiKey
- func IDLTE(id uuid.UUID) predicate.ApiKey
- func IDNEQ(id uuid.UUID) predicate.ApiKey
- func IDNotIn(ids ...uuid.UUID) predicate.ApiKey
- func IsActive(v bool) predicate.ApiKey
- func IsActiveEQ(v bool) predicate.ApiKey
- func IsActiveNEQ(v bool) predicate.ApiKey
- func Key(v string) predicate.ApiKey
- func KeyContains(v string) predicate.ApiKey
- func KeyContainsFold(v string) predicate.ApiKey
- func KeyEQ(v string) predicate.ApiKey
- func KeyEqualFold(v string) predicate.ApiKey
- func KeyGT(v string) predicate.ApiKey
- func KeyGTE(v string) predicate.ApiKey
- func KeyHasPrefix(v string) predicate.ApiKey
- func KeyHasSuffix(v string) predicate.ApiKey
- func KeyIn(vs ...string) predicate.ApiKey
- func KeyLT(v string) predicate.ApiKey
- func KeyLTE(v string) predicate.ApiKey
- func KeyNEQ(v string) predicate.ApiKey
- func KeyNotIn(vs ...string) predicate.ApiKey
- func LastUsedAt(v time.Time) predicate.ApiKey
- func LastUsedAtEQ(v time.Time) predicate.ApiKey
- func LastUsedAtGT(v time.Time) predicate.ApiKey
- func LastUsedAtGTE(v time.Time) predicate.ApiKey
- func LastUsedAtIn(vs ...time.Time) predicate.ApiKey
- func LastUsedAtIsNil() predicate.ApiKey
- func LastUsedAtLT(v time.Time) predicate.ApiKey
- func LastUsedAtLTE(v time.Time) predicate.ApiKey
- func LastUsedAtNEQ(v time.Time) predicate.ApiKey
- func LastUsedAtNotIn(vs ...time.Time) predicate.ApiKey
- func LastUsedAtNotNil() predicate.ApiKey
- func LastUsedIP(v string) predicate.ApiKey
- func LastUsedIPContains(v string) predicate.ApiKey
- func LastUsedIPContainsFold(v string) predicate.ApiKey
- func LastUsedIPEQ(v string) predicate.ApiKey
- func LastUsedIPEqualFold(v string) predicate.ApiKey
- func LastUsedIPGT(v string) predicate.ApiKey
- func LastUsedIPGTE(v string) predicate.ApiKey
- func LastUsedIPHasPrefix(v string) predicate.ApiKey
- func LastUsedIPHasSuffix(v string) predicate.ApiKey
- func LastUsedIPIn(vs ...string) predicate.ApiKey
- func LastUsedIPIsNil() predicate.ApiKey
- func LastUsedIPLT(v string) predicate.ApiKey
- func LastUsedIPLTE(v string) predicate.ApiKey
- func LastUsedIPNEQ(v string) predicate.ApiKey
- func LastUsedIPNotIn(vs ...string) predicate.ApiKey
- func LastUsedIPNotNil() predicate.ApiKey
- func Name(v string) predicate.ApiKey
- func NameContains(v string) predicate.ApiKey
- func NameContainsFold(v string) predicate.ApiKey
- func NameEQ(v string) predicate.ApiKey
- func NameEqualFold(v string) predicate.ApiKey
- func NameGT(v string) predicate.ApiKey
- func NameGTE(v string) predicate.ApiKey
- func NameHasPrefix(v string) predicate.ApiKey
- func NameHasSuffix(v string) predicate.ApiKey
- func NameIn(vs ...string) predicate.ApiKey
- func NameLT(v string) predicate.ApiKey
- func NameLTE(v string) predicate.ApiKey
- func NameNEQ(v string) predicate.ApiKey
- func NameNotIn(vs ...string) predicate.ApiKey
- func Not(p predicate.ApiKey) predicate.ApiKey
- func Or(predicates ...predicate.ApiKey) predicate.ApiKey
- func OwnerDomainID(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDEQ(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDGT(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDGTE(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDIn(vs ...uuid.UUID) predicate.ApiKey
- func OwnerDomainIDIsNil() predicate.ApiKey
- func OwnerDomainIDLT(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDLTE(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDNEQ(v uuid.UUID) predicate.ApiKey
- func OwnerDomainIDNotIn(vs ...uuid.UUID) predicate.ApiKey
- func OwnerDomainIDNotNil() predicate.ApiKey
- func PermissionsIsNil() predicate.ApiKey
- func PermissionsNotNil() predicate.ApiKey
- func ProjectID(v uuid.UUID) predicate.ApiKey
- func ProjectIDEQ(v uuid.UUID) predicate.ApiKey
- func ProjectIDGT(v uuid.UUID) predicate.ApiKey
- func ProjectIDGTE(v uuid.UUID) predicate.ApiKey
- func ProjectIDIn(vs ...uuid.UUID) predicate.ApiKey
- func ProjectIDIsNil() predicate.ApiKey
- func ProjectIDLT(v uuid.UUID) predicate.ApiKey
- func ProjectIDLTE(v uuid.UUID) predicate.ApiKey
- func ProjectIDNEQ(v uuid.UUID) predicate.ApiKey
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.ApiKey
- func ProjectIDNotNil() predicate.ApiKey
- func PublishedAt(v time.Time) predicate.ApiKey
- func PublishedAtEQ(v time.Time) predicate.ApiKey
- func PublishedAtGT(v time.Time) predicate.ApiKey
- func PublishedAtGTE(v time.Time) predicate.ApiKey
- func PublishedAtIn(vs ...time.Time) predicate.ApiKey
- func PublishedAtIsNil() predicate.ApiKey
- func PublishedAtLT(v time.Time) predicate.ApiKey
- func PublishedAtLTE(v time.Time) predicate.ApiKey
- func PublishedAtNEQ(v time.Time) predicate.ApiKey
- func PublishedAtNotIn(vs ...time.Time) predicate.ApiKey
- func PublishedAtNotNil() predicate.ApiKey
- func RateLimit(v int) predicate.ApiKey
- func RateLimitEQ(v int) predicate.ApiKey
- func RateLimitGT(v int) predicate.ApiKey
- func RateLimitGTE(v int) predicate.ApiKey
- func RateLimitIn(vs ...int) predicate.ApiKey
- func RateLimitLT(v int) predicate.ApiKey
- func RateLimitLTE(v int) predicate.ApiKey
- func RateLimitNEQ(v int) predicate.ApiKey
- func RateLimitNotIn(vs ...int) predicate.ApiKey
- func SecretHash(v string) predicate.ApiKey
- func SecretHashContains(v string) predicate.ApiKey
- func SecretHashContainsFold(v string) predicate.ApiKey
- func SecretHashEQ(v string) predicate.ApiKey
- func SecretHashEqualFold(v string) predicate.ApiKey
- func SecretHashGT(v string) predicate.ApiKey
- func SecretHashGTE(v string) predicate.ApiKey
- func SecretHashHasPrefix(v string) predicate.ApiKey
- func SecretHashHasSuffix(v string) predicate.ApiKey
- func SecretHashIn(vs ...string) predicate.ApiKey
- func SecretHashLT(v string) predicate.ApiKey
- func SecretHashLTE(v string) predicate.ApiKey
- func SecretHashNEQ(v string) predicate.ApiKey
- func SecretHashNotIn(vs ...string) predicate.ApiKey
- func UpdatedAt(v time.Time) predicate.ApiKey
- func UpdatedAtEQ(v time.Time) predicate.ApiKey
- func UpdatedAtGT(v time.Time) predicate.ApiKey
- func UpdatedAtGTE(v time.Time) predicate.ApiKey
- func UpdatedAtIn(vs ...time.Time) predicate.ApiKey
- func UpdatedAtIsNil() predicate.ApiKey
- func UpdatedAtLT(v time.Time) predicate.ApiKey
- func UpdatedAtLTE(v time.Time) predicate.ApiKey
- func UpdatedAtNEQ(v time.Time) predicate.ApiKey
- func UpdatedAtNotIn(vs ...time.Time) predicate.ApiKey
- func UpdatedAtNotNil() predicate.ApiKey
- func UpdatedByID(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDEQ(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDGT(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDGTE(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDIn(vs ...uuid.UUID) predicate.ApiKey
- func UpdatedByIDIsNil() predicate.ApiKey
- func UpdatedByIDLT(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDLTE(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDNEQ(v uuid.UUID) predicate.ApiKey
- func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.ApiKey
- func UpdatedByIDNotNil() predicate.ApiKey
- func UsageCount(v int64) predicate.ApiKey
- func UsageCountEQ(v int64) predicate.ApiKey
- func UsageCountGT(v int64) predicate.ApiKey
- func UsageCountGTE(v int64) predicate.ApiKey
- func UsageCountIn(vs ...int64) predicate.ApiKey
- func UsageCountLT(v int64) predicate.ApiKey
- func UsageCountLTE(v int64) predicate.ApiKey
- func UsageCountNEQ(v int64) predicate.ApiKey
- func UsageCountNotIn(vs ...int64) predicate.ApiKey
- func ValidColumn(column string) bool
- type OrderOption
- func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDailyLimit(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsActive(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedIP(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerDomainID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRateLimit(opts ...sql.OrderTermOption) OrderOption
- func ByRoleField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySecretHash(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByUsageCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the apikey type in the database. Label = "api_key" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedByID holds the string denoting the created_by_id field in the database. FieldCreatedByID = "created_by_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedByID holds the string denoting the updated_by_id field in the database. FieldUpdatedByID = "updated_by_id" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedByID holds the string denoting the deleted_by_id field in the database. FieldDeletedByID = "deleted_by_id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldPublishedAt holds the string denoting the published_at field in the database. FieldPublishedAt = "published_at" // FieldArchivedAt holds the string denoting the archived_at field in the database. FieldArchivedAt = "archived_at" // FieldOwnerDomainID holds the string denoting the owner_domain_id field in the database. FieldOwnerDomainID = "owner_domain_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldSecretHash holds the string denoting the secret_hash field in the database. FieldSecretHash = "secret_hash" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldPermissions holds the string denoting the permissions field in the database. FieldPermissions = "permissions" // FieldDataFilters holds the string denoting the data_filters field in the database. FieldDataFilters = "data_filters" // FieldRateLimit holds the string denoting the rate_limit field in the database. FieldRateLimit = "rate_limit" // FieldDailyLimit holds the string denoting the daily_limit field in the database. FieldDailyLimit = "daily_limit" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldUsageCount holds the string denoting the usage_count field in the database. FieldUsageCount = "usage_count" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // FieldLastUsedIP holds the string denoting the last_used_ip field in the database. FieldLastUsedIP = "last_used_ip" // FieldIsActive holds the string denoting the is_active field in the database. FieldIsActive = "is_active" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeRole holds the string denoting the role edge name in mutations. EdgeRole = "role" // Table holds the table name of the apikey in the database. Table = "api_keys" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "api_keys" // 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 = "user_api_keys" // RoleTable is the table that holds the role relation/edge. RoleTable = "api_keys" // RoleInverseTable is the table name for the Role entity. // It exists in this package in order to avoid circular dependency with the "role" package. RoleInverseTable = "roles" // RoleColumn is the table column denoting the role relation/edge. RoleColumn = "api_key_role" )
Variables ¶
var ( // 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // SecretHashValidator is a validator for the "secret_hash" field. It is called by the builders before save. SecretHashValidator func(string) error // DefaultRateLimit holds the default value on creation for the "rate_limit" field. DefaultRateLimit int // DefaultDailyLimit holds the default value on creation for the "daily_limit" field. DefaultDailyLimit int // DefaultUsageCount holds the default value on creation for the "usage_count" field. DefaultUsageCount int64 // DefaultIsActive holds the default value on creation for the "is_active" field. DefaultIsActive bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedByID, FieldCreatedAt, FieldUpdatedByID, FieldUpdatedAt, FieldDeletedByID, FieldDeletedAt, FieldPublishedAt, FieldArchivedAt, FieldOwnerDomainID, FieldName, FieldDescription, FieldKey, FieldSecretHash, FieldExpiresAt, FieldPermissions, FieldDataFilters, FieldRateLimit, FieldDailyLimit, FieldProjectID, FieldUsageCount, FieldLastUsedAt, FieldLastUsedIP, FieldIsActive, }
Columns holds all SQL columns for apikey fields.
var ForeignKeys = []string{
"api_key_role",
"role_api_keys",
"user_api_keys",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "api_keys" table and are not defined as standalone fields in the schema.
Functions ¶
func ArchivedAt ¶
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedByID ¶
CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.
func CreatedByIDEQ ¶
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
func CreatedByIDGT ¶
CreatedByIDGT applies the GT predicate on the "created_by_id" field.
func CreatedByIDGTE ¶
CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.
func CreatedByIDIn ¶
CreatedByIDIn applies the In predicate on the "created_by_id" field.
func CreatedByIDIsNil ¶
CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.
func CreatedByIDLT ¶
CreatedByIDLT applies the LT predicate on the "created_by_id" field.
func CreatedByIDLTE ¶
CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.
func CreatedByIDNEQ ¶
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
func CreatedByIDNotIn ¶
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
func CreatedByIDNotNil ¶
CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.
func DailyLimit ¶
DailyLimit applies equality check predicate on the "daily_limit" field. It's identical to DailyLimitEQ.
func DailyLimitEQ ¶
DailyLimitEQ applies the EQ predicate on the "daily_limit" field.
func DailyLimitGT ¶
DailyLimitGT applies the GT predicate on the "daily_limit" field.
func DailyLimitGTE ¶
DailyLimitGTE applies the GTE predicate on the "daily_limit" field.
func DailyLimitIn ¶
DailyLimitIn applies the In predicate on the "daily_limit" field.
func DailyLimitLT ¶
DailyLimitLT applies the LT predicate on the "daily_limit" field.
func DailyLimitLTE ¶
DailyLimitLTE applies the LTE predicate on the "daily_limit" field.
func DailyLimitNEQ ¶
DailyLimitNEQ applies the NEQ predicate on the "daily_limit" field.
func DailyLimitNotIn ¶
DailyLimitNotIn applies the NotIn predicate on the "daily_limit" field.
func DataFiltersIsNil ¶
DataFiltersIsNil applies the IsNil predicate on the "data_filters" field.
func DataFiltersNotNil ¶
DataFiltersNotNil applies the NotNil predicate on the "data_filters" 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 DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil 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 DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedByID ¶
DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.
func DeletedByIDEQ ¶
DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.
func DeletedByIDGT ¶
DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.
func DeletedByIDGTE ¶
DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.
func DeletedByIDIn ¶
DeletedByIDIn applies the In predicate on the "deleted_by_id" field.
func DeletedByIDIsNil ¶
DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.
func DeletedByIDLT ¶
DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.
func DeletedByIDLTE ¶
DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.
func DeletedByIDNEQ ¶
DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.
func DeletedByIDNotIn ¶
DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.
func DeletedByIDNotNil ¶
DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func ExpiresAt ¶
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasRoleWith ¶
HasRoleWith applies the HasEdge predicate on the "role" edge with a given conditions (other predicates).
func IsActive ¶
IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.
func IsActiveEQ ¶
IsActiveEQ applies the EQ predicate on the "is_active" field.
func IsActiveNEQ ¶
IsActiveNEQ applies the NEQ predicate on the "is_active" field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func LastUsedAt ¶
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func LastUsedIP ¶
LastUsedIP applies equality check predicate on the "last_used_ip" field. It's identical to LastUsedIPEQ.
func LastUsedIPContains ¶
LastUsedIPContains applies the Contains predicate on the "last_used_ip" field.
func LastUsedIPContainsFold ¶
LastUsedIPContainsFold applies the ContainsFold predicate on the "last_used_ip" field.
func LastUsedIPEQ ¶
LastUsedIPEQ applies the EQ predicate on the "last_used_ip" field.
func LastUsedIPEqualFold ¶
LastUsedIPEqualFold applies the EqualFold predicate on the "last_used_ip" field.
func LastUsedIPGT ¶
LastUsedIPGT applies the GT predicate on the "last_used_ip" field.
func LastUsedIPGTE ¶
LastUsedIPGTE applies the GTE predicate on the "last_used_ip" field.
func LastUsedIPHasPrefix ¶
LastUsedIPHasPrefix applies the HasPrefix predicate on the "last_used_ip" field.
func LastUsedIPHasSuffix ¶
LastUsedIPHasSuffix applies the HasSuffix predicate on the "last_used_ip" field.
func LastUsedIPIn ¶
LastUsedIPIn applies the In predicate on the "last_used_ip" field.
func LastUsedIPIsNil ¶
LastUsedIPIsNil applies the IsNil predicate on the "last_used_ip" field.
func LastUsedIPLT ¶
LastUsedIPLT applies the LT predicate on the "last_used_ip" field.
func LastUsedIPLTE ¶
LastUsedIPLTE applies the LTE predicate on the "last_used_ip" field.
func LastUsedIPNEQ ¶
LastUsedIPNEQ applies the NEQ predicate on the "last_used_ip" field.
func LastUsedIPNotIn ¶
LastUsedIPNotIn applies the NotIn predicate on the "last_used_ip" field.
func LastUsedIPNotNil ¶
LastUsedIPNotNil applies the NotNil predicate on the "last_used_ip" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OwnerDomainID ¶
OwnerDomainID applies equality check predicate on the "owner_domain_id" field. It's identical to OwnerDomainIDEQ.
func OwnerDomainIDEQ ¶
OwnerDomainIDEQ applies the EQ predicate on the "owner_domain_id" field.
func OwnerDomainIDGT ¶
OwnerDomainIDGT applies the GT predicate on the "owner_domain_id" field.
func OwnerDomainIDGTE ¶
OwnerDomainIDGTE applies the GTE predicate on the "owner_domain_id" field.
func OwnerDomainIDIn ¶
OwnerDomainIDIn applies the In predicate on the "owner_domain_id" field.
func OwnerDomainIDIsNil ¶
OwnerDomainIDIsNil applies the IsNil predicate on the "owner_domain_id" field.
func OwnerDomainIDLT ¶
OwnerDomainIDLT applies the LT predicate on the "owner_domain_id" field.
func OwnerDomainIDLTE ¶
OwnerDomainIDLTE applies the LTE predicate on the "owner_domain_id" field.
func OwnerDomainIDNEQ ¶
OwnerDomainIDNEQ applies the NEQ predicate on the "owner_domain_id" field.
func OwnerDomainIDNotIn ¶
OwnerDomainIDNotIn applies the NotIn predicate on the "owner_domain_id" field.
func OwnerDomainIDNotNil ¶
OwnerDomainIDNotNil applies the NotNil predicate on the "owner_domain_id" field.
func PermissionsIsNil ¶
PermissionsIsNil applies the IsNil predicate on the "permissions" field.
func PermissionsNotNil ¶
PermissionsNotNil applies the NotNil predicate on the "permissions" field.
func ProjectID ¶
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDGT ¶
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDIn ¶
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDIsNil ¶
ProjectIDIsNil applies the IsNil predicate on the "project_id" field.
func ProjectIDLT ¶
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ProjectIDNotNil ¶
ProjectIDNotNil applies the NotNil predicate on the "project_id" field.
func PublishedAt ¶
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtIsNil ¶
PublishedAtIsNil applies the IsNil predicate on the "published_at" field.
func PublishedAtLT ¶
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func PublishedAtNotNil ¶
PublishedAtNotNil applies the NotNil predicate on the "published_at" field.
func RateLimit ¶
RateLimit applies equality check predicate on the "rate_limit" field. It's identical to RateLimitEQ.
func RateLimitEQ ¶
RateLimitEQ applies the EQ predicate on the "rate_limit" field.
func RateLimitGT ¶
RateLimitGT applies the GT predicate on the "rate_limit" field.
func RateLimitGTE ¶
RateLimitGTE applies the GTE predicate on the "rate_limit" field.
func RateLimitIn ¶
RateLimitIn applies the In predicate on the "rate_limit" field.
func RateLimitLT ¶
RateLimitLT applies the LT predicate on the "rate_limit" field.
func RateLimitLTE ¶
RateLimitLTE applies the LTE predicate on the "rate_limit" field.
func RateLimitNEQ ¶
RateLimitNEQ applies the NEQ predicate on the "rate_limit" field.
func RateLimitNotIn ¶
RateLimitNotIn applies the NotIn predicate on the "rate_limit" field.
func SecretHash ¶
SecretHash applies equality check predicate on the "secret_hash" field. It's identical to SecretHashEQ.
func SecretHashContains ¶
SecretHashContains applies the Contains predicate on the "secret_hash" field.
func SecretHashContainsFold ¶
SecretHashContainsFold applies the ContainsFold predicate on the "secret_hash" field.
func SecretHashEQ ¶
SecretHashEQ applies the EQ predicate on the "secret_hash" field.
func SecretHashEqualFold ¶
SecretHashEqualFold applies the EqualFold predicate on the "secret_hash" field.
func SecretHashGT ¶
SecretHashGT applies the GT predicate on the "secret_hash" field.
func SecretHashGTE ¶
SecretHashGTE applies the GTE predicate on the "secret_hash" field.
func SecretHashHasPrefix ¶
SecretHashHasPrefix applies the HasPrefix predicate on the "secret_hash" field.
func SecretHashHasSuffix ¶
SecretHashHasSuffix applies the HasSuffix predicate on the "secret_hash" field.
func SecretHashIn ¶
SecretHashIn applies the In predicate on the "secret_hash" field.
func SecretHashLT ¶
SecretHashLT applies the LT predicate on the "secret_hash" field.
func SecretHashLTE ¶
SecretHashLTE applies the LTE predicate on the "secret_hash" field.
func SecretHashNEQ ¶
SecretHashNEQ applies the NEQ predicate on the "secret_hash" field.
func SecretHashNotIn ¶
SecretHashNotIn applies the NotIn predicate on the "secret_hash" 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedByID ¶
UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.
func UpdatedByIDEQ ¶
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
func UpdatedByIDGT ¶
UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.
func UpdatedByIDGTE ¶
UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.
func UpdatedByIDIn ¶
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
func UpdatedByIDIsNil ¶
UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.
func UpdatedByIDLT ¶
UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.
func UpdatedByIDLTE ¶
UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.
func UpdatedByIDNEQ ¶
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
func UpdatedByIDNotIn ¶
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
func UpdatedByIDNotNil ¶
UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.
func UsageCount ¶
UsageCount applies equality check predicate on the "usage_count" field. It's identical to UsageCountEQ.
func UsageCountEQ ¶
UsageCountEQ applies the EQ predicate on the "usage_count" field.
func UsageCountGT ¶
UsageCountGT applies the GT predicate on the "usage_count" field.
func UsageCountGTE ¶
UsageCountGTE applies the GTE predicate on the "usage_count" field.
func UsageCountIn ¶
UsageCountIn applies the In predicate on the "usage_count" field.
func UsageCountLT ¶
UsageCountLT applies the LT predicate on the "usage_count" field.
func UsageCountLTE ¶
UsageCountLTE applies the LTE predicate on the "usage_count" field.
func UsageCountNEQ ¶
UsageCountNEQ applies the NEQ predicate on the "usage_count" field.
func UsageCountNotIn ¶
UsageCountNotIn applies the NotIn predicate on the "usage_count" 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 ApiKey queries.
func ByArchivedAt ¶
func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
ByArchivedAt orders the results by the archived_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedByID ¶
func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
ByCreatedByID orders the results by the created_by_id field.
func ByDailyLimit ¶
func ByDailyLimit(opts ...sql.OrderTermOption) OrderOption
ByDailyLimit orders the results by the daily_limit field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedByID ¶
func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
ByDeletedByID orders the results by the deleted_by_id field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
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 ByIsActive ¶
func ByIsActive(opts ...sql.OrderTermOption) OrderOption
ByIsActive orders the results by the is_active field.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByLastUsedAt ¶
func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
ByLastUsedAt orders the results by the last_used_at field.
func ByLastUsedIP ¶
func ByLastUsedIP(opts ...sql.OrderTermOption) OrderOption
ByLastUsedIP orders the results by the last_used_ip field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerDomainID ¶
func ByOwnerDomainID(opts ...sql.OrderTermOption) OrderOption
ByOwnerDomainID orders the results by the owner_domain_id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByProjectID ¶
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the published_at field.
func ByRateLimit ¶
func ByRateLimit(opts ...sql.OrderTermOption) OrderOption
ByRateLimit orders the results by the rate_limit field.
func ByRoleField ¶
func ByRoleField(field string, opts ...sql.OrderTermOption) OrderOption
ByRoleField orders the results by role field.
func BySecretHash ¶
func BySecretHash(opts ...sql.OrderTermOption) OrderOption
BySecretHash orders the results by the secret_hash field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedByID ¶
func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
ByUpdatedByID orders the results by the updated_by_id field.
func ByUsageCount ¶
func ByUsageCount(opts ...sql.OrderTermOption) OrderOption
ByUsageCount orders the results by the usage_count field.