application

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the application type in the database.
	Label = "application"
	// 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"       // FieldStatus holds the string denoting the status vertex property in the database.
	FieldStatus     = "status"     // FieldCreatedAt holds the string denoting the created_at vertex property in the database.
	FieldCreatedAt  = "created_at" // FieldFinishedAt holds the string denoting the finished_at vertex property in the database.
	FieldFinishedAt = "finished_at"

	// Table holds the table name of the application in the database.
	Table = "applications"
)

Variables

Columns holds all SQL columns for application fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the created_at field.
	DefaultCreatedAt func() time.Time
)

Functions

func And

func And(predicates ...predicate.Application) predicate.Application

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

func CreatedAt

func CreatedAt(v time.Time) predicate.Application

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Application

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Application

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Application

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Application

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Application

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Application

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Application

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Application

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func FinishedAt

func FinishedAt(v time.Time) predicate.Application

FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.

func FinishedAtEQ

func FinishedAtEQ(v time.Time) predicate.Application

FinishedAtEQ applies the EQ predicate on the "finished_at" field.

func FinishedAtGT

func FinishedAtGT(v time.Time) predicate.Application

FinishedAtGT applies the GT predicate on the "finished_at" field.

func FinishedAtGTE

func FinishedAtGTE(v time.Time) predicate.Application

FinishedAtGTE applies the GTE predicate on the "finished_at" field.

func FinishedAtIn

func FinishedAtIn(vs ...time.Time) predicate.Application

FinishedAtIn applies the In predicate on the "finished_at" field.

func FinishedAtIsNil

func FinishedAtIsNil() predicate.Application

FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.

func FinishedAtLT

func FinishedAtLT(v time.Time) predicate.Application

FinishedAtLT applies the LT predicate on the "finished_at" field.

func FinishedAtLTE

func FinishedAtLTE(v time.Time) predicate.Application

FinishedAtLTE applies the LTE predicate on the "finished_at" field.

func FinishedAtNEQ

func FinishedAtNEQ(v time.Time) predicate.Application

FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.

func FinishedAtNotIn

func FinishedAtNotIn(vs ...time.Time) predicate.Application

FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.

func FinishedAtNotNil

func FinishedAtNotNil() predicate.Application

FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.

func ID

func ID(id int) predicate.Application

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Application

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Application

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Application

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Application

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Application

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Application

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Application

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.Application

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

func NameContainsFold

func NameContainsFold(v string) predicate.Application

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Application

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

func NameEqualFold

func NameEqualFold(v string) predicate.Application

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Application

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

func NameGTE

func NameGTE(v string) predicate.Application

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Application

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Application

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Application

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

func NameLTE

func NameLTE(v string) predicate.Application

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

func NameNEQ

func NameNEQ(v string) predicate.Application

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Application) predicate.Application

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

func Status

func Status(v string) predicate.Application

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Application

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Application

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Application

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Application

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Application

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Application

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Application

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Application

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Application

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Application

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Application

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Application

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Application

StatusNotIn applies the NotIn predicate on the "status" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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