Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the comment type in the database.
	Label = "comment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUniqueInt holds the string denoting the unique_int field in the database.
	FieldUniqueInt = "unique_int"
	// FieldUniqueFloat holds the string denoting the unique_float field in the database.
	FieldUniqueFloat = "unique_float"
	// FieldNillableInt holds the string denoting the nillable_int field in the database.
	FieldNillableInt = "nillable_int"
)

Variables

This section is empty.

Functions

func And

func And(predicates ...predicate.Comment) predicate.Comment

    And groups predicates with the AND operator between them.

    func ID

    func ID(id string) predicate.Comment

      ID filters vertices based on their ID field.

      func IDEQ

      func IDEQ(id string) predicate.Comment

        IDEQ applies the EQ predicate on the ID field.

        func IDGT

        func IDGT(id string) predicate.Comment

          IDGT applies the GT predicate on the ID field.

          func IDGTE

          func IDGTE(id string) predicate.Comment

            IDGTE applies the GTE predicate on the ID field.

            func IDIn

            func IDIn(ids ...string) predicate.Comment

              IDIn applies the In predicate on the ID field.

              func IDLT

              func IDLT(id string) predicate.Comment

                IDLT applies the LT predicate on the ID field.

                func IDLTE

                func IDLTE(id string) predicate.Comment

                  IDLTE applies the LTE predicate on the ID field.

                  func IDNEQ

                  func IDNEQ(id string) predicate.Comment

                    IDNEQ applies the NEQ predicate on the ID field.

                    func IDNotIn

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

                      IDNotIn applies the NotIn predicate on the ID field.

                      func NillableInt

                      func NillableInt(v int) predicate.Comment

                        NillableInt applies equality check predicate on the "nillable_int" field. It's identical to NillableIntEQ.

                        func NillableIntEQ

                        func NillableIntEQ(v int) predicate.Comment

                          NillableIntEQ applies the EQ predicate on the "nillable_int" field.

                          func NillableIntGT

                          func NillableIntGT(v int) predicate.Comment

                            NillableIntGT applies the GT predicate on the "nillable_int" field.

                            func NillableIntGTE

                            func NillableIntGTE(v int) predicate.Comment

                              NillableIntGTE applies the GTE predicate on the "nillable_int" field.

                              func NillableIntIn

                              func NillableIntIn(vs ...int) predicate.Comment

                                NillableIntIn applies the In predicate on the "nillable_int" field.

                                func NillableIntIsNil

                                func NillableIntIsNil() predicate.Comment

                                  NillableIntIsNil applies the IsNil predicate on the "nillable_int" field.

                                  func NillableIntLT

                                  func NillableIntLT(v int) predicate.Comment

                                    NillableIntLT applies the LT predicate on the "nillable_int" field.

                                    func NillableIntLTE

                                    func NillableIntLTE(v int) predicate.Comment

                                      NillableIntLTE applies the LTE predicate on the "nillable_int" field.

                                      func NillableIntNEQ

                                      func NillableIntNEQ(v int) predicate.Comment

                                        NillableIntNEQ applies the NEQ predicate on the "nillable_int" field.

                                        func NillableIntNotIn

                                        func NillableIntNotIn(vs ...int) predicate.Comment

                                          NillableIntNotIn applies the NotIn predicate on the "nillable_int" field.

                                          func NillableIntNotNil

                                          func NillableIntNotNil() predicate.Comment

                                            NillableIntNotNil applies the NotNil predicate on the "nillable_int" field.

                                            func Not

                                              Not applies the not operator on the given predicate.

                                              func Or

                                              func Or(predicates ...predicate.Comment) predicate.Comment

                                                Or groups predicates with the OR operator between them.

                                                func UniqueFloat

                                                func UniqueFloat(v float64) predicate.Comment

                                                  UniqueFloat applies equality check predicate on the "unique_float" field. It's identical to UniqueFloatEQ.

                                                  func UniqueFloatEQ

                                                  func UniqueFloatEQ(v float64) predicate.Comment

                                                    UniqueFloatEQ applies the EQ predicate on the "unique_float" field.

                                                    func UniqueFloatGT

                                                    func UniqueFloatGT(v float64) predicate.Comment

                                                      UniqueFloatGT applies the GT predicate on the "unique_float" field.

                                                      func UniqueFloatGTE

                                                      func UniqueFloatGTE(v float64) predicate.Comment

                                                        UniqueFloatGTE applies the GTE predicate on the "unique_float" field.

                                                        func UniqueFloatIn

                                                        func UniqueFloatIn(vs ...float64) predicate.Comment

                                                          UniqueFloatIn applies the In predicate on the "unique_float" field.

                                                          func UniqueFloatLT

                                                          func UniqueFloatLT(v float64) predicate.Comment

                                                            UniqueFloatLT applies the LT predicate on the "unique_float" field.

                                                            func UniqueFloatLTE

                                                            func UniqueFloatLTE(v float64) predicate.Comment

                                                              UniqueFloatLTE applies the LTE predicate on the "unique_float" field.

                                                              func UniqueFloatNEQ

                                                              func UniqueFloatNEQ(v float64) predicate.Comment

                                                                UniqueFloatNEQ applies the NEQ predicate on the "unique_float" field.

                                                                func UniqueFloatNotIn

                                                                func UniqueFloatNotIn(vs ...float64) predicate.Comment

                                                                  UniqueFloatNotIn applies the NotIn predicate on the "unique_float" field.

                                                                  func UniqueInt

                                                                  func UniqueInt(v int) predicate.Comment

                                                                    UniqueInt applies equality check predicate on the "unique_int" field. It's identical to UniqueIntEQ.

                                                                    func UniqueIntEQ

                                                                    func UniqueIntEQ(v int) predicate.Comment

                                                                      UniqueIntEQ applies the EQ predicate on the "unique_int" field.

                                                                      func UniqueIntGT

                                                                      func UniqueIntGT(v int) predicate.Comment

                                                                        UniqueIntGT applies the GT predicate on the "unique_int" field.

                                                                        func UniqueIntGTE

                                                                        func UniqueIntGTE(v int) predicate.Comment

                                                                          UniqueIntGTE applies the GTE predicate on the "unique_int" field.

                                                                          func UniqueIntIn

                                                                          func UniqueIntIn(vs ...int) predicate.Comment

                                                                            UniqueIntIn applies the In predicate on the "unique_int" field.

                                                                            func UniqueIntLT

                                                                            func UniqueIntLT(v int) predicate.Comment

                                                                              UniqueIntLT applies the LT predicate on the "unique_int" field.

                                                                              func UniqueIntLTE

                                                                              func UniqueIntLTE(v int) predicate.Comment

                                                                                UniqueIntLTE applies the LTE predicate on the "unique_int" field.

                                                                                func UniqueIntNEQ

                                                                                func UniqueIntNEQ(v int) predicate.Comment

                                                                                  UniqueIntNEQ applies the NEQ predicate on the "unique_int" field.

                                                                                  func UniqueIntNotIn

                                                                                  func UniqueIntNotIn(vs ...int) predicate.Comment

                                                                                    UniqueIntNotIn applies the NotIn predicate on the "unique_int" field.

                                                                                    Types

                                                                                    This section is empty.