schemaa

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the schemaa type in the database.
	Label = "schemaa"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldInt64 holds the string denoting the int64 field in the database.
	FieldInt64 = "int64"
	// FieldStringBindtoFoobar holds the string denoting the string_bindto_foobar field in the database.
	FieldStringBindtoFoobar = "string_bindto_foobar"
	// FieldStringOptionalNullable holds the string denoting the string_optional_nullable field in the database.
	FieldStringOptionalNullable = "string_optional_nullable"
	// FieldOptionalNullableBool holds the string denoting the optional_nullable_bool field in the database.
	FieldOptionalNullableBool = "optional_nullable_bool"
	// FieldJsontypeStrings holds the string denoting the jsontype_strings field in the database.
	FieldJsontypeStrings = "jsontype_strings"
	// FieldJsontypeStringsOptional holds the string denoting the jsontype_strings_optional field in the database.
	FieldJsontypeStringsOptional = "jsontype_strings_optional"
	// FieldJsontypeInts holds the string denoting the jsontype_ints field in the database.
	FieldJsontypeInts = "jsontype_ints"
	// FieldJsontypeIntsOptional holds the string denoting the jsontype_ints_optional field in the database.
	FieldJsontypeIntsOptional = "jsontype_ints_optional"
	// FieldRequiredEnum holds the string denoting the required_enum field in the database.
	FieldRequiredEnum = "required_enum"
	// FieldOptionalNullableEnum holds the string denoting the optional_nullable_enum field in the database.
	FieldOptionalNullableEnum = "optional_nullable_enum"
	// FieldBytes holds the string denoting the bytes field in the database.
	FieldBytes = "bytes"
	// EdgeEdgeSchemabUniqueRequired holds the string denoting the edge_schemab_unique_required edge name in mutations.
	EdgeEdgeSchemabUniqueRequired = "edge_schemab_unique_required"
	// EdgeEdgeSchemabUniqueRequiredBindtoBs holds the string denoting the edge_schemab_unique_required_bindto_bs edge name in mutations.
	EdgeEdgeSchemabUniqueRequiredBindtoBs = "edge_schemab_unique_required_bindto_bs"
	// EdgeEdgeSchemabUniqueOptional holds the string denoting the edge_schemab_unique_optional edge name in mutations.
	EdgeEdgeSchemabUniqueOptional = "edge_schemab_unique_optional"
	// EdgeEdgeSchemab holds the string denoting the edge_schemab edge name in mutations.
	EdgeEdgeSchemab = "edge_schemab"
	// EdgeEdgeSchemaaRecursive holds the string denoting the edge_schemaa_recursive edge name in mutations.
	EdgeEdgeSchemaaRecursive = "edge_schemaa_recursive"
	// Table holds the table name of the schemaa in the database.
	Table = "schema_as"
	// EdgeSchemabUniqueRequiredTable is the table that holds the edge_schemab_unique_required relation/edge.
	EdgeSchemabUniqueRequiredTable = "schema_as"
	// EdgeSchemabUniqueRequiredInverseTable is the table name for the SchemaB entity.
	// It exists in this package in order to avoid circular dependency with the "schemab" package.
	EdgeSchemabUniqueRequiredInverseTable = "schema_bs"
	// EdgeSchemabUniqueRequiredColumn is the table column denoting the edge_schemab_unique_required relation/edge.
	EdgeSchemabUniqueRequiredColumn = "schemaa_edge_schemab_unique_required"
	// EdgeSchemabUniqueRequiredBindtoBsTable is the table that holds the edge_schemab_unique_required_bindto_bs relation/edge.
	EdgeSchemabUniqueRequiredBindtoBsTable = "schema_as"
	// EdgeSchemabUniqueRequiredBindtoBsInverseTable is the table name for the SchemaB entity.
	// It exists in this package in order to avoid circular dependency with the "schemab" package.
	EdgeSchemabUniqueRequiredBindtoBsInverseTable = "schema_bs"
	// EdgeSchemabUniqueRequiredBindtoBsColumn is the table column denoting the edge_schemab_unique_required_bindto_bs relation/edge.
	EdgeSchemabUniqueRequiredBindtoBsColumn = "schemaa_edge_schemab_unique_required_bindto_bs"
	// EdgeSchemabUniqueOptionalTable is the table that holds the edge_schemab_unique_optional relation/edge.
	EdgeSchemabUniqueOptionalTable = "schema_as"
	// EdgeSchemabUniqueOptionalInverseTable is the table name for the SchemaB entity.
	// It exists in this package in order to avoid circular dependency with the "schemab" package.
	EdgeSchemabUniqueOptionalInverseTable = "schema_bs"
	// EdgeSchemabUniqueOptionalColumn is the table column denoting the edge_schemab_unique_optional relation/edge.
	EdgeSchemabUniqueOptionalColumn = "schemaa_edge_schemab_unique_optional"
	// EdgeSchemabTable is the table that holds the edge_schemab relation/edge.
	EdgeSchemabTable = "schema_bs"
	// EdgeSchemabInverseTable is the table name for the SchemaB entity.
	// It exists in this package in order to avoid circular dependency with the "schemab" package.
	EdgeSchemabInverseTable = "schema_bs"
	// EdgeSchemabColumn is the table column denoting the edge_schemab relation/edge.
	EdgeSchemabColumn = "schemaa_edge_schemab"
	// EdgeSchemaaRecursiveTable is the table that holds the edge_schemaa_recursive relation/edge. The primary key declared below.
	EdgeSchemaaRecursiveTable = "schemaa_edge_schemaa_recursive"
)

