Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CasbinPolicy) predicate.CasbinPolicy
- func ID(id int) predicate.CasbinPolicy
- func IDEQ(id int) predicate.CasbinPolicy
- func IDGT(id int) predicate.CasbinPolicy
- func IDGTE(id int) predicate.CasbinPolicy
- func IDIn(ids ...int) predicate.CasbinPolicy
- func IDLT(id int) predicate.CasbinPolicy
- func IDLTE(id int) predicate.CasbinPolicy
- func IDNEQ(id int) predicate.CasbinPolicy
- func IDNotIn(ids ...int) predicate.CasbinPolicy
- func Not(p predicate.CasbinPolicy) predicate.CasbinPolicy
- func Or(predicates ...predicate.CasbinPolicy) predicate.CasbinPolicy
- func Ptype(v string) predicate.CasbinPolicy
- func PtypeContains(v string) predicate.CasbinPolicy
- func PtypeContainsFold(v string) predicate.CasbinPolicy
- func PtypeEQ(v string) predicate.CasbinPolicy
- func PtypeEqualFold(v string) predicate.CasbinPolicy
- func PtypeGT(v string) predicate.CasbinPolicy
- func PtypeGTE(v string) predicate.CasbinPolicy
- func PtypeHasPrefix(v string) predicate.CasbinPolicy
- func PtypeHasSuffix(v string) predicate.CasbinPolicy
- func PtypeIn(vs ...string) predicate.CasbinPolicy
- func PtypeLT(v string) predicate.CasbinPolicy
- func PtypeLTE(v string) predicate.CasbinPolicy
- func PtypeNEQ(v string) predicate.CasbinPolicy
- func PtypeNotIn(vs ...string) predicate.CasbinPolicy
- func V0(v string) predicate.CasbinPolicy
- func V0Contains(v string) predicate.CasbinPolicy
- func V0ContainsFold(v string) predicate.CasbinPolicy
- func V0EQ(v string) predicate.CasbinPolicy
- func V0EqualFold(v string) predicate.CasbinPolicy
- func V0GT(v string) predicate.CasbinPolicy
- func V0GTE(v string) predicate.CasbinPolicy
- func V0HasPrefix(v string) predicate.CasbinPolicy
- func V0HasSuffix(v string) predicate.CasbinPolicy
- func V0In(vs ...string) predicate.CasbinPolicy
- func V0IsNil() predicate.CasbinPolicy
- func V0LT(v string) predicate.CasbinPolicy
- func V0LTE(v string) predicate.CasbinPolicy
- func V0NEQ(v string) predicate.CasbinPolicy
- func V0NotIn(vs ...string) predicate.CasbinPolicy
- func V0NotNil() predicate.CasbinPolicy
- func V1(v string) predicate.CasbinPolicy
- func V1Contains(v string) predicate.CasbinPolicy
- func V1ContainsFold(v string) predicate.CasbinPolicy
- func V1EQ(v string) predicate.CasbinPolicy
- func V1EqualFold(v string) predicate.CasbinPolicy
- func V1GT(v string) predicate.CasbinPolicy
- func V1GTE(v string) predicate.CasbinPolicy
- func V1HasPrefix(v string) predicate.CasbinPolicy
- func V1HasSuffix(v string) predicate.CasbinPolicy
- func V1In(vs ...string) predicate.CasbinPolicy
- func V1IsNil() predicate.CasbinPolicy
- func V1LT(v string) predicate.CasbinPolicy
- func V1LTE(v string) predicate.CasbinPolicy
- func V1NEQ(v string) predicate.CasbinPolicy
- func V1NotIn(vs ...string) predicate.CasbinPolicy
- func V1NotNil() predicate.CasbinPolicy
- func V2(v string) predicate.CasbinPolicy
- func V2Contains(v string) predicate.CasbinPolicy
- func V2ContainsFold(v string) predicate.CasbinPolicy
- func V2EQ(v string) predicate.CasbinPolicy
- func V2EqualFold(v string) predicate.CasbinPolicy
- func V2GT(v string) predicate.CasbinPolicy
- func V2GTE(v string) predicate.CasbinPolicy
- func V2HasPrefix(v string) predicate.CasbinPolicy
- func V2HasSuffix(v string) predicate.CasbinPolicy
- func V2In(vs ...string) predicate.CasbinPolicy
- func V2IsNil() predicate.CasbinPolicy
- func V2LT(v string) predicate.CasbinPolicy
- func V2LTE(v string) predicate.CasbinPolicy
- func V2NEQ(v string) predicate.CasbinPolicy
- func V2NotIn(vs ...string) predicate.CasbinPolicy
- func V2NotNil() predicate.CasbinPolicy
- func V3(v string) predicate.CasbinPolicy
- func V3Contains(v string) predicate.CasbinPolicy
- func V3ContainsFold(v string) predicate.CasbinPolicy
- func V3EQ(v string) predicate.CasbinPolicy
- func V3EqualFold(v string) predicate.CasbinPolicy
- func V3GT(v string) predicate.CasbinPolicy
- func V3GTE(v string) predicate.CasbinPolicy
- func V3HasPrefix(v string) predicate.CasbinPolicy
- func V3HasSuffix(v string) predicate.CasbinPolicy
- func V3In(vs ...string) predicate.CasbinPolicy
- func V3IsNil() predicate.CasbinPolicy
- func V3LT(v string) predicate.CasbinPolicy
- func V3LTE(v string) predicate.CasbinPolicy
- func V3NEQ(v string) predicate.CasbinPolicy
- func V3NotIn(vs ...string) predicate.CasbinPolicy
- func V3NotNil() predicate.CasbinPolicy
- func V4(v string) predicate.CasbinPolicy
- func V4Contains(v string) predicate.CasbinPolicy
- func V4ContainsFold(v string) predicate.CasbinPolicy
- func V4EQ(v string) predicate.CasbinPolicy
- func V4EqualFold(v string) predicate.CasbinPolicy
- func V4GT(v string) predicate.CasbinPolicy
- func V4GTE(v string) predicate.CasbinPolicy
- func V4HasPrefix(v string) predicate.CasbinPolicy
- func V4HasSuffix(v string) predicate.CasbinPolicy
- func V4In(vs ...string) predicate.CasbinPolicy
- func V4IsNil() predicate.CasbinPolicy
- func V4LT(v string) predicate.CasbinPolicy
- func V4LTE(v string) predicate.CasbinPolicy
- func V4NEQ(v string) predicate.CasbinPolicy
- func V4NotIn(vs ...string) predicate.CasbinPolicy
- func V4NotNil() predicate.CasbinPolicy
- func V5(v string) predicate.CasbinPolicy
- func V5Contains(v string) predicate.CasbinPolicy
- func V5ContainsFold(v string) predicate.CasbinPolicy
- func V5EQ(v string) predicate.CasbinPolicy
- func V5EqualFold(v string) predicate.CasbinPolicy
- func V5GT(v string) predicate.CasbinPolicy
- func V5GTE(v string) predicate.CasbinPolicy
- func V5HasPrefix(v string) predicate.CasbinPolicy
- func V5HasSuffix(v string) predicate.CasbinPolicy
- func V5In(vs ...string) predicate.CasbinPolicy
- func V5IsNil() predicate.CasbinPolicy
- func V5LT(v string) predicate.CasbinPolicy
- func V5LTE(v string) predicate.CasbinPolicy
- func V5NEQ(v string) predicate.CasbinPolicy
- func V5NotIn(vs ...string) predicate.CasbinPolicy
- func V5NotNil() predicate.CasbinPolicy
- func ValidColumn(column string) bool
- type OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPtype(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 casbinpolicy type in the database. Label = "casbin_policy" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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 casbinpolicy in the database. Table = "casbin_policies" )
Variables ¶
var Columns = []string{ FieldID, FieldPtype, FieldV0, FieldV1, FieldV2, FieldV3, FieldV4, FieldV5, }
Columns holds all SQL columns for casbinpolicy fields.
var ( // PtypeValidator is a validator for the "ptype" field. It is called by the builders before save. PtypeValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.CasbinPolicy) predicate.CasbinPolicy
And groups predicates with the AND operator between them.
func IDGTE ¶
func IDGTE(id int) predicate.CasbinPolicy
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.CasbinPolicy
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.CasbinPolicy
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.CasbinPolicy
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.CasbinPolicy
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.CasbinPolicy) predicate.CasbinPolicy
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CasbinPolicy) predicate.CasbinPolicy
Or groups predicates with the OR operator between them.
func Ptype ¶
func Ptype(v string) predicate.CasbinPolicy
Ptype applies equality check predicate on the "ptype" field. It's identical to PtypeEQ.
func PtypeContains ¶
func PtypeContains(v string) predicate.CasbinPolicy
PtypeContains applies the Contains predicate on the "ptype" field.
func PtypeContainsFold ¶
func PtypeContainsFold(v string) predicate.CasbinPolicy
PtypeContainsFold applies the ContainsFold predicate on the "ptype" field.
func PtypeEQ ¶
func PtypeEQ(v string) predicate.CasbinPolicy
PtypeEQ applies the EQ predicate on the "ptype" field.
func PtypeEqualFold ¶
func PtypeEqualFold(v string) predicate.CasbinPolicy
PtypeEqualFold applies the EqualFold predicate on the "ptype" field.
func PtypeGT ¶
func PtypeGT(v string) predicate.CasbinPolicy
PtypeGT applies the GT predicate on the "ptype" field.
func PtypeGTE ¶
func PtypeGTE(v string) predicate.CasbinPolicy
PtypeGTE applies the GTE predicate on the "ptype" field.
func PtypeHasPrefix ¶
func PtypeHasPrefix(v string) predicate.CasbinPolicy
PtypeHasPrefix applies the HasPrefix predicate on the "ptype" field.
func PtypeHasSuffix ¶
func PtypeHasSuffix(v string) predicate.CasbinPolicy
PtypeHasSuffix applies the HasSuffix predicate on the "ptype" field.
func PtypeIn ¶
func PtypeIn(vs ...string) predicate.CasbinPolicy
PtypeIn applies the In predicate on the "ptype" field.
func PtypeLT ¶
func PtypeLT(v string) predicate.CasbinPolicy
PtypeLT applies the LT predicate on the "ptype" field.
func PtypeLTE ¶
func PtypeLTE(v string) predicate.CasbinPolicy
PtypeLTE applies the LTE predicate on the "ptype" field.
func PtypeNEQ ¶
func PtypeNEQ(v string) predicate.CasbinPolicy
PtypeNEQ applies the NEQ predicate on the "ptype" field.
func PtypeNotIn ¶
func PtypeNotIn(vs ...string) predicate.CasbinPolicy
PtypeNotIn applies the NotIn predicate on the "ptype" field.
func V0 ¶
func V0(v string) predicate.CasbinPolicy
V0 applies equality check predicate on the "v0" field. It's identical to V0EQ.
func V0Contains ¶
func V0Contains(v string) predicate.CasbinPolicy
V0Contains applies the Contains predicate on the "v0" field.
func V0ContainsFold ¶
func V0ContainsFold(v string) predicate.CasbinPolicy
V0ContainsFold applies the ContainsFold predicate on the "v0" field.
func V0EQ ¶
func V0EQ(v string) predicate.CasbinPolicy
V0EQ applies the EQ predicate on the "v0" field.
func V0EqualFold ¶
func V0EqualFold(v string) predicate.CasbinPolicy
V0EqualFold applies the EqualFold predicate on the "v0" field.
func V0GT ¶
func V0GT(v string) predicate.CasbinPolicy
V0GT applies the GT predicate on the "v0" field.
func V0GTE ¶
func V0GTE(v string) predicate.CasbinPolicy
V0GTE applies the GTE predicate on the "v0" field.
func V0HasPrefix ¶
func V0HasPrefix(v string) predicate.CasbinPolicy
V0HasPrefix applies the HasPrefix predicate on the "v0" field.
func V0HasSuffix ¶
func V0HasSuffix(v string) predicate.CasbinPolicy
V0HasSuffix applies the HasSuffix predicate on the "v0" field.
func V0In ¶
func V0In(vs ...string) predicate.CasbinPolicy
V0In applies the In predicate on the "v0" field.
func V0IsNil ¶
func V0IsNil() predicate.CasbinPolicy
V0IsNil applies the IsNil predicate on the "v0" field.
func V0LT ¶
func V0LT(v string) predicate.CasbinPolicy
V0LT applies the LT predicate on the "v0" field.
func V0LTE ¶
func V0LTE(v string) predicate.CasbinPolicy
V0LTE applies the LTE predicate on the "v0" field.
func V0NEQ ¶
func V0NEQ(v string) predicate.CasbinPolicy
V0NEQ applies the NEQ predicate on the "v0" field.
func V0NotIn ¶
func V0NotIn(vs ...string) predicate.CasbinPolicy
V0NotIn applies the NotIn predicate on the "v0" field.
func V0NotNil ¶
func V0NotNil() predicate.CasbinPolicy
V0NotNil applies the NotNil predicate on the "v0" field.
func V1 ¶
func V1(v string) predicate.CasbinPolicy
V1 applies equality check predicate on the "v1" field. It's identical to V1EQ.
func V1Contains ¶
func V1Contains(v string) predicate.CasbinPolicy
V1Contains applies the Contains predicate on the "v1" field.
func V1ContainsFold ¶
func V1ContainsFold(v string) predicate.CasbinPolicy
V1ContainsFold applies the ContainsFold predicate on the "v1" field.
func V1EQ ¶
func V1EQ(v string) predicate.CasbinPolicy
V1EQ applies the EQ predicate on the "v1" field.
func V1EqualFold ¶
func V1EqualFold(v string) predicate.CasbinPolicy
V1EqualFold applies the EqualFold predicate on the "v1" field.
func V1GT ¶
func V1GT(v string) predicate.CasbinPolicy
V1GT applies the GT predicate on the "v1" field.
func V1GTE ¶
func V1GTE(v string) predicate.CasbinPolicy
V1GTE applies the GTE predicate on the "v1" field.
func V1HasPrefix ¶
func V1HasPrefix(v string) predicate.CasbinPolicy
V1HasPrefix applies the HasPrefix predicate on the "v1" field.
func V1HasSuffix ¶
func V1HasSuffix(v string) predicate.CasbinPolicy
V1HasSuffix applies the HasSuffix predicate on the "v1" field.
func V1In ¶
func V1In(vs ...string) predicate.CasbinPolicy
V1In applies the In predicate on the "v1" field.
func V1IsNil ¶
func V1IsNil() predicate.CasbinPolicy
V1IsNil applies the IsNil predicate on the "v1" field.
func V1LT ¶
func V1LT(v string) predicate.CasbinPolicy
V1LT applies the LT predicate on the "v1" field.
func V1LTE ¶
func V1LTE(v string) predicate.CasbinPolicy
V1LTE applies the LTE predicate on the "v1" field.
func V1NEQ ¶
func V1NEQ(v string) predicate.CasbinPolicy
V1NEQ applies the NEQ predicate on the "v1" field.
func V1NotIn ¶
func V1NotIn(vs ...string) predicate.CasbinPolicy
V1NotIn applies the NotIn predicate on the "v1" field.
func V1NotNil ¶
func V1NotNil() predicate.CasbinPolicy
V1NotNil applies the NotNil predicate on the "v1" field.
func V2 ¶
func V2(v string) predicate.CasbinPolicy
V2 applies equality check predicate on the "v2" field. It's identical to V2EQ.
func V2Contains ¶
func V2Contains(v string) predicate.CasbinPolicy
V2Contains applies the Contains predicate on the "v2" field.
func V2ContainsFold ¶
func V2ContainsFold(v string) predicate.CasbinPolicy
V2ContainsFold applies the ContainsFold predicate on the "v2" field.
func V2EQ ¶
func V2EQ(v string) predicate.CasbinPolicy
V2EQ applies the EQ predicate on the "v2" field.
func V2EqualFold ¶
func V2EqualFold(v string) predicate.CasbinPolicy
V2EqualFold applies the EqualFold predicate on the "v2" field.
func V2GT ¶
func V2GT(v string) predicate.CasbinPolicy
V2GT applies the GT predicate on the "v2" field.
func V2GTE ¶
func V2GTE(v string) predicate.CasbinPolicy
V2GTE applies the GTE predicate on the "v2" field.
func V2HasPrefix ¶
func V2HasPrefix(v string) predicate.CasbinPolicy
V2HasPrefix applies the HasPrefix predicate on the "v2" field.
func V2HasSuffix ¶
func V2HasSuffix(v string) predicate.CasbinPolicy
V2HasSuffix applies the HasSuffix predicate on the "v2" field.
func V2In ¶
func V2In(vs ...string) predicate.CasbinPolicy
V2In applies the In predicate on the "v2" field.
func V2IsNil ¶
func V2IsNil() predicate.CasbinPolicy
V2IsNil applies the IsNil predicate on the "v2" field.
func V2LT ¶
func V2LT(v string) predicate.CasbinPolicy
V2LT applies the LT predicate on the "v2" field.
func V2LTE ¶
func V2LTE(v string) predicate.CasbinPolicy
V2LTE applies the LTE predicate on the "v2" field.
func V2NEQ ¶
func V2NEQ(v string) predicate.CasbinPolicy
V2NEQ applies the NEQ predicate on the "v2" field.
func V2NotIn ¶
func V2NotIn(vs ...string) predicate.CasbinPolicy
V2NotIn applies the NotIn predicate on the "v2" field.
func V2NotNil ¶
func V2NotNil() predicate.CasbinPolicy
V2NotNil applies the NotNil predicate on the "v2" field.
func V3 ¶
func V3(v string) predicate.CasbinPolicy
V3 applies equality check predicate on the "v3" field. It's identical to V3EQ.
func V3Contains ¶
func V3Contains(v string) predicate.CasbinPolicy
V3Contains applies the Contains predicate on the "v3" field.
func V3ContainsFold ¶
func V3ContainsFold(v string) predicate.CasbinPolicy
V3ContainsFold applies the ContainsFold predicate on the "v3" field.
func V3EQ ¶
func V3EQ(v string) predicate.CasbinPolicy
V3EQ applies the EQ predicate on the "v3" field.
func V3EqualFold ¶
func V3EqualFold(v string) predicate.CasbinPolicy
V3EqualFold applies the EqualFold predicate on the "v3" field.
func V3GT ¶
func V3GT(v string) predicate.CasbinPolicy
V3GT applies the GT predicate on the "v3" field.
func V3GTE ¶
func V3GTE(v string) predicate.CasbinPolicy
V3GTE applies the GTE predicate on the "v3" field.
func V3HasPrefix ¶
func V3HasPrefix(v string) predicate.CasbinPolicy
V3HasPrefix applies the HasPrefix predicate on the "v3" field.
func V3HasSuffix ¶
func V3HasSuffix(v string) predicate.CasbinPolicy
V3HasSuffix applies the HasSuffix predicate on the "v3" field.
func V3In ¶
func V3In(vs ...string) predicate.CasbinPolicy
V3In applies the In predicate on the "v3" field.
func V3IsNil ¶
func V3IsNil() predicate.CasbinPolicy
V3IsNil applies the IsNil predicate on the "v3" field.
func V3LT ¶
func V3LT(v string) predicate.CasbinPolicy
V3LT applies the LT predicate on the "v3" field.
func V3LTE ¶
func V3LTE(v string) predicate.CasbinPolicy
V3LTE applies the LTE predicate on the "v3" field.
func V3NEQ ¶
func V3NEQ(v string) predicate.CasbinPolicy
V3NEQ applies the NEQ predicate on the "v3" field.
func V3NotIn ¶
func V3NotIn(vs ...string) predicate.CasbinPolicy
V3NotIn applies the NotIn predicate on the "v3" field.
func V3NotNil ¶
func V3NotNil() predicate.CasbinPolicy
V3NotNil applies the NotNil predicate on the "v3" field.
func V4 ¶
func V4(v string) predicate.CasbinPolicy
V4 applies equality check predicate on the "v4" field. It's identical to V4EQ.
func V4Contains ¶
func V4Contains(v string) predicate.CasbinPolicy
V4Contains applies the Contains predicate on the "v4" field.
func V4ContainsFold ¶
func V4ContainsFold(v string) predicate.CasbinPolicy
V4ContainsFold applies the ContainsFold predicate on the "v4" field.
func V4EQ ¶
func V4EQ(v string) predicate.CasbinPolicy
V4EQ applies the EQ predicate on the "v4" field.
func V4EqualFold ¶
func V4EqualFold(v string) predicate.CasbinPolicy
V4EqualFold applies the EqualFold predicate on the "v4" field.
func V4GT ¶
func V4GT(v string) predicate.CasbinPolicy
V4GT applies the GT predicate on the "v4" field.
func V4GTE ¶
func V4GTE(v string) predicate.CasbinPolicy
V4GTE applies the GTE predicate on the "v4" field.
func V4HasPrefix ¶
func V4HasPrefix(v string) predicate.CasbinPolicy
V4HasPrefix applies the HasPrefix predicate on the "v4" field.
func V4HasSuffix ¶
func V4HasSuffix(v string) predicate.CasbinPolicy
V4HasSuffix applies the HasSuffix predicate on the "v4" field.
func V4In ¶
func V4In(vs ...string) predicate.CasbinPolicy
V4In applies the In predicate on the "v4" field.
func V4IsNil ¶
func V4IsNil() predicate.CasbinPolicy
V4IsNil applies the IsNil predicate on the "v4" field.
func V4LT ¶
func V4LT(v string) predicate.CasbinPolicy
V4LT applies the LT predicate on the "v4" field.
func V4LTE ¶
func V4LTE(v string) predicate.CasbinPolicy
V4LTE applies the LTE predicate on the "v4" field.
func V4NEQ ¶
func V4NEQ(v string) predicate.CasbinPolicy
V4NEQ applies the NEQ predicate on the "v4" field.
func V4NotIn ¶
func V4NotIn(vs ...string) predicate.CasbinPolicy
V4NotIn applies the NotIn predicate on the "v4" field.
func V4NotNil ¶
func V4NotNil() predicate.CasbinPolicy
V4NotNil applies the NotNil predicate on the "v4" field.
func V5 ¶
func V5(v string) predicate.CasbinPolicy
V5 applies equality check predicate on the "v5" field. It's identical to V5EQ.
func V5Contains ¶
func V5Contains(v string) predicate.CasbinPolicy
V5Contains applies the Contains predicate on the "v5" field.
func V5ContainsFold ¶
func V5ContainsFold(v string) predicate.CasbinPolicy
V5ContainsFold applies the ContainsFold predicate on the "v5" field.
func V5EQ ¶
func V5EQ(v string) predicate.CasbinPolicy
V5EQ applies the EQ predicate on the "v5" field.
func V5EqualFold ¶
func V5EqualFold(v string) predicate.CasbinPolicy
V5EqualFold applies the EqualFold predicate on the "v5" field.
func V5GT ¶
func V5GT(v string) predicate.CasbinPolicy
V5GT applies the GT predicate on the "v5" field.
func V5GTE ¶
func V5GTE(v string) predicate.CasbinPolicy
V5GTE applies the GTE predicate on the "v5" field.
func V5HasPrefix ¶
func V5HasPrefix(v string) predicate.CasbinPolicy
V5HasPrefix applies the HasPrefix predicate on the "v5" field.
func V5HasSuffix ¶
func V5HasSuffix(v string) predicate.CasbinPolicy
V5HasSuffix applies the HasSuffix predicate on the "v5" field.
func V5In ¶
func V5In(vs ...string) predicate.CasbinPolicy
V5In applies the In predicate on the "v5" field.
func V5IsNil ¶
func V5IsNil() predicate.CasbinPolicy
V5IsNil applies the IsNil predicate on the "v5" field.
func V5LT ¶
func V5LT(v string) predicate.CasbinPolicy
V5LT applies the LT predicate on the "v5" field.
func V5LTE ¶
func V5LTE(v string) predicate.CasbinPolicy
V5LTE applies the LTE predicate on the "v5" field.
func V5NEQ ¶
func V5NEQ(v string) predicate.CasbinPolicy
V5NEQ applies the NEQ predicate on the "v5" field.
func V5NotIn ¶
func V5NotIn(vs ...string) predicate.CasbinPolicy
V5NotIn applies the NotIn predicate on the "v5" field.
func V5NotNil ¶
func V5NotNil() predicate.CasbinPolicy
V5NotNil applies the NotNil 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 CasbinPolicy queries.
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 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.