enttask

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the task type in the database.
	Label = "task"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPriority holds the string denoting the priority field in the database.
	FieldPriority = "priority"
	// FieldPriorities holds the string denoting the priorities field in the database.
	FieldPriorities = "priorities"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldOwner holds the string denoting the owner field in the database.
	FieldOwner = "owner"
)

Variables

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

Functions

func And

func And(predicates ...predicate.Task) predicate.Task

And groups predicates with the AND operator between them.

func CreatedAt added in v0.11.3

func CreatedAt(v time.Time) predicate.Task

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

func CreatedAtEQ added in v0.11.3

func CreatedAtEQ(v time.Time) predicate.Task

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

func CreatedAtGT added in v0.11.3

func CreatedAtGT(v time.Time) predicate.Task

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

func CreatedAtGTE added in v0.11.3

func CreatedAtGTE(v time.Time) predicate.Task

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

func CreatedAtIn added in v0.11.3

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

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

func CreatedAtLT added in v0.11.3

func CreatedAtLT(v time.Time) predicate.Task

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

func CreatedAtLTE added in v0.11.3

func CreatedAtLTE(v time.Time) predicate.Task

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

func CreatedAtNEQ added in v0.11.3

func CreatedAtNEQ(v time.Time) predicate.Task

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

func CreatedAtNotIn added in v0.11.3

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

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

func ID

func ID(id string) predicate.Task

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Task

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Task

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Task

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Task

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Task

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Task

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name added in v0.11.8

func Name(v string) predicate.Task

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

func NameContains added in v0.11.8

func NameContains(v string) predicate.Task

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

func NameEQ added in v0.11.8

func NameEQ(v string) predicate.Task

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

func NameGT added in v0.11.8

func NameGT(v string) predicate.Task

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

func NameGTE added in v0.11.8

func NameGTE(v string) predicate.Task

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

func NameHasPrefix added in v0.11.8

func NameHasPrefix(v string) predicate.Task

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

func NameHasSuffix added in v0.11.8

func NameHasSuffix(v string) predicate.Task

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

func NameIn added in v0.11.8

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

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

func NameIsNil added in v0.11.8

func NameIsNil() predicate.Task

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT added in v0.11.8

func NameLT(v string) predicate.Task

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

func NameLTE added in v0.11.8

func NameLTE(v string) predicate.Task

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

func NameNEQ added in v0.11.8

func NameNEQ(v string) predicate.Task

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

func NameNotIn added in v0.11.8

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

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

func NameNotNil added in v0.11.8

func NameNotNil() predicate.Task

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Task) predicate.Task

Or groups predicates with the OR operator between them.

func Owner added in v0.11.8

func Owner(v string) predicate.Task

Owner applies equality check predicate on the "owner" field. It's identical to OwnerEQ.

func OwnerContains added in v0.11.8

func OwnerContains(v string) predicate.Task

OwnerContains applies the Contains predicate on the "owner" field.

func OwnerEQ added in v0.11.8

func OwnerEQ(v string) predicate.Task

OwnerEQ applies the EQ predicate on the "owner" field.

func OwnerGT added in v0.11.8

func OwnerGT(v string) predicate.Task

OwnerGT applies the GT predicate on the "owner" field.

func OwnerGTE added in v0.11.8

func OwnerGTE(v string) predicate.Task

OwnerGTE applies the GTE predicate on the "owner" field.

func OwnerHasPrefix added in v0.11.8

func OwnerHasPrefix(v string) predicate.Task

OwnerHasPrefix applies the HasPrefix predicate on the "owner" field.

func OwnerHasSuffix added in v0.11.8

func OwnerHasSuffix(v string) predicate.Task

OwnerHasSuffix applies the HasSuffix predicate on the "owner" field.

func OwnerIn added in v0.11.8

func OwnerIn(vs ...string) predicate.Task

OwnerIn applies the In predicate on the "owner" field.

func OwnerIsNil added in v0.11.8

func OwnerIsNil() predicate.Task

OwnerIsNil applies the IsNil predicate on the "owner" field.

func OwnerLT added in v0.11.8

func OwnerLT(v string) predicate.Task

OwnerLT applies the LT predicate on the "owner" field.

func OwnerLTE added in v0.11.8

func OwnerLTE(v string) predicate.Task

OwnerLTE applies the LTE predicate on the "owner" field.

func OwnerNEQ added in v0.11.8

func OwnerNEQ(v string) predicate.Task

OwnerNEQ applies the NEQ predicate on the "owner" field.

func OwnerNotIn added in v0.11.8

func OwnerNotIn(vs ...string) predicate.Task

OwnerNotIn applies the NotIn predicate on the "owner" field.

func OwnerNotNil added in v0.11.8

func OwnerNotNil() predicate.Task

OwnerNotNil applies the NotNil predicate on the "owner" field.

func PrioritiesIsNil added in v0.11.2

func PrioritiesIsNil() predicate.Task

PrioritiesIsNil applies the IsNil predicate on the "priorities" field.

func PrioritiesNotNil added in v0.11.2

func PrioritiesNotNil() predicate.Task

PrioritiesNotNil applies the NotNil predicate on the "priorities" field.

func Priority

func Priority(v task.Priority) predicate.Task

Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.

func PriorityEQ

func PriorityEQ(v task.Priority) predicate.Task

PriorityEQ applies the EQ predicate on the "priority" field.

func PriorityGT

func PriorityGT(v task.Priority) predicate.Task

PriorityGT applies the GT predicate on the "priority" field.

func PriorityGTE

func PriorityGTE(v task.Priority) predicate.Task

PriorityGTE applies the GTE predicate on the "priority" field.

func PriorityIn

func PriorityIn(vs ...task.Priority) predicate.Task

PriorityIn applies the In predicate on the "priority" field.

func PriorityLT

func PriorityLT(v task.Priority) predicate.Task

PriorityLT applies the LT predicate on the "priority" field.

func PriorityLTE

func PriorityLTE(v task.Priority) predicate.Task

PriorityLTE applies the LTE predicate on the "priority" field.

func PriorityNEQ

func PriorityNEQ(v task.Priority) predicate.Task

PriorityNEQ applies the NEQ predicate on the "priority" field.

func PriorityNotIn

func PriorityNotIn(vs ...task.Priority) predicate.Task

PriorityNotIn applies the NotIn predicate on the "priority" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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