Variables

Columns holds all SQL columns for schemaa fields.

View Source
var (
	// EdgeSchemaaRecursivePrimaryKey and EdgeSchemaaRecursiveColumn2 are the table columns denoting the
	// primary key for the edge_schemaa_recursive relation (M2M).
	EdgeSchemaaRecursivePrimaryKey = []string{"schemaa_id", "edge_schemaa_recursive_id"}
)
View Source
var ForeignKeys = []string{
	"schemaa_edge_schemab_unique_required",
	"schemaa_edge_schemab_unique_required_bindto_bs",
	"schemaa_edge_schemab_unique_optional",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "schema_as" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.SchemaA) predicate.SchemaA

And groups predicates with the AND operator between them.

func Bytes

func Bytes(v []byte) predicate.SchemaA

Bytes applies equality check predicate on the "bytes" field. It's identical to BytesEQ.

func BytesEQ

func BytesEQ(v []byte) predicate.SchemaA

BytesEQ applies the EQ predicate on the "bytes" field.

func BytesGT

func BytesGT(v []byte) predicate.SchemaA

BytesGT applies the GT predicate on the "bytes" field.

func BytesGTE

func BytesGTE(v []byte) predicate.SchemaA

BytesGTE applies the GTE predicate on the "bytes" field.

func BytesIn

func BytesIn(vs ...[]byte) predicate.SchemaA

BytesIn applies the In predicate on the "bytes" field.

func BytesLT

func BytesLT(v []byte) predicate.SchemaA

BytesLT applies the LT predicate on the "bytes" field.

func BytesLTE

func BytesLTE(v []byte) predicate.SchemaA

BytesLTE applies the LTE predicate on the "bytes" field.

func BytesNEQ

func BytesNEQ(v []byte) predicate.SchemaA

BytesNEQ applies the NEQ predicate on the "bytes" field.

func BytesNotIn

func BytesNotIn(vs ...[]byte) predicate.SchemaA

BytesNotIn applies the NotIn predicate on the "bytes" field.

func HasEdgeSchemaaRecursive

func HasEdgeSchemaaRecursive() predicate.SchemaA

HasEdgeSchemaaRecursive applies the HasEdge predicate on the "edge_schemaa_recursive" edge.

