Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BlobLink) predicate.BlobLink
- func BlobID(v uuid.UUID) predicate.BlobLink
- func BlobIDEQ(v uuid.UUID) predicate.BlobLink
- func BlobIDIn(vs ...uuid.UUID) predicate.BlobLink
- func BlobIDNEQ(v uuid.UUID) predicate.BlobLink
- func BlobIDNotIn(vs ...uuid.UUID) predicate.BlobLink
- func CreatedAt(v time.Time) predicate.BlobLink
- func CreatedAtEQ(v time.Time) predicate.BlobLink
- func CreatedAtGT(v time.Time) predicate.BlobLink
- func CreatedAtGTE(v time.Time) predicate.BlobLink
- func CreatedAtIn(vs ...time.Time) predicate.BlobLink
- func CreatedAtLT(v time.Time) predicate.BlobLink
- func CreatedAtLTE(v time.Time) predicate.BlobLink
- func CreatedAtNEQ(v time.Time) predicate.BlobLink
- func CreatedAtNotIn(vs ...time.Time) predicate.BlobLink
- func HasBlob() predicate.BlobLink
- func HasBlobWith(preds ...predicate.Blob) predicate.BlobLink
- func HasLink() predicate.BlobLink
- func HasLinkWith(preds ...predicate.Blob) predicate.BlobLink
- func LinkID(v uuid.UUID) predicate.BlobLink
- func LinkIDEQ(v uuid.UUID) predicate.BlobLink
- func LinkIDIn(vs ...uuid.UUID) predicate.BlobLink
- func LinkIDNEQ(v uuid.UUID) predicate.BlobLink
- func LinkIDNotIn(vs ...uuid.UUID) predicate.BlobLink
- func Not(p predicate.BlobLink) predicate.BlobLink
- func Or(predicates ...predicate.BlobLink) predicate.BlobLink
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldCreatedAt, FieldBlobID, FieldLinkID, }
Columns holds all SQL columns for bloblink fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
Functions ¶
func BlobID ¶
BlobID applies equality check predicate on the "blob_id" field. It's identical to BlobIDEQ.
func BlobIDNotIn ¶
BlobIDNotIn applies the NotIn predicate on the "blob_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasBlobWith ¶
HasBlobWith applies the HasEdge predicate on the "blob" edge with a given conditions (other predicates).
func HasLinkWith ¶
HasLinkWith applies the HasEdge predicate on the "link" edge with a given conditions (other predicates).
func LinkID ¶
LinkID applies equality check predicate on the "link_id" field. It's identical to LinkIDEQ.
func LinkIDNotIn ¶
LinkIDNotIn applies the NotIn predicate on the "link_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.