groupsetting

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the groupsetting type in the database.
	Label = "group_setting"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldVisibility holds the string denoting the visibility field in the database.
	FieldVisibility = "visibility"
	// FieldJoinPolicy holds the string denoting the join_policy field in the database.
	FieldJoinPolicy = "join_policy"
	// FieldSyncToSlack holds the string denoting the sync_to_slack field in the database.
	FieldSyncToSlack = "sync_to_slack"
	// FieldSyncToGithub holds the string denoting the sync_to_github field in the database.
	FieldSyncToGithub = "sync_to_github"
	// FieldGroupID holds the string denoting the group_id field in the database.
	FieldGroupID = "group_id"
	// EdgeGroup holds the string denoting the group edge name in mutations.
	EdgeGroup = "group"
	// Table holds the table name of the groupsetting in the database.
	Table = "group_settings"
	// GroupTable is the table that holds the group relation/edge.
	GroupTable = "group_settings"
	// GroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupInverseTable = "groups"
	// GroupColumn is the table column denoting the group relation/edge.
	GroupColumn = "group_id"
)
View Source
const DefaultJoinPolicy enums.JoinPolicy = "INVITE_OR_APPLICATION"
View Source
const DefaultVisibility enums.Visibility = "PUBLIC"

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [1]ent.Interceptor
	Policy       ent.Policy
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultSyncToSlack holds the default value on creation for the "sync_to_slack" field.
	DefaultSyncToSlack bool
	// DefaultSyncToGithub holds the default value on creation for the "sync_to_github" field.
	DefaultSyncToGithub bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for groupsetting fields.

Functions

func And

func And(predicates ...predicate.GroupSetting) predicate.GroupSetting

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.GroupSetting

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GroupSetting

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GroupSetting

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GroupSetting

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.GroupSetting

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.GroupSetting

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GroupSetting

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GroupSetting

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GroupSetting

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.GroupSetting

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.GroupSetting

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.GroupSetting

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.GroupSetting

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.GroupSetting

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.GroupSetting

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.GroupSetting

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.GroupSetting

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.GroupSetting

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.GroupSetting

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.GroupSetting

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.GroupSetting

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.GroupSetting

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.GroupSetting

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.GroupSetting

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.GroupSetting

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.GroupSetting

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.GroupSetting

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.GroupSetting

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.GroupSetting

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.GroupSetting

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.GroupSetting

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.GroupSetting

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.GroupSetting

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.GroupSetting

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.GroupSetting

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.GroupSetting

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.GroupSetting

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.GroupSetting

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.GroupSetting

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.GroupSetting

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.GroupSetting

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.GroupSetting

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.GroupSetting

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.GroupSetting

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.GroupSetting

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.GroupSetting

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.GroupSetting

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.GroupSetting

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.GroupSetting

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.GroupSetting

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.GroupSetting

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.GroupSetting

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.GroupSetting

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.GroupSetting

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func GroupID

func GroupID(v string) predicate.GroupSetting

GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.

func GroupIDContains

func GroupIDContains(v string) predicate.GroupSetting

GroupIDContains applies the Contains predicate on the "group_id" field.

func GroupIDContainsFold

func GroupIDContainsFold(v string) predicate.GroupSetting

GroupIDContainsFold applies the ContainsFold predicate on the "group_id" field.

func GroupIDEQ

func GroupIDEQ(v string) predicate.GroupSetting

GroupIDEQ applies the EQ predicate on the "group_id" field.

func GroupIDEqualFold

func GroupIDEqualFold(v string) predicate.GroupSetting

GroupIDEqualFold applies the EqualFold predicate on the "group_id" field.

func GroupIDGT

func GroupIDGT(v string) predicate.GroupSetting

GroupIDGT applies the GT predicate on the "group_id" field.

func GroupIDGTE

func GroupIDGTE(v string) predicate.GroupSetting

GroupIDGTE applies the GTE predicate on the "group_id" field.