func HasEdgeSchemaaRecursiveWith

func HasEdgeSchemaaRecursiveWith(preds ...predicate.SchemaA) predicate.SchemaA

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

func HasEdgeSchemab

func HasEdgeSchemab() predicate.SchemaA

HasEdgeSchemab applies the HasEdge predicate on the "edge_schemab" edge.

func HasEdgeSchemabUniqueOptional

func HasEdgeSchemabUniqueOptional() predicate.SchemaA

HasEdgeSchemabUniqueOptional applies the HasEdge predicate on the "edge_schemab_unique_optional" edge.

func HasEdgeSchemabUniqueOptionalWith

func HasEdgeSchemabUniqueOptionalWith(preds ...predicate.SchemaB) predicate.SchemaA

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

func HasEdgeSchemabUniqueRequired

func HasEdgeSchemabUniqueRequired() predicate.SchemaA

HasEdgeSchemabUniqueRequired applies the HasEdge predicate on the "edge_schemab_unique_required" edge.

func HasEdgeSchemabUniqueRequiredBindtoBs

func HasEdgeSchemabUniqueRequiredBindtoBs() predicate.SchemaA

HasEdgeSchemabUniqueRequiredBindtoBs applies the HasEdge predicate on the "edge_schemab_unique_required_bindto_bs" edge.

func HasEdgeSchemabUniqueRequiredBindtoBsWith

func HasEdgeSchemabUniqueRequiredBindtoBsWith(preds ...predicate.SchemaB) predicate.SchemaA

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

func HasEdgeSchemabUniqueRequiredWith

func HasEdgeSchemabUniqueRequiredWith(preds ...predicate.SchemaB) predicate.SchemaA

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

func HasEdgeSchemabWith

func HasEdgeSchemabWith(preds ...predicate.SchemaB) predicate.SchemaA

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

func ID

func ID(id int) predicate.SchemaA

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.SchemaA

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.SchemaA

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.SchemaA

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.SchemaA

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.SchemaA

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.SchemaA

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Int64

func Int64(v int64) predicate.SchemaA

Int64 applies equality check predicate on the "int64" field. It's identical to Int64EQ.

func Int64EQ

func Int64EQ(v int64) predicate.SchemaA

Int64EQ applies the EQ predicate on the "int64" field.

func Int64GT

func Int64GT(v int64) predicate.SchemaA

Int64GT applies the GT predicate on the "int64" field.

func Int64GTE

func Int64GTE(v int64) predicate.SchemaA

Int64GTE applies the GTE predicate on the "int64" field.

func Int64In

func Int64In(vs ...int64) predicate.SchemaA

Int64In applies the In predicate on the "int64" field.

func Int64LT

func Int64LT(v int64) predicate.SchemaA

Int64LT applies the LT predicate on the "int64" field.

func Int64LTE

func Int64LTE(v int64) predicate.SchemaA

Int64LTE applies the LTE predicate on the "int64" field.

func Int64NEQ

func Int64NEQ(v int64) predicate.SchemaA

Int64NEQ applies the NEQ predicate on the "int64" field.

func Int64NotIn

func Int64NotIn(vs ...int64) predicate.SchemaA

Int64NotIn applies the NotIn predicate on the "int64" field.

func JsontypeIntsOptionalIsNil

func JsontypeIntsOptionalIsNil() predicate.SchemaA

JsontypeIntsOptionalIsNil applies the IsNil predicate on the "jsontype_ints_optional" field.

func JsontypeIntsOptionalNotNil

func JsontypeIntsOptionalNotNil() predicate.SchemaA

JsontypeIntsOptionalNotNil applies the NotNil predicate on the "jsontype_ints_optional" field.

func JsontypeStringsOptionalIsNil

func JsontypeStringsOptionalIsNil() predicate.SchemaA

JsontypeStringsOptionalIsNil applies the IsNil predicate on the "jsontype_strings_optional" field.

