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

package filetype

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

Index

Package Files

filetype.go where.go

Constants

const (
    // Label holds the string label denoting the filetype type in the database.
    Label = "file_type"
    // FieldID holds the string denoting the id field in the database.
    FieldID = "id"
    // FieldName holds the string denoting the name vertex property in the database.
    FieldName = "name"

    // Table holds the table name of the filetype in the database.
    Table = "file_types"
    // FilesTable is the table the holds the files relation/edge.
    FilesTable = "files"
    // FilesInverseTable is the table name for the File entity.
    // It exists in this package in order to avoid circular dependency with the "file" package.
    FilesInverseTable = "files"
    // FilesColumn is the table column denoting the files relation/edge.
    FilesColumn = "type_id"

    // FilesLabel holds the string label denoting the files edge type in the database.
    FilesLabel = "file_type_files"
)

Variables

var Columns = []string{
    FieldID,
    FieldName,
}

Columns holds all SQL columns are filetype fields.

func And Uses

func And(predicates ...predicate.FileType) predicate.FileType

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

func HasFiles Uses

func HasFiles() predicate.FileType

HasFiles applies the HasEdge predicate on the "files" edge.

func HasFilesWith Uses

func HasFilesWith(preds ...predicate.File) predicate.FileType

HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).

func ID Uses

func ID(id string) predicate.FileType

ID filters vertices based on their identifier.

func IDEQ Uses

func IDEQ(id string) predicate.FileType

IDEQ applies the EQ predicate on the ID field.

func IDGT Uses

func IDGT(id string) predicate.FileType

IDGT applies the GT predicate on the ID field.

func IDGTE Uses

func IDGTE(id string) predicate.FileType

IDGTE applies the GTE predicate on the ID field.

func IDIn Uses

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

IDIn applies the In predicate on the ID field.

func IDLT Uses

func IDLT(id string) predicate.FileType

IDLT applies the LT predicate on the ID field.

func IDLTE Uses

func IDLTE(id string) predicate.FileType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ Uses

func IDNEQ(id string) predicate.FileType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn Uses

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

IDNotIn applies the NotIn predicate on the ID field.

func Name Uses

func Name(v string) predicate.FileType

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains Uses

func NameContains(v string) predicate.FileType

NameContains applies the Contains predicate on the "name" field.

func NameEQ Uses

func NameEQ(v string) predicate.FileType

NameEQ applies the EQ predicate on the "name" field.

func NameGT Uses

func NameGT(v string) predicate.FileType

NameGT applies the GT predicate on the "name" field.

func NameGTE Uses

func NameGTE(v string) predicate.FileType

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix Uses

func NameHasPrefix(v string) predicate.FileType

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix Uses

func NameHasSuffix(v string) predicate.FileType

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn Uses

func NameIn(vs ...string) predicate.FileType

NameIn applies the In predicate on the "name" field.

func NameLT Uses

func NameLT(v string) predicate.FileType

NameLT applies the LT predicate on the "name" field.

func NameLTE Uses

func NameLTE(v string) predicate.FileType

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ Uses

func NameNEQ(v string) predicate.FileType

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn Uses

func NameNotIn(vs ...string) predicate.FileType

NameNotIn applies the NotIn predicate on the "name" field.

func Not Uses

func Not(p predicate.FileType) predicate.FileType

Not applies the not operator on the given predicate.

func Or Uses

func Or(predicates ...predicate.FileType) predicate.FileType

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

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