Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SchemaA) predicate.SchemaA
- func Bytes(v []byte) predicate.SchemaA
- func BytesEQ(v []byte) predicate.SchemaA
- func BytesGT(v []byte) predicate.SchemaA
- func BytesGTE(v []byte) predicate.SchemaA
- func BytesIn(vs ...[]byte) predicate.SchemaA
- func BytesLT(v []byte) predicate.SchemaA
- func BytesLTE(v []byte) predicate.SchemaA
- func BytesNEQ(v []byte) predicate.SchemaA
- func BytesNotIn(vs ...[]byte) predicate.SchemaA
- func HasEdgeSchemaaRecursive() predicate.SchemaA
- func HasEdgeSchemaaRecursiveWith(preds ...predicate.SchemaA) predicate.SchemaA
- func HasEdgeSchemab() predicate.SchemaA
- func HasEdgeSchemabUniqueOptional() predicate.SchemaA
- func HasEdgeSchemabUniqueOptionalWith(preds ...predicate.SchemaB) predicate.SchemaA
- func HasEdgeSchemabUniqueRequired() predicate.SchemaA
- func HasEdgeSchemabUniqueRequiredBindtoBs() predicate.SchemaA
- func HasEdgeSchemabUniqueRequiredBindtoBsWith(preds ...predicate.SchemaB) predicate.SchemaA
- func HasEdgeSchemabUniqueRequiredWith(preds ...predicate.SchemaB) predicate.SchemaA
- func HasEdgeSchemabWith(preds ...predicate.SchemaB) predicate.SchemaA
- func ID(id int) predicate.SchemaA
- func IDEQ(id int) predicate.SchemaA
- func IDGT(id int) predicate.SchemaA
- func IDGTE(id int) predicate.SchemaA
- func IDIn(ids ...int) predicate.SchemaA
- func IDLT(id int) predicate.SchemaA
- func IDLTE(id int) predicate.SchemaA
- func IDNEQ(id int) predicate.SchemaA
- func IDNotIn(ids ...int) predicate.SchemaA
- func Int64(v int64) predicate.SchemaA
- func Int64EQ(v int64) predicate.SchemaA
- func Int64GT(v int64) predicate.SchemaA
- func Int64GTE(v int64) predicate.SchemaA
- func Int64In(vs ...int64) predicate.SchemaA
- func Int64LT(v int64) predicate.SchemaA
- func Int64LTE(v int64) predicate.SchemaA
- func Int64NEQ(v int64) predicate.SchemaA
- func Int64NotIn(vs ...int64) predicate.SchemaA
- func JsontypeIntsOptionalIsNil() predicate.SchemaA
- func JsontypeIntsOptionalNotNil() predicate.SchemaA
- func JsontypeStringsOptionalIsNil() predicate.SchemaA
- func JsontypeStringsOptionalNotNil() predicate.SchemaA
- func Not(p predicate.SchemaA) predicate.SchemaA
- func OptionalNullableBool(v bool) predicate.SchemaA
- func OptionalNullableBoolEQ(v bool) predicate.SchemaA
- func OptionalNullableBoolIsNil() predicate.SchemaA
- func OptionalNullableBoolNEQ(v bool) predicate.SchemaA
- func OptionalNullableBoolNotNil() predicate.SchemaA
- func OptionalNullableEnumEQ(v OptionalNullableEnum) predicate.SchemaA
- func OptionalNullableEnumIn(vs ...OptionalNullableEnum) predicate.SchemaA
- func OptionalNullableEnumIsNil() predicate.SchemaA
- func OptionalNullableEnumNEQ(v OptionalNullableEnum) predicate.SchemaA
- func OptionalNullableEnumNotIn(vs ...OptionalNullableEnum) predicate.SchemaA
- func OptionalNullableEnumNotNil() predicate.SchemaA
- func OptionalNullableEnumValidator(one OptionalNullableEnum) error
- func Or(predicates ...predicate.SchemaA) predicate.SchemaA
- func RequiredEnumEQ(v RequiredEnum) predicate.SchemaA
- func RequiredEnumIn(vs ...RequiredEnum) predicate.SchemaA
- func RequiredEnumNEQ(v RequiredEnum) predicate.SchemaA
- func RequiredEnumNotIn(vs ...RequiredEnum) predicate.SchemaA
- func RequiredEnumValidator(re RequiredEnum) error
- func StringBindtoFoobar(v string) predicate.SchemaA
- func StringBindtoFoobarContains(v string) predicate.SchemaA
- func StringBindtoFoobarContainsFold(v string) predicate.SchemaA
- func StringBindtoFoobarEQ(v string) predicate.SchemaA
- func StringBindtoFoobarEqualFold(v string) predicate.SchemaA
- func StringBindtoFoobarGT(v string) predicate.SchemaA
- func StringBindtoFoobarGTE(v string) predicate.SchemaA
- func StringBindtoFoobarHasPrefix(v string) predicate.SchemaA
- func StringBindtoFoobarHasSuffix(v string) predicate.SchemaA
- func StringBindtoFoobarIn(vs ...string) predicate.SchemaA
- func StringBindtoFoobarLT(v string) predicate.SchemaA
- func StringBindtoFoobarLTE(v string) predicate.SchemaA
- func StringBindtoFoobarNEQ(v string) predicate.SchemaA
- func StringBindtoFoobarNotIn(vs ...string) predicate.SchemaA
- func StringOptionalNullable(v string) predicate.SchemaA
- func StringOptionalNullableContains(v string) predicate.SchemaA
- func StringOptionalNullableContainsFold(v string) predicate.SchemaA
- func StringOptionalNullableEQ(v string) predicate.SchemaA
- func StringOptionalNullableEqualFold(v string) predicate.SchemaA
- func StringOptionalNullableGT(v string) predicate.SchemaA
- func StringOptionalNullableGTE(v string) predicate.SchemaA
- func StringOptionalNullableHasPrefix(v string) predicate.SchemaA
- func StringOptionalNullableHasSuffix(v string) predicate.SchemaA
- func StringOptionalNullableIn(vs ...string) predicate.SchemaA
- func StringOptionalNullableIsNil() predicate.SchemaA
- func StringOptionalNullableLT(v string) predicate.SchemaA
- func StringOptionalNullableLTE(v string) predicate.SchemaA
- func StringOptionalNullableNEQ(v string) predicate.SchemaA
- func StringOptionalNullableNotIn(vs ...string) predicate.SchemaA
- func StringOptionalNullableNotNil() predicate.SchemaA
- func ValidColumn(column string) bool
- type OptionalNullableEnum
- type OrderOption
- func ByEdgeSchemaaRecursive(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEdgeSchemaaRecursiveCount(opts ...sql.OrderTermOption) OrderOption
- func ByEdgeSchemab(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEdgeSchemabCount(opts ...sql.OrderTermOption) OrderOption
- func ByEdgeSchemabUniqueOptionalField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEdgeSchemabUniqueRequiredBindtoBsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEdgeSchemabUniqueRequiredField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInt64(opts ...sql.OrderTermOption) OrderOption
- func ByOptionalNullableBool(opts ...sql.OrderTermOption) OrderOption
- func ByOptionalNullableEnum(opts ...sql.OrderTermOption) OrderOption
- func ByRequiredEnum(opts ...sql.OrderTermOption) OrderOption
- func ByStringBindtoFoobar(opts ...sql.OrderTermOption) OrderOption
- func ByStringOptionalNullable(opts ...sql.OrderTermOption) OrderOption
- type RequiredEnum
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldInt64, FieldStringBindtoFoobar, FieldStringOptionalNullable, FieldOptionalNullableBool, FieldJsontypeStrings, FieldJsontypeStringsOptional, FieldJsontypeInts, FieldJsontypeIntsOptional, FieldRequiredEnum, FieldOptionalNullableEnum, FieldBytes, }
Columns holds all SQL columns for schemaa fields.
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"} )
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 Bytes ¶
Bytes applies equality check predicate on the "bytes" field. It's identical to BytesEQ.
func BytesNotIn ¶
BytesNotIn applies the NotIn predicate on the "bytes" field.
func HasEdgeSchemaaRecursive ¶
HasEdgeSchemaaRecursive applies the HasEdge predicate on the "edge_schemaa_recursive" edge.
func HasEdgeSchemaaRecursiveWith ¶
HasEdgeSchemaaRecursiveWith applies the HasEdge predicate on the "edge_schemaa_recursive" edge with a given conditions (other predicates).
func HasEdgeSchemab ¶
HasEdgeSchemab applies the HasEdge predicate on the "edge_schemab" edge.
func HasEdgeSchemabUniqueOptional ¶
HasEdgeSchemabUniqueOptional applies the HasEdge predicate on the "edge_schemab_unique_optional" edge.
func HasEdgeSchemabUniqueOptionalWith ¶
HasEdgeSchemabUniqueOptionalWith applies the HasEdge predicate on the "edge_schemab_unique_optional" edge with a given conditions (other predicates).
func HasEdgeSchemabUniqueRequired ¶
HasEdgeSchemabUniqueRequired applies the HasEdge predicate on the "edge_schemab_unique_required" edge.
func HasEdgeSchemabUniqueRequiredBindtoBs ¶
HasEdgeSchemabUniqueRequiredBindtoBs applies the HasEdge predicate on the "edge_schemab_unique_required_bindto_bs" edge.
func HasEdgeSchemabUniqueRequiredBindtoBsWith ¶
HasEdgeSchemabUniqueRequiredBindtoBsWith applies the HasEdge predicate on the "edge_schemab_unique_required_bindto_bs" edge with a given conditions (other predicates).
func HasEdgeSchemabUniqueRequiredWith ¶
HasEdgeSchemabUniqueRequiredWith applies the HasEdge predicate on the "edge_schemab_unique_required" edge with a given conditions (other predicates).
func HasEdgeSchemabWith ¶
HasEdgeSchemabWith applies the HasEdge predicate on the "edge_schemab" edge with a given conditions (other predicates).
func Int64 ¶
Int64 applies equality check predicate on the "int64" field. It's identical to Int64EQ.
func Int64NotIn ¶
Int64NotIn applies the NotIn predicate on the "int64" field.
func JsontypeIntsOptionalIsNil ¶
JsontypeIntsOptionalIsNil applies the IsNil predicate on the "jsontype_ints_optional" field.
func JsontypeIntsOptionalNotNil ¶
JsontypeIntsOptionalNotNil applies the NotNil predicate on the "jsontype_ints_optional" field.
func JsontypeStringsOptionalIsNil ¶
JsontypeStringsOptionalIsNil applies the IsNil predicate on the "jsontype_strings_optional" field.
func JsontypeStringsOptionalNotNil ¶
JsontypeStringsOptionalNotNil applies the NotNil predicate on the "jsontype_strings_optional" field.
func OptionalNullableBool ¶
OptionalNullableBool applies equality check predicate on the "optional_nullable_bool" field. It's identical to OptionalNullableBoolEQ.
func OptionalNullableBoolEQ ¶
OptionalNullableBoolEQ applies the EQ predicate on the "optional_nullable_bool" field.
func OptionalNullableBoolIsNil ¶
OptionalNullableBoolIsNil applies the IsNil predicate on the "optional_nullable_bool" field.
func OptionalNullableBoolNEQ ¶
OptionalNullableBoolNEQ applies the NEQ predicate on the "optional_nullable_bool" field.
func OptionalNullableBoolNotNil ¶
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 ¶
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 ¶
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 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 ¶
StringBindtoFoobar applies equality check predicate on the "string_bindto_foobar" field. It's identical to StringBindtoFoobarEQ.
func StringBindtoFoobarContains ¶
StringBindtoFoobarContains applies the Contains predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarContainsFold ¶
StringBindtoFoobarContainsFold applies the ContainsFold predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarEQ ¶
StringBindtoFoobarEQ applies the EQ predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarEqualFold ¶
StringBindtoFoobarEqualFold applies the EqualFold predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarGT ¶
StringBindtoFoobarGT applies the GT predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarGTE ¶
StringBindtoFoobarGTE applies the GTE predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarHasPrefix ¶
StringBindtoFoobarHasPrefix applies the HasPrefix predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarHasSuffix ¶
StringBindtoFoobarHasSuffix applies the HasSuffix predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarIn ¶
StringBindtoFoobarIn applies the In predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarLT ¶
StringBindtoFoobarLT applies the LT predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarLTE ¶
StringBindtoFoobarLTE applies the LTE predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarNEQ ¶
StringBindtoFoobarNEQ applies the NEQ predicate on the "string_bindto_foobar" field.
func StringBindtoFoobarNotIn ¶
StringBindtoFoobarNotIn applies the NotIn predicate on the "string_bindto_foobar" field.
func StringOptionalNullable ¶
StringOptionalNullable applies equality check predicate on the "string_optional_nullable" field. It's identical to StringOptionalNullableEQ.
func StringOptionalNullableContains ¶
StringOptionalNullableContains applies the Contains predicate on the "string_optional_nullable" field.
func StringOptionalNullableContainsFold ¶
StringOptionalNullableContainsFold applies the ContainsFold predicate on the "string_optional_nullable" field.
func StringOptionalNullableEQ ¶
StringOptionalNullableEQ applies the EQ predicate on the "string_optional_nullable" field.
func StringOptionalNullableEqualFold ¶
StringOptionalNullableEqualFold applies the EqualFold predicate on the "string_optional_nullable" field.
func StringOptionalNullableGT ¶
StringOptionalNullableGT applies the GT predicate on the "string_optional_nullable" field.
func StringOptionalNullableGTE ¶
StringOptionalNullableGTE applies the GTE predicate on the "string_optional_nullable" field.
func StringOptionalNullableHasPrefix ¶
StringOptionalNullableHasPrefix applies the HasPrefix predicate on the "string_optional_nullable" field.
func StringOptionalNullableHasSuffix ¶
StringOptionalNullableHasSuffix applies the HasSuffix predicate on the "string_optional_nullable" field.
func StringOptionalNullableIn ¶
StringOptionalNullableIn applies the In predicate on the "string_optional_nullable" field.
func StringOptionalNullableIsNil ¶
StringOptionalNullableIsNil applies the IsNil predicate on the "string_optional_nullable" field.
func StringOptionalNullableLT ¶
StringOptionalNullableLT applies the LT predicate on the "string_optional_nullable" field.
func StringOptionalNullableLTE ¶
StringOptionalNullableLTE applies the LTE predicate on the "string_optional_nullable" field.
func StringOptionalNullableNEQ ¶
StringOptionalNullableNEQ applies the NEQ predicate on the "string_optional_nullable" field.
func StringOptionalNullableNotIn ¶
StringOptionalNullableNotIn applies the NotIn predicate on the "string_optional_nullable" field.
func StringOptionalNullableNotNil ¶
StringOptionalNullableNotNil applies the NotNil predicate on the "string_optional_nullable" field.
func ValidColumn ¶
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 ¶
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