func JsontypeStringsOptionalNotNil

func JsontypeStringsOptionalNotNil() predicate.SchemaA

JsontypeStringsOptionalNotNil applies the NotNil predicate on the "jsontype_strings_optional" field.

func Not

Not applies the not operator on the given predicate.

func OptionalNullableBool

func OptionalNullableBool(v bool) predicate.SchemaA

OptionalNullableBool applies equality check predicate on the "optional_nullable_bool" field. It's identical to OptionalNullableBoolEQ.

func OptionalNullableBoolEQ

func OptionalNullableBoolEQ(v bool) predicate.SchemaA

OptionalNullableBoolEQ applies the EQ predicate on the "optional_nullable_bool" field.

func OptionalNullableBoolIsNil

func OptionalNullableBoolIsNil() predicate.SchemaA

OptionalNullableBoolIsNil applies the IsNil predicate on the "optional_nullable_bool" field.

func OptionalNullableBoolNEQ

func OptionalNullableBoolNEQ(v bool) predicate.SchemaA

OptionalNullableBoolNEQ applies the NEQ predicate on the "optional_nullable_bool" field.

func OptionalNullableBoolNotNil

func OptionalNullableBoolNotNil() predicate.SchemaA

OptionalNullableBoolNotNil applies the NotNil predicate on the "optional_nullable_bool" field.

func OptionalNullableEnumEQ

func OptionalNullableEnumEQ(v OptionalNullableEnum) predicate.SchemaA

OptionalNullableEnumEQ applies the EQ predicate on the "optional_nullable_enum" field.

func OptionalNullableEnumIn

func OptionalNullableEnumIn(vs ...OptionalNullableEnum) predicate.SchemaA

OptionalNullableEnumIn applies the In predicate on the "optional_nullable_enum" field.

func OptionalNullableEnumIsNil

func OptionalNullableEnumIsNil() predicate.SchemaA

OptionalNullableEnumIsNil applies the IsNil predicate on the "optional_nullable_enum" field.

func OptionalNullableEnumNEQ

func OptionalNullableEnumNEQ(v OptionalNullableEnum) predicate.SchemaA

OptionalNullableEnumNEQ applies the NEQ predicate on the "optional_nullable_enum" field.

func OptionalNullableEnumNotIn

func OptionalNullableEnumNotIn(vs ...OptionalNullableEnum) predicate.SchemaA

OptionalNullableEnumNotIn applies the NotIn predicate on the "optional_nullable_enum" field.

func OptionalNullableEnumNotNil

func OptionalNullableEnumNotNil() predicate.SchemaA

OptionalNullableEnumNotNil applies the NotNil predicate on the "optional_nullable_enum" field.

func OptionalNullableEnumValidator

func OptionalNullableEnumValidator(one OptionalNullableEnum) error

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

func Or

func Or(predicates ...predicate.SchemaA) predicate.SchemaA

Or groups predicates with the OR operator between them.

func RequiredEnumEQ

func RequiredEnumEQ(v RequiredEnum) predicate.SchemaA

RequiredEnumEQ applies the EQ predicate on the "required_enum" field.

func RequiredEnumIn

func RequiredEnumIn(vs ...RequiredEnum) predicate.SchemaA

RequiredEnumIn applies the In predicate on the "required_enum" field.

func RequiredEnumNEQ

func RequiredEnumNEQ(v RequiredEnum) predicate.SchemaA

RequiredEnumNEQ applies the NEQ predicate on the "required_enum" field.

func RequiredEnumNotIn

func RequiredEnumNotIn(vs ...RequiredEnum) predicate.SchemaA

RequiredEnumNotIn applies the NotIn predicate on the "required_enum" field.

func RequiredEnumValidator

func RequiredEnumValidator(re RequiredEnum) error

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

func StringBindtoFoobar

func StringBindtoFoobar(v string) predicate.SchemaA

