bloblink

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the bloblink type in the database.
	Label = "blob_link"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldBlobID holds the string denoting the blob_id field in the database.
	FieldBlobID = "blob_id"
	// FieldLinkID holds the string denoting the link_id field in the database.
	FieldLinkID = "link_id"
	// EdgeBlob holds the string denoting the blob edge name in mutations.
	EdgeBlob = "blob"
	// EdgeLink holds the string denoting the link edge name in mutations.
	EdgeLink = "link"
	// BlobFieldID holds the string denoting the ID field of the Blob.
	BlobFieldID = "id"
	// Table holds the table name of the bloblink in the database.
	Table = "blob_links"
	// BlobTable is the table that holds the blob relation/edge.
	BlobTable = "blob_links"
	// BlobInverseTable is the table name for the Blob entity.
	// It exists in this package in order to avoid circular dependency with the "blob" package.
	BlobInverseTable = "blobs"
	// BlobColumn is the table column denoting the blob relation/edge.
	BlobColumn = "blob_id"
	// LinkTable is the table that holds the link relation/edge.
	LinkTable = "blob_links"
	// LinkInverseTable is the table name for the Blob entity.
	// It exists in this package in order to avoid circular dependency with the "blob" package.
	LinkInverseTable = "blobs"
	// LinkColumn is the table column denoting the link relation/edge.
	LinkColumn = "link_id"
)

Variables

Columns holds all SQL columns for bloblink 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.BlobLink) predicate.BlobLink

And groups predicates with the AND operator between them.

func BlobID

func BlobID(v uuid.UUID) predicate.BlobLink

BlobID applies equality check predicate on the "blob_id" field. It's identical to BlobIDEQ.

func BlobIDEQ

func BlobIDEQ(v uuid.UUID) predicate.BlobLink

BlobIDEQ applies the EQ predicate on the "blob_id" field.

func BlobIDIn

func BlobIDIn(vs ...uuid.UUID) predicate.BlobLink

BlobIDIn applies the In predicate on the "blob_id" field.

func BlobIDNEQ

func BlobIDNEQ(v uuid.UUID) predicate.BlobLink

BlobIDNEQ applies the NEQ predicate on the "blob_id" field.

func BlobIDNotIn

func BlobIDNotIn(vs ...uuid.UUID) predicate.BlobLink

BlobIDNotIn applies the NotIn predicate on the "blob_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.BlobLink

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.BlobLink

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.BlobLink

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.BlobLink

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.BlobLink

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.BlobLink

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.BlobLink

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

func CreatedAtNotIn

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

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

func HasBlob

func HasBlob() predicate.BlobLink

HasBlob applies the HasEdge predicate on the "blob" edge.

func HasBlobWith

func HasBlobWith(preds ...predicate.Blob) predicate.BlobLink

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

func HasLink() predicate.BlobLink

HasLink applies the HasEdge predicate on the "link" edge.

func HasLinkWith

func HasLinkWith(preds ...predicate.Blob) predicate.BlobLink

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

func LinkID

func LinkID(v uuid.UUID) predicate.BlobLink

LinkID applies equality check predicate on the "link_id" field. It's identical to LinkIDEQ.

func LinkIDEQ

func LinkIDEQ(v uuid.UUID) predicate.BlobLink

LinkIDEQ applies the EQ predicate on the "link_id" field.

func LinkIDIn

func LinkIDIn(vs ...uuid.UUID) predicate.BlobLink

LinkIDIn applies the In predicate on the "link_id" field.

func LinkIDNEQ

func LinkIDNEQ(v uuid.UUID) predicate.BlobLink

LinkIDNEQ applies the NEQ predicate on the "link_id" field.

func LinkIDNotIn

func LinkIDNotIn(vs ...uuid.UUID) predicate.BlobLink

LinkIDNotIn applies the NotIn predicate on the "link_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.BlobLink) predicate.BlobLink

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