membersetting

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the membersetting type in the database.
	Label = "member_setting"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// FieldTypeof holds the string denoting the typeof field in the database.
	FieldTypeof = "typeof"
	// EdgeSettingsOwner holds the string denoting the settings_owner edge name in mutations.
	EdgeSettingsOwner = "settings_owner"
	// Table holds the table name of the membersetting in the database.
	Table = "member_setting"
	// SettingsOwnerTable is the table that holds the settings_owner relation/edge.
	SettingsOwnerTable = "member_setting"
	// SettingsOwnerInverseTable is the table name for the Member entity.
	// It exists in this package in order to avoid circular dependency with the "member" package.
	SettingsOwnerInverseTable = "member"
	// SettingsOwnerColumn is the table column denoting the settings_owner relation/edge.
	SettingsOwnerColumn = "owner_id"
)
View Source
const DefaultTypeof = TypeofSTRING

TypeofSTRING is the default value of the Typeof enum.

Variables

Columns holds all SQL columns for membersetting fields.

View Source
var (
	// KeyValidator is a validator for the "key" field. It is called by the builders before save.
	KeyValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func HasSettingsOwner added in v1.0.8

func HasSettingsOwner() predicate.MemberSetting

HasSettingsOwner applies the HasEdge predicate on the "settings_owner" edge.

func HasSettingsOwnerWith added in v1.0.8

func HasSettingsOwnerWith(preds ...predicate.Member) predicate.MemberSetting

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MemberSetting

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MemberSetting

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.MemberSetting

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.MemberSetting

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.MemberSetting

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.MemberSetting

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.MemberSetting

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.MemberSetting

IDNotIn applies the NotIn predicate on the ID field.

func Key

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.MemberSetting

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.MemberSetting

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.MemberSetting

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.MemberSetting

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.MemberSetting

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.MemberSetting

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.MemberSetting

KeyIn applies the In predicate on the "key" field.

func KeyLT

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.MemberSetting

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.MemberSetting

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.MemberSetting

KeyNotIn applies the NotIn predicate on the "key" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID added in v1.0.8

func OwnerID(v int) predicate.MemberSetting

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDEQ added in v1.0.8

func OwnerIDEQ(v int) predicate.MemberSetting

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDIn added in v1.0.8

func OwnerIDIn(vs ...int) predicate.MemberSetting

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDNEQ added in v1.0.8

func OwnerIDNEQ(v int) predicate.MemberSetting

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v1.0.8

func OwnerIDNotIn(vs ...int) predicate.MemberSetting

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func TypeofEQ

func TypeofEQ(v Typeof) predicate.MemberSetting

TypeofEQ applies the EQ predicate on the "typeof" field.

func TypeofIn

func TypeofIn(vs ...Typeof) predicate.MemberSetting

TypeofIn applies the In predicate on the "typeof" field.

func TypeofNEQ

func TypeofNEQ(v Typeof) predicate.MemberSetting

TypeofNEQ applies the NEQ predicate on the "typeof" field.

func TypeofNotIn

func TypeofNotIn(vs ...Typeof) predicate.MemberSetting

TypeofNotIn applies the NotIn predicate on the "typeof" field.

func TypeofValidator

func TypeofValidator(t Typeof) error

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

func ValidColumn

func ValidColumn(column string) bool

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

func Value

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueContains

func ValueContains(v string) predicate.MemberSetting

ValueContains applies the Contains predicate on the "value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.MemberSetting

ValueContainsFold applies the ContainsFold predicate on the "value" field.

func ValueEQ

func ValueEQ(v string) predicate.MemberSetting

ValueEQ applies the EQ predicate on the "value" field.

func ValueEqualFold

func ValueEqualFold(v string) predicate.MemberSetting

ValueEqualFold applies the EqualFold predicate on the "value" field.

func ValueGT

func ValueGT(v string) predicate.MemberSetting

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v string) predicate.MemberSetting

ValueGTE applies the GTE predicate on the "value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.MemberSetting

ValueHasPrefix applies the HasPrefix predicate on the "value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.MemberSetting

ValueHasSuffix applies the HasSuffix predicate on the "value" field.

func ValueIn

func ValueIn(vs ...string) predicate.MemberSetting

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v string) predicate.MemberSetting

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v string) predicate.MemberSetting

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v string) predicate.MemberSetting

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...string) predicate.MemberSetting

ValueNotIn applies the NotIn predicate on the "value" field.

Types

type Typeof

type Typeof string

Typeof defines the type for the "typeof" enum field.

const (
	TypeofSTRING  Typeof = "STRING"
	TypeofNUMBER  Typeof = "NUMBER"
	TypeofBOOLEAN Typeof = "BOOLEAN"
	TypeofARRAY   Typeof = "ARRAY"
	TypeofJSON    Typeof = "JSON"
)

Typeof values.

func (Typeof) String

func (t Typeof) String() string

Jump to

Keyboard shortcuts

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