StringBindtoFoobar applies equality check predicate on the "string_bindto_foobar" field. It's identical to StringBindtoFoobarEQ.

func StringBindtoFoobarContains

func StringBindtoFoobarContains(v string) predicate.SchemaA

StringBindtoFoobarContains applies the Contains predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarContainsFold

func StringBindtoFoobarContainsFold(v string) predicate.SchemaA

StringBindtoFoobarContainsFold applies the ContainsFold predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarEQ

func StringBindtoFoobarEQ(v string) predicate.SchemaA

StringBindtoFoobarEQ applies the EQ predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarEqualFold

func StringBindtoFoobarEqualFold(v string) predicate.SchemaA

StringBindtoFoobarEqualFold applies the EqualFold predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarGT

func StringBindtoFoobarGT(v string) predicate.SchemaA

StringBindtoFoobarGT applies the GT predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarGTE

func StringBindtoFoobarGTE(v string) predicate.SchemaA

StringBindtoFoobarGTE applies the GTE predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarHasPrefix

func StringBindtoFoobarHasPrefix(v string) predicate.SchemaA

StringBindtoFoobarHasPrefix applies the HasPrefix predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarHasSuffix

func StringBindtoFoobarHasSuffix(v string) predicate.SchemaA

StringBindtoFoobarHasSuffix applies the HasSuffix predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarIn

func StringBindtoFoobarIn(vs ...string) predicate.SchemaA

StringBindtoFoobarIn applies the In predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarLT

func StringBindtoFoobarLT(v string) predicate.SchemaA

StringBindtoFoobarLT applies the LT predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarLTE

func StringBindtoFoobarLTE(v string) predicate.SchemaA

StringBindtoFoobarLTE applies the LTE predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarNEQ

func StringBindtoFoobarNEQ(v string) predicate.SchemaA

StringBindtoFoobarNEQ applies the NEQ predicate on the "string_bindto_foobar" field.

func StringBindtoFoobarNotIn

func StringBindtoFoobarNotIn(vs ...string) predicate.SchemaA

StringBindtoFoobarNotIn applies the NotIn predicate on the "string_bindto_foobar" field.

func StringOptionalNullable

func StringOptionalNullable(v string) predicate.SchemaA

StringOptionalNullable applies equality check predicate on the "string_optional_nullable" field. It's identical to StringOptionalNullableEQ.

func StringOptionalNullableContains

func StringOptionalNullableContains(v string) predicate.SchemaA

StringOptionalNullableContains applies the Contains predicate on the "string_optional_nullable" field.

func StringOptionalNullableContainsFold

func StringOptionalNullableContainsFold(v string) predicate.SchemaA

StringOptionalNullableContainsFold applies the ContainsFold predicate on the "string_optional_nullable" field.

func StringOptionalNullableEQ

func StringOptionalNullableEQ(v string) predicate.SchemaA

StringOptionalNullableEQ applies the EQ predicate on the "string_optional_nullable" field.

func StringOptionalNullableEqualFold

func StringOptionalNullableEqualFold(v string) predicate.SchemaA

StringOptionalNullableEqualFold applies the EqualFold predicate on the "string_optional_nullable" field.

func StringOptionalNullableGT

func StringOptionalNullableGT(v string) predicate.SchemaA

StringOptionalNullableGT applies the GT predicate on the "string_optional_nullable" field.

func StringOptionalNullableGTE

func StringOptionalNullableGTE(v string) predicate.SchemaA

StringOptionalNullableGTE applies the GTE predicate on the "string_optional_nullable" field.

func StringOptionalNullableHasPrefix

func StringOptionalNullableHasPrefix(v string) predicate.SchemaA

StringOptionalNullableHasPrefix applies the HasPrefix predicate on the "string_optional_nullable" field.

func StringOptionalNullableHasSuffix

func StringOptionalNullableHasSuffix(v string) predicate.SchemaA

StringOptionalNullableHasSuffix applies the HasSuffix predicate on the "string_optional_nullable" field.

