image

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the image type in the database.
	Label = "image"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldURLPath holds the string denoting the url_path field in the database.
	FieldURLPath = "url_path"
	// EdgeUserProfilePic holds the string denoting the user_profile_pic edge name in mutations.
	EdgeUserProfilePic = "user_profile_pic"
	// Table holds the table name of the image in the database.
	Table = "images"
	// UserProfilePicTable is the table that holds the user_profile_pic relation/edge.
	UserProfilePicTable = "users"
	// UserProfilePicInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserProfilePicInverseTable = "users"
	// UserProfilePicColumn is the table column denoting the user_profile_pic relation/edge.
	UserProfilePicColumn = "user_profile_pic"
)

Variables

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

Columns holds all SQL columns for image fields.

Functions

func And

func And(predicates ...predicate.Image) predicate.Image

And groups predicates with the AND operator between them.

func HasUserProfilePic

func HasUserProfilePic() predicate.Image

HasUserProfilePic applies the HasEdge predicate on the "user_profile_pic" edge.

func HasUserProfilePicWith

func HasUserProfilePicWith(preds ...predicate.User) predicate.Image

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

func ID

func ID(id uuid.UUID) predicate.Image

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Image

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Image

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Image

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Image

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Image

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Image

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Image

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Image

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

Or groups predicates with the OR operator between them.

func URLPath

func URLPath(v string) predicate.Image

URLPath applies equality check predicate on the "url_path" field. It's identical to URLPathEQ.

func URLPathContains

func URLPathContains(v string) predicate.Image

URLPathContains applies the Contains predicate on the "url_path" field.

func URLPathContainsFold

func URLPathContainsFold(v string) predicate.Image

URLPathContainsFold applies the ContainsFold predicate on the "url_path" field.

func URLPathEQ

func URLPathEQ(v string) predicate.Image

URLPathEQ applies the EQ predicate on the "url_path" field.

func URLPathEqualFold

func URLPathEqualFold(v string) predicate.Image

URLPathEqualFold applies the EqualFold predicate on the "url_path" field.

func URLPathGT

func URLPathGT(v string) predicate.Image

URLPathGT applies the GT predicate on the "url_path" field.

func URLPathGTE

func URLPathGTE(v string) predicate.Image

URLPathGTE applies the GTE predicate on the "url_path" field.

func URLPathHasPrefix

func URLPathHasPrefix(v string) predicate.Image

URLPathHasPrefix applies the HasPrefix predicate on the "url_path" field.

func URLPathHasSuffix

func URLPathHasSuffix(v string) predicate.Image

URLPathHasSuffix applies the HasSuffix predicate on the "url_path" field.

func URLPathIn

func URLPathIn(vs ...string) predicate.Image

URLPathIn applies the In predicate on the "url_path" field.

func URLPathLT

func URLPathLT(v string) predicate.Image

URLPathLT applies the LT predicate on the "url_path" field.

func URLPathLTE

func URLPathLTE(v string) predicate.Image

URLPathLTE applies the LTE predicate on the "url_path" field.

func URLPathNEQ

func URLPathNEQ(v string) predicate.Image

URLPathNEQ applies the NEQ predicate on the "url_path" field.

func URLPathNotIn

func URLPathNotIn(vs ...string) predicate.Image

URLPathNotIn applies the NotIn predicate on the "url_path" field.

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