attachment

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the attachment type in the database.
	Label = "attachment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldContents holds the string denoting the contents field in the database.
	FieldContents = "contents"
	// Table holds the table name of the attachment in the database.
	Table = "attachments"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldContents,
}

Columns holds all SQL columns for attachment fields.

Functions

func And

func And(predicates ...predicate.Attachment) predicate.Attachment

And groups predicates with the AND operator between them.

func Contents

func Contents(v string) predicate.Attachment

Contents applies equality check predicate on the "contents" field. It's identical to ContentsEQ.

func ContentsContains

func ContentsContains(v string) predicate.Attachment

ContentsContains applies the Contains predicate on the "contents" field.

func ContentsContainsFold

func ContentsContainsFold(v string) predicate.Attachment

ContentsContainsFold applies the ContainsFold predicate on the "contents" field.

func ContentsEQ

func ContentsEQ(v string) predicate.Attachment

ContentsEQ applies the EQ predicate on the "contents" field.

func ContentsEqualFold

func ContentsEqualFold(v string) predicate.Attachment

ContentsEqualFold applies the EqualFold predicate on the "contents" field.

func ContentsGT

func ContentsGT(v string) predicate.Attachment

ContentsGT applies the GT predicate on the "contents" field.

func ContentsGTE

func ContentsGTE(v string) predicate.Attachment

ContentsGTE applies the GTE predicate on the "contents" field.

func ContentsHasPrefix

func ContentsHasPrefix(v string) predicate.Attachment

ContentsHasPrefix applies the HasPrefix predicate on the "contents" field.

func ContentsHasSuffix

func ContentsHasSuffix(v string) predicate.Attachment

ContentsHasSuffix applies the HasSuffix predicate on the "contents" field.

func ContentsIn

func ContentsIn(vs ...string) predicate.Attachment

ContentsIn applies the In predicate on the "contents" field.

func ContentsLT

func ContentsLT(v string) predicate.Attachment

ContentsLT applies the LT predicate on the "contents" field.

func ContentsLTE

func ContentsLTE(v string) predicate.Attachment

ContentsLTE applies the LTE predicate on the "contents" field.

func ContentsNEQ

func ContentsNEQ(v string) predicate.Attachment

ContentsNEQ applies the NEQ predicate on the "contents" field.

func ContentsNotIn

func ContentsNotIn(vs ...string) predicate.Attachment

ContentsNotIn applies the NotIn predicate on the "contents" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Attachment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Attachment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Attachment

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Attachment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Attachment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Attachment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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.Attachment) predicate.Attachment

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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