func StringOptionalNullableIn

func StringOptionalNullableIn(vs ...string) predicate.SchemaA

StringOptionalNullableIn applies the In predicate on the "string_optional_nullable" field.

func StringOptionalNullableIsNil

func StringOptionalNullableIsNil() predicate.SchemaA

StringOptionalNullableIsNil applies the IsNil predicate on the "string_optional_nullable" field.

func StringOptionalNullableLT

func StringOptionalNullableLT(v string) predicate.SchemaA

StringOptionalNullableLT applies the LT predicate on the "string_optional_nullable" field.

func StringOptionalNullableLTE

func StringOptionalNullableLTE(v string) predicate.SchemaA

StringOptionalNullableLTE applies the LTE predicate on the "string_optional_nullable" field.

func StringOptionalNullableNEQ

func StringOptionalNullableNEQ(v string) predicate.SchemaA

StringOptionalNullableNEQ applies the NEQ predicate on the "string_optional_nullable" field.

func StringOptionalNullableNotIn

func StringOptionalNullableNotIn(vs ...string) predicate.SchemaA

StringOptionalNullableNotIn applies the NotIn predicate on the "string_optional_nullable" field.

func StringOptionalNullableNotNil

func StringOptionalNullableNotNil() predicate.SchemaA

StringOptionalNullableNotNil applies the NotNil predicate on the "string_optional_nullable" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OptionalNullableEnum

type OptionalNullableEnum string

OptionalNullableEnum defines the type for the "optional_nullable_enum" enum field.

const (
	OptionalNullableEnumC OptionalNullableEnum = "c"
	OptionalNullableEnumD OptionalNullableEnum = "d"
)

OptionalNullableEnum values.

func (OptionalNullableEnum) String

func (one OptionalNullableEnum) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SchemaA queries.

func ByEdgeSchemaaRecursive

func ByEdgeSchemaaRecursive(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEdgeSchemaaRecursive orders the results by edge_schemaa_recursive terms.

func ByEdgeSchemaaRecursiveCount

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

ByEdgeSchemaaRecursiveCount orders the results by edge_schemaa_recursive count.

func ByEdgeSchemab

func ByEdgeSchemab(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEdgeSchemab orders the results by edge_schemab terms.

func ByEdgeSchemabCount

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

ByEdgeSchemabCount orders the results by edge_schemab count.

func ByEdgeSchemabUniqueOptionalField

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

ByEdgeSchemabUniqueOptionalField orders the results by edge_schemab_unique_optional field.

func ByEdgeSchemabUniqueRequiredBindtoBsField

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

ByEdgeSchemabUniqueRequiredBindtoBsField orders the results by edge_schemab_unique_required_bindto_bs field.

func ByEdgeSchemabUniqueRequiredField

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

ByEdgeSchemabUniqueRequiredField orders the results by edge_schemab_unique_required field.

func ByID

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

ByID orders the results by the id field.

func ByInt64

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

ByInt64 orders the results by the int64 field.

func ByOptionalNullableBool

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

ByOptionalNullableBool orders the results by the optional_nullable_bool field.

func ByOptionalNullableEnum

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

ByOptionalNullableEnum orders the results by the optional_nullable_enum field.

func ByRequiredEnum

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

ByRequiredEnum orders the results by the required_enum field.

func ByStringBindtoFoobar

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

ByStringBindtoFoobar orders the results by the string_bindto_foobar field.

func ByStringOptionalNullable

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

ByStringOptionalNullable orders the results by the string_optional_nullable field.

type RequiredEnum

type RequiredEnum string

RequiredEnum defines the type for the "required_enum" enum field.

const (
	RequiredEnumA RequiredEnum = "a"
	RequiredEnumB RequiredEnum = "b"
)

RequiredEnum values.

func (RequiredEnum) String

func (re RequiredEnum) String() string

Jump to

Keyboard shortcuts

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