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

package item

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

Index

Package Files

item.go where.go

Constants

const (
    // Label holds the string label denoting the item type in the database.
    Label = "item"
    // FieldID holds the string denoting the id field in the database.
    FieldID = "id"

    // Table holds the table name of the item in the database.
    Table = "items"
)

Variables

var Columns = []string{
    FieldID,
}

Columns holds all SQL columns are item fields.

func And Uses

func And(predicates ...predicate.Item) predicate.Item

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

func ID Uses

func ID(id string) predicate.Item

ID filters vertices based on their identifier.

func IDEQ Uses

func IDEQ(id string) predicate.Item

IDEQ applies the EQ predicate on the ID field.

func IDGT Uses

func IDGT(id string) predicate.Item

IDGT applies the GT predicate on the ID field.

func IDGTE Uses

func IDGTE(id string) predicate.Item

IDGTE applies the GTE predicate on the ID field.

func IDIn Uses

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

IDIn applies the In predicate on the ID field.

func IDLT Uses

func IDLT(id string) predicate.Item

IDLT applies the LT predicate on the ID field.

func IDLTE Uses

func IDLTE(id string) predicate.Item

IDLTE applies the LTE predicate on the ID field.

func IDNEQ Uses

func IDNEQ(id string) predicate.Item

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn Uses

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

IDNotIn applies the NotIn predicate on the ID field.

func Not Uses

func Not(p predicate.Item) predicate.Item

Not applies the not operator on the given predicate.

func Or Uses

func Or(predicates ...predicate.Item) predicate.Item

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

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