func GroupIDHasPrefix

func GroupIDHasPrefix(v string) predicate.GroupSetting

GroupIDHasPrefix applies the HasPrefix predicate on the "group_id" field.

func GroupIDHasSuffix

func GroupIDHasSuffix(v string) predicate.GroupSetting

GroupIDHasSuffix applies the HasSuffix predicate on the "group_id" field.

func GroupIDIn

func GroupIDIn(vs ...string) predicate.GroupSetting

GroupIDIn applies the In predicate on the "group_id" field.

func GroupIDIsNil

func GroupIDIsNil() predicate.GroupSetting

GroupIDIsNil applies the IsNil predicate on the "group_id" field.

func GroupIDLT

func GroupIDLT(v string) predicate.GroupSetting

GroupIDLT applies the LT predicate on the "group_id" field.

func GroupIDLTE

func GroupIDLTE(v string) predicate.GroupSetting

GroupIDLTE applies the LTE predicate on the "group_id" field.

func GroupIDNEQ

func GroupIDNEQ(v string) predicate.GroupSetting

GroupIDNEQ applies the NEQ predicate on the "group_id" field.

func GroupIDNotIn

func GroupIDNotIn(vs ...string) predicate.GroupSetting

GroupIDNotIn applies the NotIn predicate on the "group_id" field.

func GroupIDNotNil

func GroupIDNotNil() predicate.GroupSetting

GroupIDNotNil applies the NotNil predicate on the "group_id" field.

func HasGroup

func HasGroup() predicate.GroupSetting

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.Group) predicate.GroupSetting

HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.GroupSetting

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.GroupSetting

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.GroupSetting

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.GroupSetting

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.GroupSetting

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.GroupSetting

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.GroupSetting

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.GroupSetting

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.GroupSetting

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.GroupSetting

IDNotIn applies the NotIn predicate on the ID field.

func JoinPolicyEQ

func JoinPolicyEQ(v enums.JoinPolicy) predicate.GroupSetting

JoinPolicyEQ applies the EQ predicate on the "join_policy" field.

func JoinPolicyIn

func JoinPolicyIn(vs ...enums.JoinPolicy) predicate.GroupSetting

JoinPolicyIn applies the In predicate on the "join_policy" field.

func JoinPolicyNEQ

func JoinPolicyNEQ(v enums.JoinPolicy) predicate.GroupSetting

JoinPolicyNEQ applies the NEQ predicate on the "join_policy" field.

func JoinPolicyNotIn

func JoinPolicyNotIn(vs ...enums.JoinPolicy) predicate.GroupSetting

JoinPolicyNotIn applies the NotIn predicate on the "join_policy" field.

func JoinPolicyValidator

func JoinPolicyValidator(jp enums.JoinPolicy) error

JoinPolicyValidator is a validator for the "join_policy" field enum values. It is called by the builders before save.

func MappingID

func MappingID(v string) predicate.GroupSetting

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.GroupSetting

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.GroupSetting

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.GroupSetting

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.GroupSetting

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.GroupSetting

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.GroupSetting

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.GroupSetting

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.GroupSetting

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

func MappingIDIn(vs ...string) predicate.GroupSetting

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.GroupSetting

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.GroupSetting

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.GroupSetting

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

func MappingIDNotIn(vs ...string) predicate.GroupSetting

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GroupSetting) predicate.GroupSetting

Or groups predicates with the OR operator between them.

func SyncToGithub

func SyncToGithub(v bool) predicate.GroupSetting

SyncToGithub applies equality check predicate on the "sync_to_github" field. It's identical to SyncToGithubEQ.

func SyncToGithubEQ

func SyncToGithubEQ(v bool) predicate.GroupSetting

SyncToGithubEQ applies the EQ predicate on the "sync_to_github" field.

func SyncToGithubIsNil

func SyncToGithubIsNil() predicate.GroupSetting

SyncToGithubIsNil applies the IsNil predicate on the "sync_to_github" field.

