ent: github.com/facebookincubator/ent/entc/integration/ent/comment Index | Files

package comment

import "github.com/facebookincubator/ent/entc/integration/ent/comment"

Index

Package Files

comment.go where.go

Constants

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 vertex property in the database.
    FieldUniqueInt = "unique_int"
    // FieldUniqueFloat holds the string denoting the unique_float vertex property in the database.
    FieldUniqueFloat = "unique_float"
    // FieldNillableInt holds the string denoting the nillable_int vertex property in the database.
    FieldNillableInt = "nillable_int"

    // Table holds the table name of the comment in the database.
    Table = "comments"
)

Variables

var Columns = []string{
    FieldID,
    FieldUniqueInt,
    FieldUniqueFloat,
    FieldNillableInt,
}

Columns holds all SQL columns are comment fields.

func And Uses

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

And groups list of predicates with the AND operator between them.

func ID Uses

func ID(id string) predicate.Comment

ID filters vertices based on their identifier.

func IDEQ Uses

func IDEQ(id string) predicate.Comment

IDEQ applies the EQ predicate on the ID field.

func IDGT Uses

func IDGT(id string) predicate.Comment

IDGT applies the GT predicate on the ID field.

func IDGTE Uses

func IDGTE(id string) predicate.Comment

IDGTE applies the GTE predicate on the ID field.

func IDIn Uses

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

IDIn applies the In predicate on the ID field.

func IDLT Uses

func IDLT(id string) predicate.Comment

IDLT applies the LT predicate on the ID field.

func IDLTE Uses

func IDLTE(id string) predicate.Comment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ Uses

func IDNEQ(id string) predicate.Comment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn Uses

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

IDNotIn applies the NotIn predicate on the ID field.

func NillableInt Uses

func NillableInt(v int) predicate.Comment

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

func NillableIntEQ Uses

func NillableIntEQ(v int) predicate.Comment

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

func NillableIntGT Uses

func NillableIntGT(v int) predicate.Comment

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

func NillableIntGTE Uses

func NillableIntGTE(v int) predicate.Comment

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

func NillableIntIn Uses

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

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

func NillableIntIsNil Uses

func NillableIntIsNil() predicate.Comment

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

func NillableIntLT Uses

func NillableIntLT(v int) predicate.Comment

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

func NillableIntLTE Uses

func NillableIntLTE(v int) predicate.Comment

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

func NillableIntNEQ Uses

func NillableIntNEQ(v int) predicate.Comment

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

func NillableIntNotIn Uses

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

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

func NillableIntNotNil Uses

func NillableIntNotNil() predicate.Comment

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

func Not Uses

func Not(p predicate.Comment) predicate.Comment

Not applies the not operator on the given predicate.

func Or Uses

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

Or groups list of predicates with the OR operator between them.

func UniqueFloat Uses

func UniqueFloat(v float64) predicate.Comment

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

func UniqueFloatEQ Uses

func UniqueFloatEQ(v float64) predicate.Comment

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

func UniqueFloatGT Uses

func UniqueFloatGT(v float64) predicate.Comment

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

func UniqueFloatGTE Uses

func UniqueFloatGTE(v float64) predicate.Comment

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

func UniqueFloatIn Uses

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

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

func UniqueFloatLT Uses

func UniqueFloatLT(v float64) predicate.Comment

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

func UniqueFloatLTE Uses

func UniqueFloatLTE(v float64) predicate.Comment

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

func UniqueFloatNEQ Uses

func UniqueFloatNEQ(v float64) predicate.Comment

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

func UniqueFloatNotIn Uses

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

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

func UniqueInt Uses

func UniqueInt(v int) predicate.Comment

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

func UniqueIntEQ Uses

func UniqueIntEQ(v int) predicate.Comment

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

func UniqueIntGT Uses

func UniqueIntGT(v int) predicate.Comment

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

func UniqueIntGTE Uses

func UniqueIntGTE(v int) predicate.Comment

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

func UniqueIntIn Uses

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

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

func UniqueIntLT Uses

func UniqueIntLT(v int) predicate.Comment

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

func UniqueIntLTE Uses

func UniqueIntLTE(v int) predicate.Comment

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

func UniqueIntNEQ Uses

func UniqueIntNEQ(v int) predicate.Comment

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

func UniqueIntNotIn Uses

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

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

Package comment imports 6 packages (graph) and is imported by 1 packages. Updated 2019-11-19. Refresh now. Tools for package owners.