Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AccessControl) predicate.AccessControl
- func CreatedAt(v time.Time) predicate.AccessControl
- func CreatedAtEQ(v time.Time) predicate.AccessControl
- func CreatedAtGT(v time.Time) predicate.AccessControl
- func CreatedAtGTE(v time.Time) predicate.AccessControl
- func CreatedAtIn(vs ...time.Time) predicate.AccessControl
- func CreatedAtLT(v time.Time) predicate.AccessControl
- func CreatedAtLTE(v time.Time) predicate.AccessControl
- func CreatedAtNEQ(v time.Time) predicate.AccessControl
- func CreatedAtNotIn(vs ...time.Time) predicate.AccessControl
- func ID(id int64) predicate.AccessControl
- func IDEQ(id int64) predicate.AccessControl
- func IDGT(id int64) predicate.AccessControl
- func IDGTE(id int64) predicate.AccessControl
- func IDIn(ids ...int64) predicate.AccessControl
- func IDLT(id int64) predicate.AccessControl
- func IDLTE(id int64) predicate.AccessControl
- func IDNEQ(id int64) predicate.AccessControl
- func IDNotIn(ids ...int64) predicate.AccessControl
- func Not(p predicate.AccessControl) predicate.AccessControl
- func Or(predicates ...predicate.AccessControl) predicate.AccessControl
- func Ptype(v string) predicate.AccessControl
- func PtypeContains(v string) predicate.AccessControl
- func PtypeContainsFold(v string) predicate.AccessControl
- func PtypeEQ(v string) predicate.AccessControl
- func PtypeEqualFold(v string) predicate.AccessControl
- func PtypeGT(v string) predicate.AccessControl
- func PtypeGTE(v string) predicate.AccessControl
- func PtypeHasPrefix(v string) predicate.AccessControl
- func PtypeHasSuffix(v string) predicate.AccessControl
- func PtypeIn(vs ...string) predicate.AccessControl
- func PtypeLT(v string) predicate.AccessControl
- func PtypeLTE(v string) predicate.AccessControl
- func PtypeNEQ(v string) predicate.AccessControl
- func PtypeNotIn(vs ...string) predicate.AccessControl
- func UpdatedAt(v time.Time) predicate.AccessControl
- func UpdatedAtEQ(v time.Time) predicate.AccessControl
- func UpdatedAtGT(v time.Time) predicate.AccessControl
- func UpdatedAtGTE(v time.Time) predicate.AccessControl
- func UpdatedAtIn(vs ...time.Time) predicate.AccessControl
- func UpdatedAtLT(v time.Time) predicate.AccessControl
- func UpdatedAtLTE(v time.Time) predicate.AccessControl
- func UpdatedAtNEQ(v time.Time) predicate.AccessControl
- func UpdatedAtNotIn(vs ...time.Time) predicate.AccessControl
- func V0(v string) predicate.AccessControl
- func V0Contains(v string) predicate.AccessControl
- func V0ContainsFold(v string) predicate.AccessControl
- func V0EQ(v string) predicate.AccessControl
- func V0EqualFold(v string) predicate.AccessControl
- func V0GT(v string) predicate.AccessControl
- func V0GTE(v string) predicate.AccessControl
- func V0HasPrefix(v string) predicate.AccessControl
- func V0HasSuffix(v string) predicate.AccessControl
- func V0In(vs ...string) predicate.AccessControl
- func V0LT(v string) predicate.AccessControl
- func V0LTE(v string) predicate.AccessControl
- func V0NEQ(v string) predicate.AccessControl
- func V0NotIn(vs ...string) predicate.AccessControl
- func V1(v string) predicate.AccessControl
- func V1Contains(v string) predicate.AccessControl
- func V1ContainsFold(v string) predicate.AccessControl
- func V1EQ(v string) predicate.AccessControl
- func V1EqualFold(v string) predicate.AccessControl
- func V1GT(v string) predicate.AccessControl
- func V1GTE(v string) predicate.AccessControl
- func V1HasPrefix(v string) predicate.AccessControl
- func V1HasSuffix(v string) predicate.AccessControl
- func V1In(vs ...string) predicate.AccessControl
- func V1LT(v string) predicate.AccessControl
- func V1LTE(v string) predicate.AccessControl
- func V1NEQ(v string) predicate.AccessControl
- func V1NotIn(vs ...string) predicate.AccessControl
- func V2(v string) predicate.AccessControl
- func V2Contains(v string) predicate.AccessControl
- func V2ContainsFold(v string) predicate.AccessControl
- func V2EQ(v string) predicate.AccessControl
- func V2EqualFold(v string) predicate.AccessControl
- func V2GT(v string) predicate.AccessControl
- func V2GTE(v string) predicate.AccessControl
- func V2HasPrefix(v string) predicate.AccessControl
- func V2HasSuffix(v string) predicate.AccessControl
- func V2In(vs ...string) predicate.AccessControl
- func V2LT(v string) predicate.AccessControl
- func V2LTE(v string) predicate.AccessControl
- func V2NEQ(v string) predicate.AccessControl
- func V2NotIn(vs ...string) predicate.AccessControl
- func V3(v string) predicate.AccessControl
- func V3Contains(v string) predicate.AccessControl
- func V3ContainsFold(v string) predicate.AccessControl
- func V3EQ(v string) predicate.AccessControl
- func V3EqualFold(v string) predicate.AccessControl
- func V3GT(v string) predicate.AccessControl
- func V3GTE(v string) predicate.AccessControl
- func V3HasPrefix(v string) predicate.AccessControl
- func V3HasSuffix(v string) predicate.AccessControl
- func V3In(vs ...string) predicate.AccessControl
- func V3LT(v string) predicate.AccessControl
- func V3LTE(v string) predicate.AccessControl
- func V3NEQ(v string) predicate.AccessControl
- func V3NotIn(vs ...string) predicate.AccessControl
- func V4(v string) predicate.AccessControl
- func V4Contains(v string) predicate.AccessControl
- func V4ContainsFold(v string) predicate.AccessControl
- func V4EQ(v string) predicate.AccessControl
- func V4EqualFold(v string) predicate.AccessControl
- func V4GT(v string) predicate.AccessControl
- func V4GTE(v string) predicate.AccessControl
- func V4HasPrefix(v string) predicate.AccessControl
- func V4HasSuffix(v string) predicate.AccessControl
- func V4In(vs ...string) predicate.AccessControl
- func V4LT(v string) predicate.AccessControl
- func V4LTE(v string) predicate.AccessControl
- func V4NEQ(v string) predicate.AccessControl
- func V4NotIn(vs ...string) predicate.AccessControl
- func V5(v string) predicate.AccessControl
- func V5Contains(v string) predicate.AccessControl
- func V5ContainsFold(v string) predicate.AccessControl
- func V5EQ(v string) predicate.AccessControl
- func V5EqualFold(v string) predicate.AccessControl
- func V5GT(v string) predicate.AccessControl
- func V5GTE(v string) predicate.AccessControl
- func V5HasPrefix(v string) predicate.AccessControl
- func V5HasSuffix(v string) predicate.AccessControl
- func V5In(vs ...string) predicate.AccessControl
- func V5LT(v string) predicate.AccessControl
- func V5LTE(v string) predicate.AccessControl
- func V5NEQ(v string) predicate.AccessControl
- func V5NotIn(vs ...string) predicate.AccessControl
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPtype(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByV0(opts ...sql.OrderTermOption) OrderOption
- func ByV1(opts ...sql.OrderTermOption) OrderOption
- func ByV2(opts ...sql.OrderTermOption) OrderOption
- func ByV3(opts ...sql.OrderTermOption) OrderOption
- func ByV4(opts ...sql.OrderTermOption) OrderOption
- func ByV5(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the accesscontrol type in the database. Label = "access_control" // 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" // FieldPtype holds the string denoting the ptype field in the database. FieldPtype = "ptype" // FieldV0 holds the string denoting the v0 field in the database. FieldV0 = "v0" // FieldV1 holds the string denoting the v1 field in the database. FieldV1 = "v1" // FieldV2 holds the string denoting the v2 field in the database. FieldV2 = "v2" // FieldV3 holds the string denoting the v3 field in the database. FieldV3 = "v3" // FieldV4 holds the string denoting the v4 field in the database. FieldV4 = "v4" // FieldV5 holds the string denoting the v5 field in the database. FieldV5 = "v5" // Table holds the table name of the accesscontrol in the database. Table = "access_controls" )
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 // DefaultPtype holds the default value on creation for the "ptype" field. DefaultPtype string // DefaultV0 holds the default value on creation for the "v0" field. DefaultV0 string // DefaultV1 holds the default value on creation for the "v1" field. DefaultV1 string // DefaultV2 holds the default value on creation for the "v2" field. DefaultV2 string // DefaultV3 holds the default value on creation for the "v3" field. DefaultV3 string // DefaultV4 holds the default value on creation for the "v4" field. DefaultV4 string // DefaultV5 holds the default value on creation for the "v5" field. DefaultV5 string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldPtype, FieldV0, FieldV1, FieldV2, FieldV3, FieldV4, FieldV5, }
Columns holds all SQL columns for accesscontrol fields.
Functions ¶
func And ¶
func And(predicates ...predicate.AccessControl) predicate.AccessControl
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AccessControl
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AccessControl
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AccessControl
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AccessControl
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AccessControl
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AccessControl
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AccessControl
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AccessControl
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AccessControl
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id int64) predicate.AccessControl
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.AccessControl
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.AccessControl
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.AccessControl
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.AccessControl
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.AccessControl
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.AccessControl
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.AccessControl
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.AccessControl) predicate.AccessControl
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AccessControl) predicate.AccessControl
Or groups predicates with the OR operator between them.
func Ptype ¶
func Ptype(v string) predicate.AccessControl
Ptype applies equality check predicate on the "ptype" field. It's identical to PtypeEQ.
func PtypeContains ¶
func PtypeContains(v string) predicate.AccessControl
PtypeContains applies the Contains predicate on the "ptype" field.
func PtypeContainsFold ¶
func PtypeContainsFold(v string) predicate.AccessControl
PtypeContainsFold applies the ContainsFold predicate on the "ptype" field.
func PtypeEQ ¶
func PtypeEQ(v string) predicate.AccessControl
PtypeEQ applies the EQ predicate on the "ptype" field.
func PtypeEqualFold ¶
func PtypeEqualFold(v string) predicate.AccessControl
PtypeEqualFold applies the EqualFold predicate on the "ptype" field.
func PtypeGT ¶
func PtypeGT(v string) predicate.AccessControl
PtypeGT applies the GT predicate on the "ptype" field.
func PtypeGTE ¶
func PtypeGTE(v string) predicate.AccessControl
PtypeGTE applies the GTE predicate on the "ptype" field.
func PtypeHasPrefix ¶
func PtypeHasPrefix(v string) predicate.AccessControl
PtypeHasPrefix applies the HasPrefix predicate on the "ptype" field.
func PtypeHasSuffix ¶
func PtypeHasSuffix(v string) predicate.AccessControl
PtypeHasSuffix applies the HasSuffix predicate on the "ptype" field.
func PtypeIn ¶
func PtypeIn(vs ...string) predicate.AccessControl
PtypeIn applies the In predicate on the "ptype" field.
func PtypeLT ¶
func PtypeLT(v string) predicate.AccessControl
PtypeLT applies the LT predicate on the "ptype" field.
func PtypeLTE ¶
func PtypeLTE(v string) predicate.AccessControl
PtypeLTE applies the LTE predicate on the "ptype" field.
func PtypeNEQ ¶
func PtypeNEQ(v string) predicate.AccessControl
PtypeNEQ applies the NEQ predicate on the "ptype" field.
func PtypeNotIn ¶
func PtypeNotIn(vs ...string) predicate.AccessControl
PtypeNotIn applies the NotIn predicate on the "ptype" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AccessControl
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AccessControl
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AccessControl
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AccessControl
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AccessControl
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AccessControl
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AccessControl
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AccessControl
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AccessControl
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func V0 ¶
func V0(v string) predicate.AccessControl
V0 applies equality check predicate on the "v0" field. It's identical to V0EQ.
func V0Contains ¶
func V0Contains(v string) predicate.AccessControl
V0Contains applies the Contains predicate on the "v0" field.
func V0ContainsFold ¶
func V0ContainsFold(v string) predicate.AccessControl
V0ContainsFold applies the ContainsFold predicate on the "v0" field.
func V0EQ ¶
func V0EQ(v string) predicate.AccessControl
V0EQ applies the EQ predicate on the "v0" field.
func V0EqualFold ¶
func V0EqualFold(v string) predicate.AccessControl
V0EqualFold applies the EqualFold predicate on the "v0" field.
func V0GT ¶
func V0GT(v string) predicate.AccessControl
V0GT applies the GT predicate on the "v0" field.
func V0GTE ¶
func V0GTE(v string) predicate.AccessControl
V0GTE applies the GTE predicate on the "v0" field.
func V0HasPrefix ¶
func V0HasPrefix(v string) predicate.AccessControl
V0HasPrefix applies the HasPrefix predicate on the "v0" field.
func V0HasSuffix ¶
func V0HasSuffix(v string) predicate.AccessControl
V0HasSuffix applies the HasSuffix predicate on the "v0" field.
func V0In ¶
func V0In(vs ...string) predicate.AccessControl
V0In applies the In predicate on the "v0" field.
func V0LT ¶
func V0LT(v string) predicate.AccessControl
V0LT applies the LT predicate on the "v0" field.
func V0LTE ¶
func V0LTE(v string) predicate.AccessControl
V0LTE applies the LTE predicate on the "v0" field.
func V0NEQ ¶
func V0NEQ(v string) predicate.AccessControl
V0NEQ applies the NEQ predicate on the "v0" field.
func V0NotIn ¶
func V0NotIn(vs ...string) predicate.AccessControl
V0NotIn applies the NotIn predicate on the "v0" field.
func V1 ¶
func V1(v string) predicate.AccessControl
V1 applies equality check predicate on the "v1" field. It's identical to V1EQ.
func V1Contains ¶
func V1Contains(v string) predicate.AccessControl
V1Contains applies the Contains predicate on the "v1" field.
func V1ContainsFold ¶
func V1ContainsFold(v string) predicate.AccessControl
V1ContainsFold applies the ContainsFold predicate on the "v1" field.
func V1EQ ¶
func V1EQ(v string) predicate.AccessControl
V1EQ applies the EQ predicate on the "v1" field.
func V1EqualFold ¶
func V1EqualFold(v string) predicate.AccessControl
V1EqualFold applies the EqualFold predicate on the "v1" field.
func V1GT ¶
func V1GT(v string) predicate.AccessControl
V1GT applies the GT predicate on the "v1" field.
func V1GTE ¶
func V1GTE(v string) predicate.AccessControl
V1GTE applies the GTE predicate on the "v1" field.
func V1HasPrefix ¶
func V1HasPrefix(v string) predicate.AccessControl
V1HasPrefix applies the HasPrefix predicate on the "v1" field.
func V1HasSuffix ¶
func V1HasSuffix(v string) predicate.AccessControl
V1HasSuffix applies the HasSuffix predicate on the "v1" field.
func V1In ¶
func V1In(vs ...string) predicate.AccessControl
V1In applies the In predicate on the "v1" field.
func V1LT ¶
func V1LT(v string) predicate.AccessControl
V1LT applies the LT predicate on the "v1" field.
func V1LTE ¶
func V1LTE(v string) predicate.AccessControl
V1LTE applies the LTE predicate on the "v1" field.
func V1NEQ ¶
func V1NEQ(v string) predicate.AccessControl
V1NEQ applies the NEQ predicate on the "v1" field.
func V1NotIn ¶
func V1NotIn(vs ...string) predicate.AccessControl
V1NotIn applies the NotIn predicate on the "v1" field.
func V2 ¶
func V2(v string) predicate.AccessControl
V2 applies equality check predicate on the "v2" field. It's identical to V2EQ.
func V2Contains ¶
func V2Contains(v string) predicate.AccessControl
V2Contains applies the Contains predicate on the "v2" field.
func V2ContainsFold ¶
func V2ContainsFold(v string) predicate.AccessControl
V2ContainsFold applies the ContainsFold predicate on the "v2" field.
func V2EQ ¶
func V2EQ(v string) predicate.AccessControl
V2EQ applies the EQ predicate on the "v2" field.
func V2EqualFold ¶
func V2EqualFold(v string) predicate.AccessControl
V2EqualFold applies the EqualFold predicate on the "v2" field.
func V2GT ¶
func V2GT(v string) predicate.AccessControl
V2GT applies the GT predicate on the "v2" field.
func V2GTE ¶
func V2GTE(v string) predicate.AccessControl
V2GTE applies the GTE predicate on the "v2" field.
func V2HasPrefix ¶
func V2HasPrefix(v string) predicate.AccessControl
V2HasPrefix applies the HasPrefix predicate on the "v2" field.
func V2HasSuffix ¶
func V2HasSuffix(v string) predicate.AccessControl
V2HasSuffix applies the HasSuffix predicate on the "v2" field.
func V2In ¶
func V2In(vs ...string) predicate.AccessControl
V2In applies the In predicate on the "v2" field.
func V2LT ¶
func V2LT(v string) predicate.AccessControl
V2LT applies the LT predicate on the "v2" field.
func V2LTE ¶
func V2LTE(v string) predicate.AccessControl
V2LTE applies the LTE predicate on the "v2" field.
func V2NEQ ¶
func V2NEQ(v string) predicate.AccessControl
V2NEQ applies the NEQ predicate on the "v2" field.
func V2NotIn ¶
func V2NotIn(vs ...string) predicate.AccessControl
V2NotIn applies the NotIn predicate on the "v2" field.
func V3 ¶
func V3(v string) predicate.AccessControl
V3 applies equality check predicate on the "v3" field. It's identical to V3EQ.
func V3Contains ¶
func V3Contains(v string) predicate.AccessControl
V3Contains applies the Contains predicate on the "v3" field.
func V3ContainsFold ¶
func V3ContainsFold(v string) predicate.AccessControl
V3ContainsFold applies the ContainsFold predicate on the "v3" field.
func V3EQ ¶
func V3EQ(v string) predicate.AccessControl
V3EQ applies the EQ predicate on the "v3" field.
func V3EqualFold ¶
func V3EqualFold(v string) predicate.AccessControl
V3EqualFold applies the EqualFold predicate on the "v3" field.
func V3GT ¶
func V3GT(v string) predicate.AccessControl
V3GT applies the GT predicate on the "v3" field.
func V3GTE ¶
func V3GTE(v string) predicate.AccessControl
V3GTE applies the GTE predicate on the "v3" field.
func V3HasPrefix ¶
func V3HasPrefix(v string) predicate.AccessControl
V3HasPrefix applies the HasPrefix predicate on the "v3" field.
func V3HasSuffix ¶
func V3HasSuffix(v string) predicate.AccessControl
V3HasSuffix applies the HasSuffix predicate on the "v3" field.
func V3In ¶
func V3In(vs ...string) predicate.AccessControl
V3In applies the In predicate on the "v3" field.
func V3LT ¶
func V3LT(v string) predicate.AccessControl
V3LT applies the LT predicate on the "v3" field.
func V3LTE ¶
func V3LTE(v string) predicate.AccessControl
V3LTE applies the LTE predicate on the "v3" field.
func V3NEQ ¶
func V3NEQ(v string) predicate.AccessControl
V3NEQ applies the NEQ predicate on the "v3" field.
func V3NotIn ¶
func V3NotIn(vs ...string) predicate.AccessControl
V3NotIn applies the NotIn predicate on the "v3" field.
func V4 ¶
func V4(v string) predicate.AccessControl
V4 applies equality check predicate on the "v4" field. It's identical to V4EQ.
func V4Contains ¶
func V4Contains(v string) predicate.AccessControl
V4Contains applies the Contains predicate on the "v4" field.
func V4ContainsFold ¶
func V4ContainsFold(v string) predicate.AccessControl
V4ContainsFold applies the ContainsFold predicate on the "v4" field.
func V4EQ ¶
func V4EQ(v string) predicate.AccessControl
V4EQ applies the EQ predicate on the "v4" field.
func V4EqualFold ¶
func V4EqualFold(v string) predicate.AccessControl
V4EqualFold applies the EqualFold predicate on the "v4" field.
func V4GT ¶
func V4GT(v string) predicate.AccessControl
V4GT applies the GT predicate on the "v4" field.
func V4GTE ¶
func V4GTE(v string) predicate.AccessControl
V4GTE applies the GTE predicate on the "v4" field.
func V4HasPrefix ¶
func V4HasPrefix(v string) predicate.AccessControl
V4HasPrefix applies the HasPrefix predicate on the "v4" field.
func V4HasSuffix ¶
func V4HasSuffix(v string) predicate.AccessControl
V4HasSuffix applies the HasSuffix predicate on the "v4" field.
func V4In ¶
func V4In(vs ...string) predicate.AccessControl
V4In applies the In predicate on the "v4" field.
func V4LT ¶
func V4LT(v string) predicate.AccessControl
V4LT applies the LT predicate on the "v4" field.
func V4LTE ¶
func V4LTE(v string) predicate.AccessControl
V4LTE applies the LTE predicate on the "v4" field.
func V4NEQ ¶
func V4NEQ(v string) predicate.AccessControl
V4NEQ applies the NEQ predicate on the "v4" field.
func V4NotIn ¶
func V4NotIn(vs ...string) predicate.AccessControl
V4NotIn applies the NotIn predicate on the "v4" field.
func V5 ¶
func V5(v string) predicate.AccessControl
V5 applies equality check predicate on the "v5" field. It's identical to V5EQ.
func V5Contains ¶
func V5Contains(v string) predicate.AccessControl
V5Contains applies the Contains predicate on the "v5" field.
func V5ContainsFold ¶
func V5ContainsFold(v string) predicate.AccessControl
V5ContainsFold applies the ContainsFold predicate on the "v5" field.
func V5EQ ¶
func V5EQ(v string) predicate.AccessControl
V5EQ applies the EQ predicate on the "v5" field.
func V5EqualFold ¶
func V5EqualFold(v string) predicate.AccessControl
V5EqualFold applies the EqualFold predicate on the "v5" field.
func V5GT ¶
func V5GT(v string) predicate.AccessControl
V5GT applies the GT predicate on the "v5" field.
func V5GTE ¶
func V5GTE(v string) predicate.AccessControl
V5GTE applies the GTE predicate on the "v5" field.
func V5HasPrefix ¶
func V5HasPrefix(v string) predicate.AccessControl
V5HasPrefix applies the HasPrefix predicate on the "v5" field.
func V5HasSuffix ¶
func V5HasSuffix(v string) predicate.AccessControl
V5HasSuffix applies the HasSuffix predicate on the "v5" field.
func V5In ¶
func V5In(vs ...string) predicate.AccessControl
V5In applies the In predicate on the "v5" field.
func V5LT ¶
func V5LT(v string) predicate.AccessControl
V5LT applies the LT predicate on the "v5" field.
func V5LTE ¶
func V5LTE(v string) predicate.AccessControl
V5LTE applies the LTE predicate on the "v5" field.
func V5NEQ ¶
func V5NEQ(v string) predicate.AccessControl
V5NEQ applies the NEQ predicate on the "v5" field.
func V5NotIn ¶
func V5NotIn(vs ...string) predicate.AccessControl
V5NotIn applies the NotIn predicate on the "v5" 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 AccessControl queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPtype ¶
func ByPtype(opts ...sql.OrderTermOption) OrderOption
ByPtype orders the results by the ptype field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByV0 ¶
func ByV0(opts ...sql.OrderTermOption) OrderOption
ByV0 orders the results by the v0 field.
func ByV1 ¶
func ByV1(opts ...sql.OrderTermOption) OrderOption
ByV1 orders the results by the v1 field.
func ByV2 ¶
func ByV2(opts ...sql.OrderTermOption) OrderOption
ByV2 orders the results by the v2 field.
func ByV3 ¶
func ByV3(opts ...sql.OrderTermOption) OrderOption
ByV3 orders the results by the v3 field.
func ByV4 ¶
func ByV4(opts ...sql.OrderTermOption) OrderOption
ByV4 orders the results by the v4 field.
func ByV5 ¶
func ByV5(opts ...sql.OrderTermOption) OrderOption
ByV5 orders the results by the v5 field.