func SyncToGithubNEQ

func SyncToGithubNEQ(v bool) predicate.GroupSetting

SyncToGithubNEQ applies the NEQ predicate on the "sync_to_github" field.

func SyncToGithubNotNil

func SyncToGithubNotNil() predicate.GroupSetting

SyncToGithubNotNil applies the NotNil predicate on the "sync_to_github" field.

func SyncToSlack

func SyncToSlack(v bool) predicate.GroupSetting

SyncToSlack applies equality check predicate on the "sync_to_slack" field. It's identical to SyncToSlackEQ.

func SyncToSlackEQ

func SyncToSlackEQ(v bool) predicate.GroupSetting

SyncToSlackEQ applies the EQ predicate on the "sync_to_slack" field.

func SyncToSlackIsNil

func SyncToSlackIsNil() predicate.GroupSetting

SyncToSlackIsNil applies the IsNil predicate on the "sync_to_slack" field.

func SyncToSlackNEQ

func SyncToSlackNEQ(v bool) predicate.GroupSetting

SyncToSlackNEQ applies the NEQ predicate on the "sync_to_slack" field.

func SyncToSlackNotNil

func SyncToSlackNotNil() predicate.GroupSetting

SyncToSlackNotNil applies the NotNil predicate on the "sync_to_slack" field.

func TagsIsNil

func TagsIsNil() predicate.GroupSetting

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.GroupSetting

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.GroupSetting

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.GroupSetting

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.GroupSetting

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.GroupSetting

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.GroupSetting

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.GroupSetting

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.GroupSetting

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.GroupSetting

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.GroupSetting

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.GroupSetting

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.GroupSetting

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.GroupSetting

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.GroupSetting

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.GroupSetting

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.GroupSetting

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.GroupSetting

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.GroupSetting

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.GroupSetting

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.GroupSetting

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.GroupSetting

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.GroupSetting

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.GroupSetting

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.GroupSetting

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.GroupSetting

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.GroupSetting

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.GroupSetting

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.GroupSetting

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func VisibilityEQ

func VisibilityEQ(v enums.Visibility) predicate.GroupSetting

VisibilityEQ applies the EQ predicate on the "visibility" field.

func VisibilityIn

func VisibilityIn(vs ...enums.Visibility) predicate.GroupSetting

VisibilityIn applies the In predicate on the "visibility" field.

func VisibilityNEQ

func VisibilityNEQ(v enums.Visibility) predicate.GroupSetting

VisibilityNEQ applies the NEQ predicate on the "visibility" field.

func VisibilityNotIn

func VisibilityNotIn(vs ...enums.Visibility) predicate.GroupSetting

VisibilityNotIn applies the NotIn predicate on the "visibility" field.

func VisibilityValidator

func VisibilityValidator(v enums.Visibility) error

VisibilityValidator is a validator for the "visibility" field enum values. It is called by the builders before save.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the GroupSetting queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by field.

func ByGroupField

func ByGroupField(field string, opts ...sql.OrderTermOption) OrderOption

ByGroupField orders the results by group field.

func ByGroupID

func ByGroupID(opts ...sql.OrderTermOption) OrderOption

ByGroupID orders the results by the group_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByJoinPolicy

func ByJoinPolicy(opts ...sql.OrderTermOption) OrderOption

ByJoinPolicy orders the results by the join_policy field.

func ByMappingID

func ByMappingID(opts ...sql.OrderTermOption) OrderOption

ByMappingID orders the results by the mapping_id field.

func BySyncToGithub

func BySyncToGithub(opts ...sql.OrderTermOption) OrderOption

BySyncToGithub orders the results by the sync_to_github field.

func BySyncToSlack

func BySyncToSlack(opts ...sql.OrderTermOption) OrderOption

BySyncToSlack orders the results by the sync_to_slack field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByVisibility

func ByVisibility(opts ...sql.OrderTermOption) OrderOption

ByVisibility orders the results by the visibility field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL