connection

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the connection type in the database.
	Label = "connection"
	// 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"
	// FieldConnectionID holds the string denoting the connection_id field in the database.
	FieldConnectionID = "connection_id"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldAuthMethod holds the string denoting the auth_method field in the database.
	FieldAuthMethod = "auth_method"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldExternalAccountID holds the string denoting the external_account_id field in the database.
	FieldExternalAccountID = "external_account_id"
	// FieldExternalLabel holds the string denoting the external_label field in the database.
	FieldExternalLabel = "external_label"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldHealth holds the string denoting the health field in the database.
	FieldHealth = "health"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldCreatedByKind holds the string denoting the created_by_kind field in the database.
	FieldCreatedByKind = "created_by_kind"
	// FieldCreatedByID holds the string denoting the created_by_id field in the database.
	FieldCreatedByID = "created_by_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"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// Table holds the table name of the connection in the database.
	Table = "connectionforge_connections"
)

Variables

View Source
var (
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// ConnectionIDValidator is a validator for the "connection_id" field. It is called by the builders before save.
	ConnectionIDValidator func(string) error
	// ProviderValidator is a validator for the "provider" field. It is called by the builders before save.
	ProviderValidator func(string) error
	// DefaultExternalAccountID holds the default value on creation for the "external_account_id" field.
	DefaultExternalAccountID string
	// DefaultExternalLabel holds the default value on creation for the "external_label" field.
	DefaultExternalLabel string
)

Columns holds all SQL columns for connection fields.

Functions

func And

func And(predicates ...predicate.Connection) predicate.Connection

And groups predicates with the AND operator between them.

func AuthMethod

func AuthMethod(v string) predicate.Connection

AuthMethod applies equality check predicate on the "auth_method" field. It's identical to AuthMethodEQ.

func AuthMethodContains

func AuthMethodContains(v string) predicate.Connection

AuthMethodContains applies the Contains predicate on the "auth_method" field.

func AuthMethodContainsFold

func AuthMethodContainsFold(v string) predicate.Connection

AuthMethodContainsFold applies the ContainsFold predicate on the "auth_method" field.

func AuthMethodEQ

func AuthMethodEQ(v string) predicate.Connection

AuthMethodEQ applies the EQ predicate on the "auth_method" field.

func AuthMethodEqualFold

func AuthMethodEqualFold(v string) predicate.Connection

AuthMethodEqualFold applies the EqualFold predicate on the "auth_method" field.

func AuthMethodGT

func AuthMethodGT(v string) predicate.Connection

AuthMethodGT applies the GT predicate on the "auth_method" field.

func AuthMethodGTE

func AuthMethodGTE(v string) predicate.Connection

AuthMethodGTE applies the GTE predicate on the "auth_method" field.

func AuthMethodHasPrefix

func AuthMethodHasPrefix(v string) predicate.Connection

AuthMethodHasPrefix applies the HasPrefix predicate on the "auth_method" field.

func AuthMethodHasSuffix

func AuthMethodHasSuffix(v string) predicate.Connection

AuthMethodHasSuffix applies the HasSuffix predicate on the "auth_method" field.

func AuthMethodIn

func AuthMethodIn(vs ...string) predicate.Connection

AuthMethodIn applies the In predicate on the "auth_method" field.

func AuthMethodLT

func AuthMethodLT(v string) predicate.Connection

AuthMethodLT applies the LT predicate on the "auth_method" field.

func AuthMethodLTE

func AuthMethodLTE(v string) predicate.Connection

AuthMethodLTE applies the LTE predicate on the "auth_method" field.

func AuthMethodNEQ

func AuthMethodNEQ(v string) predicate.Connection

AuthMethodNEQ applies the NEQ predicate on the "auth_method" field.

func AuthMethodNotIn

func AuthMethodNotIn(vs ...string) predicate.Connection

AuthMethodNotIn applies the NotIn predicate on the "auth_method" field.

func ConnectionID

func ConnectionID(v string) predicate.Connection

ConnectionID applies equality check predicate on the "connection_id" field. It's identical to ConnectionIDEQ.

func ConnectionIDContains

func ConnectionIDContains(v string) predicate.Connection

ConnectionIDContains applies the Contains predicate on the "connection_id" field.

func ConnectionIDContainsFold

func ConnectionIDContainsFold(v string) predicate.Connection

ConnectionIDContainsFold applies the ContainsFold predicate on the "connection_id" field.

func ConnectionIDEQ

func ConnectionIDEQ(v string) predicate.Connection

ConnectionIDEQ applies the EQ predicate on the "connection_id" field.

func ConnectionIDEqualFold

func ConnectionIDEqualFold(v string) predicate.Connection

ConnectionIDEqualFold applies the EqualFold predicate on the "connection_id" field.

func ConnectionIDGT

func ConnectionIDGT(v string) predicate.Connection

ConnectionIDGT applies the GT predicate on the "connection_id" field.

func ConnectionIDGTE

func ConnectionIDGTE(v string) predicate.Connection

ConnectionIDGTE applies the GTE predicate on the "connection_id" field.

func ConnectionIDHasPrefix

func ConnectionIDHasPrefix(v string) predicate.Connection

ConnectionIDHasPrefix applies the HasPrefix predicate on the "connection_id" field.

func ConnectionIDHasSuffix

func ConnectionIDHasSuffix(v string) predicate.Connection

ConnectionIDHasSuffix applies the HasSuffix predicate on the "connection_id" field.

func ConnectionIDIn

func ConnectionIDIn(vs ...string) predicate.Connection

ConnectionIDIn applies the In predicate on the "connection_id" field.

func ConnectionIDLT

func ConnectionIDLT(v string) predicate.Connection

ConnectionIDLT applies the LT predicate on the "connection_id" field.

func ConnectionIDLTE

func ConnectionIDLTE(v string) predicate.Connection

ConnectionIDLTE applies the LTE predicate on the "connection_id" field.

func ConnectionIDNEQ

func ConnectionIDNEQ(v string) predicate.Connection

ConnectionIDNEQ applies the NEQ predicate on the "connection_id" field.

func ConnectionIDNotIn

func ConnectionIDNotIn(vs ...string) predicate.Connection

ConnectionIDNotIn applies the NotIn predicate on the "connection_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Connection

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Connection

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Connection

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Connection

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Connection

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Connection

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Connection

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

func CreatedAtNotIn

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

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

func CreatedByID

func CreatedByID(v string) predicate.Connection

CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.

func CreatedByIDContains

func CreatedByIDContains(v string) predicate.Connection

CreatedByIDContains applies the Contains predicate on the "created_by_id" field.

func CreatedByIDContainsFold

func CreatedByIDContainsFold(v string) predicate.Connection

CreatedByIDContainsFold applies the ContainsFold predicate on the "created_by_id" field.

func CreatedByIDEQ

func CreatedByIDEQ(v string) predicate.Connection

CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.

func CreatedByIDEqualFold

func CreatedByIDEqualFold(v string) predicate.Connection

CreatedByIDEqualFold applies the EqualFold predicate on the "created_by_id" field.

func CreatedByIDGT

func CreatedByIDGT(v string) predicate.Connection

CreatedByIDGT applies the GT predicate on the "created_by_id" field.

func CreatedByIDGTE

func CreatedByIDGTE(v string) predicate.Connection

CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.

func CreatedByIDHasPrefix

func CreatedByIDHasPrefix(v string) predicate.Connection

CreatedByIDHasPrefix applies the HasPrefix predicate on the "created_by_id" field.

func CreatedByIDHasSuffix

func CreatedByIDHasSuffix(v string) predicate.Connection

CreatedByIDHasSuffix applies the HasSuffix predicate on the "created_by_id" field.

func CreatedByIDIn

func CreatedByIDIn(vs ...string) predicate.Connection

CreatedByIDIn applies the In predicate on the "created_by_id" field.

func CreatedByIDLT

func CreatedByIDLT(v string) predicate.Connection

CreatedByIDLT applies the LT predicate on the "created_by_id" field.

func CreatedByIDLTE

func CreatedByIDLTE(v string) predicate.Connection

CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.

func CreatedByIDNEQ

func CreatedByIDNEQ(v string) predicate.Connection

CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.

func CreatedByIDNotIn

func CreatedByIDNotIn(vs ...string) predicate.Connection

CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.

func CreatedByKind

func CreatedByKind(v string) predicate.Connection

CreatedByKind applies equality check predicate on the "created_by_kind" field. It's identical to CreatedByKindEQ.

func CreatedByKindContains

func CreatedByKindContains(v string) predicate.Connection

CreatedByKindContains applies the Contains predicate on the "created_by_kind" field.

func CreatedByKindContainsFold

func CreatedByKindContainsFold(v string) predicate.Connection

CreatedByKindContainsFold applies the ContainsFold predicate on the "created_by_kind" field.

func CreatedByKindEQ

func CreatedByKindEQ(v string) predicate.Connection

CreatedByKindEQ applies the EQ predicate on the "created_by_kind" field.

func CreatedByKindEqualFold

func CreatedByKindEqualFold(v string) predicate.Connection

CreatedByKindEqualFold applies the EqualFold predicate on the "created_by_kind" field.

func CreatedByKindGT

func CreatedByKindGT(v string) predicate.Connection

CreatedByKindGT applies the GT predicate on the "created_by_kind" field.

func CreatedByKindGTE

func CreatedByKindGTE(v string) predicate.Connection

CreatedByKindGTE applies the GTE predicate on the "created_by_kind" field.

func CreatedByKindHasPrefix

func CreatedByKindHasPrefix(v string) predicate.Connection

CreatedByKindHasPrefix applies the HasPrefix predicate on the "created_by_kind" field.

func CreatedByKindHasSuffix

func CreatedByKindHasSuffix(v string) predicate.Connection

CreatedByKindHasSuffix applies the HasSuffix predicate on the "created_by_kind" field.

func CreatedByKindIn

func CreatedByKindIn(vs ...string) predicate.Connection

CreatedByKindIn applies the In predicate on the "created_by_kind" field.

func CreatedByKindLT

func CreatedByKindLT(v string) predicate.Connection

CreatedByKindLT applies the LT predicate on the "created_by_kind" field.

func CreatedByKindLTE

func CreatedByKindLTE(v string) predicate.Connection

CreatedByKindLTE applies the LTE predicate on the "created_by_kind" field.

func CreatedByKindNEQ

func CreatedByKindNEQ(v string) predicate.Connection

CreatedByKindNEQ applies the NEQ predicate on the "created_by_kind" field.

func CreatedByKindNotIn

func CreatedByKindNotIn(vs ...string) predicate.Connection

CreatedByKindNotIn applies the NotIn predicate on the "created_by_kind" field.

func DisplayName

func DisplayName(v string) predicate.Connection

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.Connection

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.Connection

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.Connection

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.Connection

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.Connection

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.Connection

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.Connection

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.Connection

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

func DisplayNameIn(vs ...string) predicate.Connection

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.Connection

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.Connection

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.Connection

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

func DisplayNameNotIn(vs ...string) predicate.Connection

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func ExternalAccountID

func ExternalAccountID(v string) predicate.Connection

ExternalAccountID applies equality check predicate on the "external_account_id" field. It's identical to ExternalAccountIDEQ.

func ExternalAccountIDContains

func ExternalAccountIDContains(v string) predicate.Connection

ExternalAccountIDContains applies the Contains predicate on the "external_account_id" field.

func ExternalAccountIDContainsFold

func ExternalAccountIDContainsFold(v string) predicate.Connection

ExternalAccountIDContainsFold applies the ContainsFold predicate on the "external_account_id" field.

func ExternalAccountIDEQ

func ExternalAccountIDEQ(v string) predicate.Connection

ExternalAccountIDEQ applies the EQ predicate on the "external_account_id" field.

func ExternalAccountIDEqualFold

func ExternalAccountIDEqualFold(v string) predicate.Connection

ExternalAccountIDEqualFold applies the EqualFold predicate on the "external_account_id" field.

func ExternalAccountIDGT

func ExternalAccountIDGT(v string) predicate.Connection

ExternalAccountIDGT applies the GT predicate on the "external_account_id" field.

func ExternalAccountIDGTE

func ExternalAccountIDGTE(v string) predicate.Connection

ExternalAccountIDGTE applies the GTE predicate on the "external_account_id" field.

func ExternalAccountIDHasPrefix

func ExternalAccountIDHasPrefix(v string) predicate.Connection

ExternalAccountIDHasPrefix applies the HasPrefix predicate on the "external_account_id" field.

func ExternalAccountIDHasSuffix

func ExternalAccountIDHasSuffix(v string) predicate.Connection

ExternalAccountIDHasSuffix applies the HasSuffix predicate on the "external_account_id" field.

func ExternalAccountIDIn

func ExternalAccountIDIn(vs ...string) predicate.Connection

ExternalAccountIDIn applies the In predicate on the "external_account_id" field.

func ExternalAccountIDLT

func ExternalAccountIDLT(v string) predicate.Connection

ExternalAccountIDLT applies the LT predicate on the "external_account_id" field.

func ExternalAccountIDLTE

func ExternalAccountIDLTE(v string) predicate.Connection

ExternalAccountIDLTE applies the LTE predicate on the "external_account_id" field.

func ExternalAccountIDNEQ

func ExternalAccountIDNEQ(v string) predicate.Connection

ExternalAccountIDNEQ applies the NEQ predicate on the "external_account_id" field.

func ExternalAccountIDNotIn

func ExternalAccountIDNotIn(vs ...string) predicate.Connection

ExternalAccountIDNotIn applies the NotIn predicate on the "external_account_id" field.

func ExternalLabel

func ExternalLabel(v string) predicate.Connection

ExternalLabel applies equality check predicate on the "external_label" field. It's identical to ExternalLabelEQ.

func ExternalLabelContains

func ExternalLabelContains(v string) predicate.Connection

ExternalLabelContains applies the Contains predicate on the "external_label" field.

func ExternalLabelContainsFold

func ExternalLabelContainsFold(v string) predicate.Connection

ExternalLabelContainsFold applies the ContainsFold predicate on the "external_label" field.

func ExternalLabelEQ

func ExternalLabelEQ(v string) predicate.Connection

ExternalLabelEQ applies the EQ predicate on the "external_label" field.

func ExternalLabelEqualFold

func ExternalLabelEqualFold(v string) predicate.Connection

ExternalLabelEqualFold applies the EqualFold predicate on the "external_label" field.

func ExternalLabelGT

func ExternalLabelGT(v string) predicate.Connection

ExternalLabelGT applies the GT predicate on the "external_label" field.

func ExternalLabelGTE

func ExternalLabelGTE(v string) predicate.Connection

ExternalLabelGTE applies the GTE predicate on the "external_label" field.

func ExternalLabelHasPrefix

func ExternalLabelHasPrefix(v string) predicate.Connection

ExternalLabelHasPrefix applies the HasPrefix predicate on the "external_label" field.

func ExternalLabelHasSuffix

func ExternalLabelHasSuffix(v string) predicate.Connection

ExternalLabelHasSuffix applies the HasSuffix predicate on the "external_label" field.

func ExternalLabelIn

func ExternalLabelIn(vs ...string) predicate.Connection

ExternalLabelIn applies the In predicate on the "external_label" field.

func ExternalLabelLT

func ExternalLabelLT(v string) predicate.Connection

ExternalLabelLT applies the LT predicate on the "external_label" field.

func ExternalLabelLTE

func ExternalLabelLTE(v string) predicate.Connection

ExternalLabelLTE applies the LTE predicate on the "external_label" field.

func ExternalLabelNEQ

func ExternalLabelNEQ(v string) predicate.Connection

ExternalLabelNEQ applies the NEQ predicate on the "external_label" field.

func ExternalLabelNotIn

func ExternalLabelNotIn(vs ...string) predicate.Connection

ExternalLabelNotIn applies the NotIn predicate on the "external_label" field.

func ID

func ID(id int) predicate.Connection

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Connection

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Connection

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Connection

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Connection

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Connection

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Connection

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.Connection

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Connection

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Connection) predicate.Connection

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Connection

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.Connection

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Connection

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Connection

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Connection

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.Connection

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Connection

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Connection

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Connection

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.Connection

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.Connection

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Connection

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Connection

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

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.Connection

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

