Documentation ¶
Index ¶
- Constants
- Variables
- func APIGroup(v string) predicate.API
- func APIGroupContains(v string) predicate.API
- func APIGroupContainsFold(v string) predicate.API
- func APIGroupEQ(v string) predicate.API
- func APIGroupEqualFold(v string) predicate.API
- func APIGroupGT(v string) predicate.API
- func APIGroupGTE(v string) predicate.API
- func APIGroupHasPrefix(v string) predicate.API
- func APIGroupHasSuffix(v string) predicate.API
- func APIGroupIn(vs ...string) predicate.API
- func APIGroupLT(v string) predicate.API
- func APIGroupLTE(v string) predicate.API
- func APIGroupNEQ(v string) predicate.API
- func APIGroupNotIn(vs ...string) predicate.API
- func And(predicates ...predicate.API) predicate.API
- func CreatedAt(v time.Time) predicate.API
- func CreatedAtEQ(v time.Time) predicate.API
- func CreatedAtGT(v time.Time) predicate.API
- func CreatedAtGTE(v time.Time) predicate.API
- func CreatedAtIn(vs ...time.Time) predicate.API
- func CreatedAtLT(v time.Time) predicate.API
- func CreatedAtLTE(v time.Time) predicate.API
- func CreatedAtNEQ(v time.Time) predicate.API
- func CreatedAtNotIn(vs ...time.Time) predicate.API
- func Description(v string) predicate.API
- func DescriptionContains(v string) predicate.API
- func DescriptionContainsFold(v string) predicate.API
- func DescriptionEQ(v string) predicate.API
- func DescriptionEqualFold(v string) predicate.API
- func DescriptionGT(v string) predicate.API
- func DescriptionGTE(v string) predicate.API
- func DescriptionHasPrefix(v string) predicate.API
- func DescriptionHasSuffix(v string) predicate.API
- func DescriptionIn(vs ...string) predicate.API
- func DescriptionLT(v string) predicate.API
- func DescriptionLTE(v string) predicate.API
- func DescriptionNEQ(v string) predicate.API
- func DescriptionNotIn(vs ...string) predicate.API
- func ID(id uint64) predicate.API
- func IDEQ(id uint64) predicate.API
- func IDGT(id uint64) predicate.API
- func IDGTE(id uint64) predicate.API
- func IDIn(ids ...uint64) predicate.API
- func IDLT(id uint64) predicate.API
- func IDLTE(id uint64) predicate.API
- func IDNEQ(id uint64) predicate.API
- func IDNotIn(ids ...uint64) predicate.API
- func Method(v string) predicate.API
- func MethodContains(v string) predicate.API
- func MethodContainsFold(v string) predicate.API
- func MethodEQ(v string) predicate.API
- func MethodEqualFold(v string) predicate.API
- func MethodGT(v string) predicate.API
- func MethodGTE(v string) predicate.API
- func MethodHasPrefix(v string) predicate.API
- func MethodHasSuffix(v string) predicate.API
- func MethodIn(vs ...string) predicate.API
- func MethodLT(v string) predicate.API
- func MethodLTE(v string) predicate.API
- func MethodNEQ(v string) predicate.API
- func MethodNotIn(vs ...string) predicate.API
- func Not(p predicate.API) predicate.API
- func Or(predicates ...predicate.API) predicate.API
- func Path(v string) predicate.API
- func PathContains(v string) predicate.API
- func PathContainsFold(v string) predicate.API
- func PathEQ(v string) predicate.API
- func PathEqualFold(v string) predicate.API
- func PathGT(v string) predicate.API
- func PathGTE(v string) predicate.API
- func PathHasPrefix(v string) predicate.API
- func PathHasSuffix(v string) predicate.API
- func PathIn(vs ...string) predicate.API
- func PathLT(v string) predicate.API
- func PathLTE(v string) predicate.API
- func PathNEQ(v string) predicate.API
- func PathNotIn(vs ...string) predicate.API
- func UpdatedAt(v time.Time) predicate.API
- func UpdatedAtEQ(v time.Time) predicate.API
- func UpdatedAtGT(v time.Time) predicate.API
- func UpdatedAtGTE(v time.Time) predicate.API
- func UpdatedAtIn(vs ...time.Time) predicate.API
- func UpdatedAtLT(v time.Time) predicate.API
- func UpdatedAtLTE(v time.Time) predicate.API
- func UpdatedAtNEQ(v time.Time) predicate.API
- func UpdatedAtNotIn(vs ...time.Time) predicate.API
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the api type in the database. Label = "api" // 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" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAPIGroup holds the string denoting the api_group field in the database. FieldAPIGroup = "api_group" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // Table holds the table name of the api in the database. Table = "sys_apis" )
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 // DefaultMethod holds the default value on creation for the "method" field. DefaultMethod string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldPath, FieldDescription, FieldAPIGroup, FieldMethod, }
Columns holds all SQL columns for api fields.
Functions ¶
func APIGroup ¶
APIGroup applies equality check predicate on the "api_group" field. It's identical to APIGroupEQ.
func APIGroupContains ¶
APIGroupContains applies the Contains predicate on the "api_group" field.
func APIGroupContainsFold ¶
APIGroupContainsFold applies the ContainsFold predicate on the "api_group" field.
func APIGroupEQ ¶
APIGroupEQ applies the EQ predicate on the "api_group" field.
func APIGroupEqualFold ¶
APIGroupEqualFold applies the EqualFold predicate on the "api_group" field.
func APIGroupGT ¶
APIGroupGT applies the GT predicate on the "api_group" field.
func APIGroupGTE ¶
APIGroupGTE applies the GTE predicate on the "api_group" field.
func APIGroupHasPrefix ¶
APIGroupHasPrefix applies the HasPrefix predicate on the "api_group" field.
func APIGroupHasSuffix ¶
APIGroupHasSuffix applies the HasSuffix predicate on the "api_group" field.
func APIGroupIn ¶
APIGroupIn applies the In predicate on the "api_group" field.
func APIGroupLT ¶
APIGroupLT applies the LT predicate on the "api_group" field.
func APIGroupLTE ¶
APIGroupLTE applies the LTE predicate on the "api_group" field.
func APIGroupNEQ ¶
APIGroupNEQ applies the NEQ predicate on the "api_group" field.
func APIGroupNotIn ¶
APIGroupNotIn applies the NotIn predicate on the "api_group" 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 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 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 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 Method ¶
Method applies equality check predicate on the "method" field. It's identical to MethodEQ.
func MethodContains ¶
MethodContains applies the Contains predicate on the "method" field.
func MethodContainsFold ¶
MethodContainsFold applies the ContainsFold predicate on the "method" field.
func MethodEqualFold ¶
MethodEqualFold applies the EqualFold predicate on the "method" field.
func MethodHasPrefix ¶
MethodHasPrefix applies the HasPrefix predicate on the "method" field.
func MethodHasSuffix ¶
MethodHasSuffix applies the HasSuffix predicate on the "method" field.
func MethodNotIn ¶
MethodNotIn applies the NotIn predicate on the "method" field.
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" 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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.