task

package
v0.0.0-...-960bda7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 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"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldComplete holds the string denoting the complete field in the database.
	FieldComplete = "complete"
	// FieldSignature holds the string denoting the signature field in the database.
	FieldSignature = "signature"
	// Table holds the table name of the task in the database.
	Table = "tasks"
)

Variables

Columns holds all SQL columns for task fields.

Functions

func And

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

And groups predicates with the AND operator between them.

func Complete

func Complete(v bool) predicate.Task

Complete applies equality check predicate on the "complete" field. It's identical to CompleteEQ.

func CompleteEQ

func CompleteEQ(v bool) predicate.Task

CompleteEQ applies the EQ predicate on the "complete" field.

func CompleteNEQ

func CompleteNEQ(v bool) predicate.Task

CompleteNEQ applies the NEQ predicate on the "complete" field.

func Description

func Description(v string) predicate.Task

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Task

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Task

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Task

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Task

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Task

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Task

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Task

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Task

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

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

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Task

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Task

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Task

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

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

DescriptionNotIn applies the NotIn predicate on the "description" field.

func ID

func ID(id int) predicate.Task

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Task

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Task

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Task

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Task

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Task

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Task

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID 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 Signature

func Signature(v string) predicate.Task

Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.

func SignatureContains

func SignatureContains(v string) predicate.Task

SignatureContains applies the Contains predicate on the "signature" field.

func SignatureContainsFold

func SignatureContainsFold(v string) predicate.Task

SignatureContainsFold applies the ContainsFold predicate on the "signature" field.

func SignatureEQ

func SignatureEQ(v string) predicate.Task

SignatureEQ applies the EQ predicate on the "signature" field.

func SignatureEqualFold

func SignatureEqualFold(v string) predicate.Task

SignatureEqualFold applies the EqualFold predicate on the "signature" field.

func SignatureGT

func SignatureGT(v string) predicate.Task

SignatureGT applies the GT predicate on the "signature" field.

func SignatureGTE

func SignatureGTE(v string) predicate.Task

SignatureGTE applies the GTE predicate on the "signature" field.

func SignatureHasPrefix

func SignatureHasPrefix(v string) predicate.Task

SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.

func SignatureHasSuffix

func SignatureHasSuffix(v string) predicate.Task

SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.

func SignatureIn

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

SignatureIn applies the In predicate on the "signature" field.

func SignatureLT

func SignatureLT(v string) predicate.Task

SignatureLT applies the LT predicate on the "signature" field.

func SignatureLTE

func SignatureLTE(v string) predicate.Task

SignatureLTE applies the LTE predicate on the "signature" field.

func SignatureNEQ

func SignatureNEQ(v string) predicate.Task

SignatureNEQ applies the NEQ predicate on the "signature" field.

func SignatureNotIn

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

SignatureNotIn applies the NotIn predicate on the "signature" field.

func Title

func Title(v string) predicate.Task

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Task

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Task

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Task

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Task

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Task

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Task

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Task

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Task

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

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

TitleIn applies the In predicate on the "title" field.

func TitleIsNil

func TitleIsNil() predicate.Task

TitleIsNil applies the IsNil predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Task

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Task

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Task

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

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

TitleNotIn applies the NotIn predicate on the "title" field.

func TitleNotNil

func TitleNotNil() predicate.Task

TitleNotNil applies the NotNil predicate on the "title" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Task queries.

func ByComplete

func ByComplete(opts ...sql.OrderTermOption) OrderOption

ByComplete orders the results by the complete field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func BySignature

func BySignature(opts ...sql.OrderTermOption) OrderOption

BySignature orders the results by the signature field.

func ByTitle

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the title field.

Jump to

Keyboard shortcuts

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