func Provider

func Provider(v string) predicate.Connection

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderContains

func ProviderContains(v string) predicate.Connection

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.Connection

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ

func ProviderEQ(v string) predicate.Connection

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.Connection

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT

func ProviderGT(v string) predicate.Connection

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE

func ProviderGTE(v string) predicate.Connection

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.Connection

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.Connection

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderIn

func ProviderIn(vs ...string) predicate.Connection

ProviderIn applies the In predicate on the "provider" field.

func ProviderLT

func ProviderLT(v string) predicate.Connection

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE

func ProviderLTE(v string) predicate.Connection

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ

func ProviderNEQ(v string) predicate.Connection

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

func ProviderNotIn(vs ...string) predicate.Connection

ProviderNotIn applies the NotIn predicate on the "provider" field.

func Revision

func Revision(v uint64) predicate.Connection

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionEQ

func RevisionEQ(v uint64) predicate.Connection

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionGT

func RevisionGT(v uint64) predicate.Connection

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE

func RevisionGTE(v uint64) predicate.Connection

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionIn

func RevisionIn(vs ...uint64) predicate.Connection

RevisionIn applies the In predicate on the "revision" field.

func RevisionLT

func RevisionLT(v uint64) predicate.Connection

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE

func RevisionLTE(v uint64) predicate.Connection

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ

func RevisionNEQ(v uint64) predicate.Connection

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn

func RevisionNotIn(vs ...uint64) predicate.Connection

RevisionNotIn applies the NotIn predicate on the "revision" field.

func ScopesIsNil

func ScopesIsNil() predicate.Connection

ScopesIsNil applies the IsNil predicate on the "scopes" field.

func ScopesNotNil

func ScopesNotNil() predicate.Connection

ScopesNotNil applies the NotNil predicate on the "scopes" field.

func State

func State(v string) predicate.Connection

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateContains

func StateContains(v string) predicate.Connection

StateContains applies the Contains predicate on the "state" field.

func StateContainsFold

func StateContainsFold(v string) predicate.Connection

StateContainsFold applies the ContainsFold predicate on the "state" field.

func StateEQ

func StateEQ(v string) predicate.Connection

StateEQ applies the EQ predicate on the "state" field.

func StateEqualFold

func StateEqualFold(v string) predicate.Connection

StateEqualFold applies the EqualFold predicate on the "state" field.

func StateGT

func StateGT(v string) predicate.Connection

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v string) predicate.Connection

StateGTE applies the GTE predicate on the "state" field.

func StateHasPrefix

func StateHasPrefix(v string) predicate.Connection

StateHasPrefix applies the HasPrefix predicate on the "state" field.

func StateHasSuffix

func StateHasSuffix(v string) predicate.Connection

StateHasSuffix applies the HasSuffix predicate on the "state" field.

func StateIn

func StateIn(vs ...string) predicate.Connection

StateIn applies the In predicate on the "state" field.

func StateLT

func StateLT(v string) predicate.Connection

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v string) predicate.Connection

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v string) predicate.Connection

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...string) predicate.Connection

StateNotIn applies the NotIn predicate on the "state" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Connection

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Connection

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Connection

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Connection

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Connection

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Connection

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Connection

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Connection queries.

func ByAuthMethod

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

ByAuthMethod orders the results by the auth_method field.

func ByConnectionID

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

ByConnectionID orders the results by the connection_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedByID

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

ByCreatedByID orders the results by the created_by_id field.

func ByCreatedByKind

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

ByCreatedByKind orders the results by the created_by_kind field.

func ByDisplayName

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

ByDisplayName orders the results by the display_name field.

func ByExternalAccountID

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

ByExternalAccountID orders the results by the external_account_id field.

func ByExternalLabel

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

ByExternalLabel orders the results by the external_label field.

func ByID

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

ByID orders the results by the id field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

func ByProvider

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

ByProvider orders the results by the provider field.

func ByRevision

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

ByRevision orders the results by the revision field.

func ByState

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

ByState orders the results by the state field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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