Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.APIPermission) predicate.APIPermission
- func ArchivedAt(v time.Time) predicate.APIPermission
- func ArchivedAtEQ(v time.Time) predicate.APIPermission
- func ArchivedAtGT(v time.Time) predicate.APIPermission
- func ArchivedAtGTE(v time.Time) predicate.APIPermission
- func ArchivedAtIn(vs ...time.Time) predicate.APIPermission
- func ArchivedAtIsNil() predicate.APIPermission
- func ArchivedAtLT(v time.Time) predicate.APIPermission
- func ArchivedAtLTE(v time.Time) predicate.APIPermission
- func ArchivedAtNEQ(v time.Time) predicate.APIPermission
- func ArchivedAtNotIn(vs ...time.Time) predicate.APIPermission
- func ArchivedAtNotNil() predicate.APIPermission
- func CreatedAt(v time.Time) predicate.APIPermission
- func CreatedAtEQ(v time.Time) predicate.APIPermission
- func CreatedAtGT(v time.Time) predicate.APIPermission
- func CreatedAtGTE(v time.Time) predicate.APIPermission
- func CreatedAtIn(vs ...time.Time) predicate.APIPermission
- func CreatedAtIsNil() predicate.APIPermission
- func CreatedAtLT(v time.Time) predicate.APIPermission
- func CreatedAtLTE(v time.Time) predicate.APIPermission
- func CreatedAtNEQ(v time.Time) predicate.APIPermission
- func CreatedAtNotIn(vs ...time.Time) predicate.APIPermission
- func CreatedAtNotNil() predicate.APIPermission
- func CreatedByID(v uuid.UUID) predicate.APIPermission
- func CreatedByIDEQ(v uuid.UUID) predicate.APIPermission
- func CreatedByIDGT(v uuid.UUID) predicate.APIPermission
- func CreatedByIDGTE(v uuid.UUID) predicate.APIPermission
- func CreatedByIDIn(vs ...uuid.UUID) predicate.APIPermission
- func CreatedByIDIsNil() predicate.APIPermission
- func CreatedByIDLT(v uuid.UUID) predicate.APIPermission
- func CreatedByIDLTE(v uuid.UUID) predicate.APIPermission
- func CreatedByIDNEQ(v uuid.UUID) predicate.APIPermission
- func CreatedByIDNotIn(vs ...uuid.UUID) predicate.APIPermission
- func CreatedByIDNotNil() predicate.APIPermission
- func DeletedAt(v time.Time) predicate.APIPermission
- func DeletedAtEQ(v time.Time) predicate.APIPermission
- func DeletedAtGT(v time.Time) predicate.APIPermission
- func DeletedAtGTE(v time.Time) predicate.APIPermission
- func DeletedAtIn(vs ...time.Time) predicate.APIPermission
- func DeletedAtIsNil() predicate.APIPermission
- func DeletedAtLT(v time.Time) predicate.APIPermission
- func DeletedAtLTE(v time.Time) predicate.APIPermission
- func DeletedAtNEQ(v time.Time) predicate.APIPermission
- func DeletedAtNotIn(vs ...time.Time) predicate.APIPermission
- func DeletedAtNotNil() predicate.APIPermission
- func DeletedByID(v uuid.UUID) predicate.APIPermission
- func DeletedByIDEQ(v uuid.UUID) predicate.APIPermission
- func DeletedByIDGT(v uuid.UUID) predicate.APIPermission
- func DeletedByIDGTE(v uuid.UUID) predicate.APIPermission
- func DeletedByIDIn(vs ...uuid.UUID) predicate.APIPermission
- func DeletedByIDIsNil() predicate.APIPermission
- func DeletedByIDLT(v uuid.UUID) predicate.APIPermission
- func DeletedByIDLTE(v uuid.UUID) predicate.APIPermission
- func DeletedByIDNEQ(v uuid.UUID) predicate.APIPermission
- func DeletedByIDNotIn(vs ...uuid.UUID) predicate.APIPermission
- func DeletedByIDNotNil() predicate.APIPermission
- func Description(v string) predicate.APIPermission
- func DescriptionContains(v string) predicate.APIPermission
- func DescriptionContainsFold(v string) predicate.APIPermission
- func DescriptionEQ(v string) predicate.APIPermission
- func DescriptionEqualFold(v string) predicate.APIPermission
- func DescriptionGT(v string) predicate.APIPermission
- func DescriptionGTE(v string) predicate.APIPermission
- func DescriptionHasPrefix(v string) predicate.APIPermission
- func DescriptionHasSuffix(v string) predicate.APIPermission
- func DescriptionIn(vs ...string) predicate.APIPermission
- func DescriptionIsNil() predicate.APIPermission
- func DescriptionLT(v string) predicate.APIPermission
- func DescriptionLTE(v string) predicate.APIPermission
- func DescriptionNEQ(v string) predicate.APIPermission
- func DescriptionNotIn(vs ...string) predicate.APIPermission
- func DescriptionNotNil() predicate.APIPermission
- func ID(id uuid.UUID) predicate.APIPermission
- func IDEQ(id uuid.UUID) predicate.APIPermission
- func IDGT(id uuid.UUID) predicate.APIPermission
- func IDGTE(id uuid.UUID) predicate.APIPermission
- func IDIn(ids ...uuid.UUID) predicate.APIPermission
- func IDLT(id uuid.UUID) predicate.APIPermission
- func IDLTE(id uuid.UUID) predicate.APIPermission
- func IDNEQ(id uuid.UUID) predicate.APIPermission
- func IDNotIn(ids ...uuid.UUID) predicate.APIPermission
- func IsPublic(v bool) predicate.APIPermission
- func IsPublicEQ(v bool) predicate.APIPermission
- func IsPublicNEQ(v bool) predicate.APIPermission
- func MethodEQ(v Method) predicate.APIPermission
- func MethodIn(vs ...Method) predicate.APIPermission
- func MethodNEQ(v Method) predicate.APIPermission
- func MethodNotIn(vs ...Method) predicate.APIPermission
- func MethodValidator(m Method) error
- func Not(p predicate.APIPermission) predicate.APIPermission
- func Or(predicates ...predicate.APIPermission) predicate.APIPermission
- func Path(v string) predicate.APIPermission
- func PathContains(v string) predicate.APIPermission
- func PathContainsFold(v string) predicate.APIPermission
- func PathEQ(v string) predicate.APIPermission
- func PathEqualFold(v string) predicate.APIPermission
- func PathGT(v string) predicate.APIPermission
- func PathGTE(v string) predicate.APIPermission
- func PathHasPrefix(v string) predicate.APIPermission
- func PathHasSuffix(v string) predicate.APIPermission
- func PathIn(vs ...string) predicate.APIPermission
- func PathLT(v string) predicate.APIPermission
- func PathLTE(v string) predicate.APIPermission
- func PathNEQ(v string) predicate.APIPermission
- func PathNotIn(vs ...string) predicate.APIPermission
- func PublishedAt(v time.Time) predicate.APIPermission
- func PublishedAtEQ(v time.Time) predicate.APIPermission
- func PublishedAtGT(v time.Time) predicate.APIPermission
- func PublishedAtGTE(v time.Time) predicate.APIPermission
- func PublishedAtIn(vs ...time.Time) predicate.APIPermission
- func PublishedAtIsNil() predicate.APIPermission
- func PublishedAtLT(v time.Time) predicate.APIPermission
- func PublishedAtLTE(v time.Time) predicate.APIPermission
- func PublishedAtNEQ(v time.Time) predicate.APIPermission
- func PublishedAtNotIn(vs ...time.Time) predicate.APIPermission
- func PublishedAtNotNil() predicate.APIPermission
- func UpdatedAt(v time.Time) predicate.APIPermission
- func UpdatedAtEQ(v time.Time) predicate.APIPermission
- func UpdatedAtGT(v time.Time) predicate.APIPermission
- func UpdatedAtGTE(v time.Time) predicate.APIPermission
- func UpdatedAtIn(vs ...time.Time) predicate.APIPermission
- func UpdatedAtIsNil() predicate.APIPermission
- func UpdatedAtLT(v time.Time) predicate.APIPermission
- func UpdatedAtLTE(v time.Time) predicate.APIPermission
- func UpdatedAtNEQ(v time.Time) predicate.APIPermission
- func UpdatedAtNotIn(vs ...time.Time) predicate.APIPermission
- func UpdatedAtNotNil() predicate.APIPermission
- func UpdatedByID(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDEQ(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDGT(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDGTE(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDIn(vs ...uuid.UUID) predicate.APIPermission
- func UpdatedByIDIsNil() predicate.APIPermission
- func UpdatedByIDLT(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDLTE(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDNEQ(v uuid.UUID) predicate.APIPermission
- func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.APIPermission
- func UpdatedByIDNotNil() predicate.APIPermission
- func ValidColumn(column string) bool
- type Method
- type OrderOption
- func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsPublic(opts ...sql.OrderTermOption) OrderOption
- func ByMethod(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the apipermission type in the database. Label = "api_permission" // 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" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldIsPublic holds the string denoting the is_public field in the database. FieldIsPublic = "is_public" // Table holds the table name of the apipermission in the database. Table = "api_permissions" )
const DefaultMethod = MethodGET
MethodGET is the default value of the Method enum.
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 // PathValidator is a validator for the "path" field. It is called by the builders before save. PathValidator func(string) error // DefaultIsPublic holds the default value on creation for the "is_public" field. DefaultIsPublic 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, FieldPath, FieldMethod, FieldDescription, FieldIsPublic, }
Columns holds all SQL columns for apipermission fields.
Functions ¶
func And ¶
func And(predicates ...predicate.APIPermission) predicate.APIPermission
And groups predicates with the AND operator between them.
func ArchivedAt ¶
func ArchivedAt(v time.Time) predicate.APIPermission
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
func ArchivedAtEQ(v time.Time) predicate.APIPermission
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
func ArchivedAtGT(v time.Time) predicate.APIPermission
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
func ArchivedAtGTE(v time.Time) predicate.APIPermission
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
func ArchivedAtIn(vs ...time.Time) predicate.APIPermission
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
func ArchivedAtIsNil() predicate.APIPermission
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
func ArchivedAtLT(v time.Time) predicate.APIPermission
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
func ArchivedAtLTE(v time.Time) predicate.APIPermission
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
func ArchivedAtNEQ(v time.Time) predicate.APIPermission
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
func ArchivedAtNotIn(vs ...time.Time) predicate.APIPermission
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
func ArchivedAtNotNil() predicate.APIPermission
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.APIPermission
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.APIPermission
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.APIPermission
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.APIPermission
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.APIPermission
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.APIPermission
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.APIPermission
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.APIPermission
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.APIPermission
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.APIPermission
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.APIPermission
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedByID ¶
func CreatedByID(v uuid.UUID) predicate.APIPermission
CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.
func CreatedByIDEQ ¶
func CreatedByIDEQ(v uuid.UUID) predicate.APIPermission
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
func CreatedByIDGT ¶
func CreatedByIDGT(v uuid.UUID) predicate.APIPermission
CreatedByIDGT applies the GT predicate on the "created_by_id" field.
func CreatedByIDGTE ¶
func CreatedByIDGTE(v uuid.UUID) predicate.APIPermission
CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.
func CreatedByIDIn ¶
func CreatedByIDIn(vs ...uuid.UUID) predicate.APIPermission
CreatedByIDIn applies the In predicate on the "created_by_id" field.
func CreatedByIDIsNil ¶
func CreatedByIDIsNil() predicate.APIPermission
CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.
func CreatedByIDLT ¶
func CreatedByIDLT(v uuid.UUID) predicate.APIPermission
CreatedByIDLT applies the LT predicate on the "created_by_id" field.
func CreatedByIDLTE ¶
func CreatedByIDLTE(v uuid.UUID) predicate.APIPermission
CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.
func CreatedByIDNEQ ¶
func CreatedByIDNEQ(v uuid.UUID) predicate.APIPermission
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
func CreatedByIDNotIn ¶
func CreatedByIDNotIn(vs ...uuid.UUID) predicate.APIPermission
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
func CreatedByIDNotNil ¶
func CreatedByIDNotNil() predicate.APIPermission
CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.APIPermission
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.APIPermission
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.APIPermission
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.APIPermission
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.APIPermission
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.APIPermission
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.APIPermission
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.APIPermission
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.APIPermission
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.APIPermission
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.APIPermission
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedByID ¶
func DeletedByID(v uuid.UUID) predicate.APIPermission
DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.
func DeletedByIDEQ ¶
func DeletedByIDEQ(v uuid.UUID) predicate.APIPermission
DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.
func DeletedByIDGT ¶
func DeletedByIDGT(v uuid.UUID) predicate.APIPermission
DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.
func DeletedByIDGTE ¶
func DeletedByIDGTE(v uuid.UUID) predicate.APIPermission
DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.
func DeletedByIDIn ¶
func DeletedByIDIn(vs ...uuid.UUID) predicate.APIPermission
DeletedByIDIn applies the In predicate on the "deleted_by_id" field.
func DeletedByIDIsNil ¶
func DeletedByIDIsNil() predicate.APIPermission
DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.
func DeletedByIDLT ¶
func DeletedByIDLT(v uuid.UUID) predicate.APIPermission
DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.
func DeletedByIDLTE ¶
func DeletedByIDLTE(v uuid.UUID) predicate.APIPermission
DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.
func DeletedByIDNEQ ¶
func DeletedByIDNEQ(v uuid.UUID) predicate.APIPermission
DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.
func DeletedByIDNotIn ¶
func DeletedByIDNotIn(vs ...uuid.UUID) predicate.APIPermission
DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.
func DeletedByIDNotNil ¶
func DeletedByIDNotNil() predicate.APIPermission
DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.
func Description ¶
func Description(v string) predicate.APIPermission
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.APIPermission
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.APIPermission
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.APIPermission
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.APIPermission
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.APIPermission
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.APIPermission
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.APIPermission
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.APIPermission
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.APIPermission
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.APIPermission
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.APIPermission
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.APIPermission
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.APIPermission
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.APIPermission
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.APIPermission
DescriptionNotNil applies the NotNil predicate on the "description" field.
func ID ¶
func ID(id uuid.UUID) predicate.APIPermission
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.APIPermission
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.APIPermission
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.APIPermission
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.APIPermission
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.APIPermission
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.APIPermission
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.APIPermission
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.APIPermission
IDNotIn applies the NotIn predicate on the ID field.
func IsPublic ¶
func IsPublic(v bool) predicate.APIPermission
IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.
func IsPublicEQ ¶
func IsPublicEQ(v bool) predicate.APIPermission
IsPublicEQ applies the EQ predicate on the "is_public" field.
func IsPublicNEQ ¶
func IsPublicNEQ(v bool) predicate.APIPermission
IsPublicNEQ applies the NEQ predicate on the "is_public" field.
func MethodEQ ¶
func MethodEQ(v Method) predicate.APIPermission
MethodEQ applies the EQ predicate on the "method" field.
func MethodIn ¶
func MethodIn(vs ...Method) predicate.APIPermission
MethodIn applies the In predicate on the "method" field.
func MethodNEQ ¶
func MethodNEQ(v Method) predicate.APIPermission
MethodNEQ applies the NEQ predicate on the "method" field.
func MethodNotIn ¶
func MethodNotIn(vs ...Method) predicate.APIPermission
MethodNotIn applies the NotIn predicate on the "method" field.
func MethodValidator ¶
MethodValidator is a validator for the "method" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.APIPermission) predicate.APIPermission
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.APIPermission) predicate.APIPermission
Or groups predicates with the OR operator between them.
func Path ¶
func Path(v string) predicate.APIPermission
Path applies equality check predicate on the "path" field. It's identical to PathEQ.
func PathContains ¶
func PathContains(v string) predicate.APIPermission
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
func PathContainsFold(v string) predicate.APIPermission
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEQ ¶
func PathEQ(v string) predicate.APIPermission
PathEQ applies the EQ predicate on the "path" field.
func PathEqualFold ¶
func PathEqualFold(v string) predicate.APIPermission
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathGT ¶
func PathGT(v string) predicate.APIPermission
PathGT applies the GT predicate on the "path" field.
func PathGTE ¶
func PathGTE(v string) predicate.APIPermission
PathGTE applies the GTE predicate on the "path" field.
func PathHasPrefix ¶
func PathHasPrefix(v string) predicate.APIPermission
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
func PathHasSuffix(v string) predicate.APIPermission
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PathIn ¶
func PathIn(vs ...string) predicate.APIPermission
PathIn applies the In predicate on the "path" field.
func PathLT ¶
func PathLT(v string) predicate.APIPermission
PathLT applies the LT predicate on the "path" field.
func PathLTE ¶
func PathLTE(v string) predicate.APIPermission
PathLTE applies the LTE predicate on the "path" field.
func PathNEQ ¶
func PathNEQ(v string) predicate.APIPermission
PathNEQ applies the NEQ predicate on the "path" field.
func PathNotIn ¶
func PathNotIn(vs ...string) predicate.APIPermission
PathNotIn applies the NotIn predicate on the "path" field.
func PublishedAt ¶
func PublishedAt(v time.Time) predicate.APIPermission
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
func PublishedAtEQ(v time.Time) predicate.APIPermission
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
func PublishedAtGT(v time.Time) predicate.APIPermission
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
func PublishedAtGTE(v time.Time) predicate.APIPermission
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
func PublishedAtIn(vs ...time.Time) predicate.APIPermission
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtIsNil ¶
func PublishedAtIsNil() predicate.APIPermission
PublishedAtIsNil applies the IsNil predicate on the "published_at" field.
func PublishedAtLT ¶
func PublishedAtLT(v time.Time) predicate.APIPermission
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
func PublishedAtLTE(v time.Time) predicate.APIPermission
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
func PublishedAtNEQ(v time.Time) predicate.APIPermission
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
func PublishedAtNotIn(vs ...time.Time) predicate.APIPermission
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func PublishedAtNotNil ¶
func PublishedAtNotNil() predicate.APIPermission
PublishedAtNotNil applies the NotNil predicate on the "published_at" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.APIPermission
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.APIPermission
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.APIPermission
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.APIPermission
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.APIPermission
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.APIPermission
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.APIPermission
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.APIPermission
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.APIPermission
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.APIPermission
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.APIPermission
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedByID ¶
func UpdatedByID(v uuid.UUID) predicate.APIPermission
UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.
func UpdatedByIDEQ ¶
func UpdatedByIDEQ(v uuid.UUID) predicate.APIPermission
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
func UpdatedByIDGT ¶
func UpdatedByIDGT(v uuid.UUID) predicate.APIPermission
UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.
func UpdatedByIDGTE ¶
func UpdatedByIDGTE(v uuid.UUID) predicate.APIPermission
UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.
func UpdatedByIDIn ¶
func UpdatedByIDIn(vs ...uuid.UUID) predicate.APIPermission
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
func UpdatedByIDIsNil ¶
func UpdatedByIDIsNil() predicate.APIPermission
UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.
func UpdatedByIDLT ¶
func UpdatedByIDLT(v uuid.UUID) predicate.APIPermission
UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.
func UpdatedByIDLTE ¶
func UpdatedByIDLTE(v uuid.UUID) predicate.APIPermission
UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.
func UpdatedByIDNEQ ¶
func UpdatedByIDNEQ(v uuid.UUID) predicate.APIPermission
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
func UpdatedByIDNotIn ¶
func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.APIPermission
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
func UpdatedByIDNotNil ¶
func UpdatedByIDNotNil() predicate.APIPermission
UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Method ¶
type Method string
Method defines the type for the "method" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the APIPermission 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 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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsPublic ¶
func ByIsPublic(opts ...sql.OrderTermOption) OrderOption
ByIsPublic orders the results by the is_public field.
func ByMethod ¶
func ByMethod(opts ...sql.OrderTermOption) OrderOption
ByMethod orders the results by the method field.
func ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the published_at 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.