comment

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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"
	// FieldTable holds the string denoting the table field in the database.
	FieldTable = "table"
	// FieldDir holds the string denoting the dir field in the database.
	FieldDir = "dir"
	// FieldClient holds the string denoting the client field in the database.
	FieldClient = "client"
	// Table holds the table name of the comment in the database.
	Table = "comments"
)

Variables

Columns holds all SQL columns for comment fields.

Functions

func And

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

And groups predicates with the AND operator between them.

func Client added in v0.11.3

func Client(v string) predicate.Comment

Client applies equality check predicate on the "client" field. It's identical to ClientEQ.

func ClientContains added in v0.11.3

func ClientContains(v string) predicate.Comment

ClientContains applies the Contains predicate on the "client" field.

func ClientContainsFold added in v0.11.3

func ClientContainsFold(v string) predicate.Comment

ClientContainsFold applies the ContainsFold predicate on the "client" field.

func ClientEQ added in v0.11.3

func ClientEQ(v string) predicate.Comment

ClientEQ applies the EQ predicate on the "client" field.

func ClientEqualFold added in v0.11.3

func ClientEqualFold(v string) predicate.Comment

ClientEqualFold applies the EqualFold predicate on the "client" field.

func ClientGT added in v0.11.3

func ClientGT(v string) predicate.Comment

ClientGT applies the GT predicate on the "client" field.

func ClientGTE added in v0.11.3

func ClientGTE(v string) predicate.Comment

ClientGTE applies the GTE predicate on the "client" field.

func ClientHasPrefix added in v0.11.3

func ClientHasPrefix(v string) predicate.Comment

ClientHasPrefix applies the HasPrefix predicate on the "client" field.

func ClientHasSuffix added in v0.11.3

func ClientHasSuffix(v string) predicate.Comment

ClientHasSuffix applies the HasSuffix predicate on the "client" field.

func ClientIn added in v0.11.3

func ClientIn(vs ...string) predicate.Comment

ClientIn applies the In predicate on the "client" field.

func ClientIsNil added in v0.11.3

func ClientIsNil() predicate.Comment

ClientIsNil applies the IsNil predicate on the "client" field.

func ClientLT added in v0.11.3

func ClientLT(v string) predicate.Comment

ClientLT applies the LT predicate on the "client" field.

func ClientLTE added in v0.11.3

func ClientLTE(v string) predicate.Comment

ClientLTE applies the LTE predicate on the "client" field.

func ClientNEQ added in v0.11.3

func ClientNEQ(v string) predicate.Comment

ClientNEQ applies the NEQ predicate on the "client" field.

func ClientNotIn added in v0.11.3

func ClientNotIn(vs ...string) predicate.Comment

ClientNotIn applies the NotIn predicate on the "client" field.

func ClientNotNil added in v0.11.3

func ClientNotNil() predicate.Comment

ClientNotNil applies the NotNil predicate on the "client" field.

func DirIsNil added in v0.11.0

func DirIsNil() predicate.Comment

DirIsNil applies the IsNil predicate on the "dir" field.

func DirNotNil added in v0.11.0

func DirNotNil() predicate.Comment

DirNotNil applies the NotNil predicate on the "dir" field.

func ID

func ID(id int) predicate.Comment

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Comment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Comment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Comment

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Comment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Comment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Comment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) 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 TableContains added in v0.11.0

func TableContains(v string) predicate.Comment

TableContains applies the Contains predicate on the "table" field.

func TableContainsFold added in v0.11.0

func TableContainsFold(v string) predicate.Comment

TableContainsFold applies the ContainsFold predicate on the "table" field.

func TableEQ added in v0.11.0

func TableEQ(v string) predicate.Comment

TableEQ applies the EQ predicate on the "table" field.

func TableEqualFold added in v0.11.0

func TableEqualFold(v string) predicate.Comment

TableEqualFold applies the EqualFold predicate on the "table" field.

func TableGT added in v0.11.0

func TableGT(v string) predicate.Comment

TableGT applies the GT predicate on the "table" field.

func TableGTE added in v0.11.0

func TableGTE(v string) predicate.Comment

TableGTE applies the GTE predicate on the "table" field.

func TableHasPrefix added in v0.11.0

func TableHasPrefix(v string) predicate.Comment

TableHasPrefix applies the HasPrefix predicate on the "table" field.

func TableHasSuffix added in v0.11.0

func TableHasSuffix(v string) predicate.Comment

TableHasSuffix applies the HasSuffix predicate on the "table" field.

func TableIn added in v0.11.0

func TableIn(vs ...string) predicate.Comment

TableIn applies the In predicate on the "table" field.

func TableIsNil added in v0.11.0

func TableIsNil() predicate.Comment

TableIsNil applies the IsNil predicate on the "table" field.

func TableLT added in v0.11.0

func TableLT(v string) predicate.Comment

TableLT applies the LT predicate on the "table" field.

func TableLTE added in v0.11.0

func TableLTE(v string) predicate.Comment

TableLTE applies the LTE predicate on the "table" field.

func TableNEQ added in v0.11.0

func TableNEQ(v string) predicate.Comment

TableNEQ applies the NEQ predicate on the "table" field.

func TableNotIn added in v0.11.0

func TableNotIn(vs ...string) predicate.Comment

TableNotIn applies the NotIn predicate on the "table" field.

func TableNotNil added in v0.11.0

func TableNotNil() predicate.Comment

TableNotNil applies the NotNil predicate on the "table" field.

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.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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