groupsettinghistory

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the groupsettinghistory type in the database.
	Label = "group_setting_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// 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"
	// Table holds the table name of the groupsettinghistory in the database.
	Table = "group_setting_history"
)
View Source
const DefaultJoinPolicy enums.JoinPolicy = "INVITE_OR_APPLICATION"
View Source
const DefaultVisibility enums.Visibility = "PUBLIC"

Variables

View Source
var (
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// 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
)

Columns holds all SQL columns for groupsettinghistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GroupSettingHistory

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GroupSettingHistory

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GroupSettingHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.GroupSettingHistory

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GroupSettingHistory

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GroupSettingHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GroupSettingHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.GroupSettingHistory

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

func CreatedBy

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

func CreatedByContains

func CreatedByContains(v string) predicate.GroupSettingHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.GroupSettingHistory

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.GroupSettingHistory

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.GroupSettingHistory

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

func CreatedByGT

func CreatedByGT(v string) predicate.GroupSettingHistory

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.GroupSettingHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.GroupSettingHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.GroupSettingHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.GroupSettingHistory

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

func CreatedByLT

func CreatedByLT(v string) predicate.GroupSettingHistory

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.GroupSettingHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.GroupSettingHistory

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.GroupSettingHistory

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

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.GroupSettingHistory

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.GroupSettingHistory

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.GroupSettingHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.GroupSettingHistory

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.GroupSettingHistory

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.GroupSettingHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.GroupSettingHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.GroupSettingHistory

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

func DeletedBy

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

func DeletedByContains

func DeletedByContains(v string) predicate.GroupSettingHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.GroupSettingHistory

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.GroupSettingHistory

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.GroupSettingHistory

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

func DeletedByGT

func DeletedByGT(v string) predicate.GroupSettingHistory

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.GroupSettingHistory

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.GroupSettingHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.GroupSettingHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.GroupSettingHistory

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

func DeletedByLT

func DeletedByLT(v string) predicate.GroupSettingHistory

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.GroupSettingHistory

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.GroupSettingHistory

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.GroupSettingHistory

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

func GroupID

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

func GroupIDContains

func GroupIDContains(v string) predicate.GroupSettingHistory

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

func GroupIDContainsFold

func GroupIDContainsFold(v string) predicate.GroupSettingHistory

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

func GroupIDEQ

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

func GroupIDEqualFold

func GroupIDEqualFold(v string) predicate.GroupSettingHistory

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

func GroupIDGT

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

func GroupIDGTE

func GroupIDGTE(v string) predicate.GroupSettingHistory

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

func GroupIDHasPrefix

func GroupIDHasPrefix(v string) predicate.GroupSettingHistory

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

func GroupIDHasSuffix

func GroupIDHasSuffix(v string) predicate.GroupSettingHistory

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

func GroupIDIn

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

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

func GroupIDIsNil

func GroupIDIsNil() predicate.GroupSettingHistory

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

func GroupIDLT

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

func GroupIDLTE

func GroupIDLTE(v string) predicate.GroupSettingHistory

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

func GroupIDNEQ

func GroupIDNEQ(v string) predicate.GroupSettingHistory

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

func GroupIDNotIn

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

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

func GroupIDNotNil

func GroupIDNotNil() predicate.GroupSettingHistory

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

func HistoryTime

func HistoryTime(v time.Time) predicate.GroupSettingHistory

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.GroupSettingHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.GroupSettingHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.GroupSettingHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.GroupSettingHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.GroupSettingHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.GroupSettingHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.GroupSettingHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.GroupSettingHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.GroupSettingHistory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.GroupSettingHistory

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func JoinPolicyEQ

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

func JoinPolicyIn

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

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

func JoinPolicyNEQ

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

func JoinPolicyNotIn

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

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 added in v0.5.0

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

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.GroupSettingHistory

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

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.GroupSettingHistory

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

func MappingIDEQ added in v0.5.0

func MappingIDEQ(v string) predicate.GroupSettingHistory

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

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.GroupSettingHistory

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

func MappingIDGT added in v0.5.0

func MappingIDGT(v string) predicate.GroupSettingHistory

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

func MappingIDGTE added in v0.5.0

func MappingIDGTE(v string) predicate.GroupSettingHistory

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

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.GroupSettingHistory

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

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.GroupSettingHistory

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

func MappingIDIn added in v0.5.0

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

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

func MappingIDLT added in v0.5.0

func MappingIDLT(v string) predicate.GroupSettingHistory

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

func MappingIDLTE added in v0.5.0

func MappingIDLTE(v string) predicate.GroupSettingHistory

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

func MappingIDNEQ added in v0.5.0

func MappingIDNEQ(v string) predicate.GroupSettingHistory

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

func MappingIDNotIn added in v0.5.0

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

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

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...enthistory.OpType) predicate.GroupSettingHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o enthistory.OpType) error

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

func Or

Or groups predicates with the OR operator between them.

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

func RefContains(v string) predicate.GroupSettingHistory

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.GroupSettingHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.GroupSettingHistory

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.GroupSettingHistory

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.GroupSettingHistory

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

RefIn applies the In predicate on the "ref" field.

func RefIsNil

func RefIsNil() predicate.GroupSettingHistory

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.GroupSettingHistory

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

func RefNotNil() predicate.GroupSettingHistory

RefNotNil applies the NotNil predicate on the "ref" field.

func SyncToGithub

func SyncToGithub(v bool) predicate.GroupSettingHistory

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

func SyncToGithubEQ

func SyncToGithubEQ(v bool) predicate.GroupSettingHistory

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

func SyncToGithubIsNil

func SyncToGithubIsNil() predicate.GroupSettingHistory

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

func SyncToGithubNEQ

func SyncToGithubNEQ(v bool) predicate.GroupSettingHistory

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

func SyncToGithubNotNil

func SyncToGithubNotNil() predicate.GroupSettingHistory

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

func SyncToSlack

func SyncToSlack(v bool) predicate.GroupSettingHistory

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

func SyncToSlackEQ

func SyncToSlackEQ(v bool) predicate.GroupSettingHistory

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

func SyncToSlackIsNil

func SyncToSlackIsNil() predicate.GroupSettingHistory

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

func SyncToSlackNEQ

func SyncToSlackNEQ(v bool) predicate.GroupSettingHistory

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

func SyncToSlackNotNil

func SyncToSlackNotNil() predicate.GroupSettingHistory

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

func TagsIsNil

func TagsIsNil() predicate.GroupSettingHistory

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

func TagsNotNil

func TagsNotNil() predicate.GroupSettingHistory

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

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.GroupSettingHistory

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.GroupSettingHistory

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.GroupSettingHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.GroupSettingHistory

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.GroupSettingHistory

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.GroupSettingHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.GroupSettingHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.GroupSettingHistory

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

func UpdatedBy

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.GroupSettingHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.GroupSettingHistory

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.GroupSettingHistory

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.GroupSettingHistory

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.GroupSettingHistory

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.GroupSettingHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.GroupSettingHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.GroupSettingHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.GroupSettingHistory

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.GroupSettingHistory

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.GroupSettingHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.GroupSettingHistory

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.GroupSettingHistory

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

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

func VisibilityIn

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

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

func VisibilityNEQ

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

func VisibilityNotIn

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

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 GroupSettingHistory 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 ByGroupID

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

ByGroupID orders the results by the group_id field.

func ByHistoryTime

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

ByHistoryTime orders the results by the history_time 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 added in v0.5.0

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

ByMappingID orders the results by the mapping_id field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByRef

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

ByRef orders the results by the ref 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