Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.StorageReaderLease) predicate.StorageReaderLease
- func ExpiresAt(v int64) predicate.StorageReaderLease
- func ExpiresAtEQ(v int64) predicate.StorageReaderLease
- func ExpiresAtGT(v int64) predicate.StorageReaderLease
- func ExpiresAtGTE(v int64) predicate.StorageReaderLease
- func ExpiresAtIn(vs ...int64) predicate.StorageReaderLease
- func ExpiresAtLT(v int64) predicate.StorageReaderLease
- func ExpiresAtLTE(v int64) predicate.StorageReaderLease
- func ExpiresAtNEQ(v int64) predicate.StorageReaderLease
- func ExpiresAtNotIn(vs ...int64) predicate.StorageReaderLease
- func HasStorageLocation() predicate.StorageReaderLease
- func HasStorageLocationWith(preds ...predicate.StorageLocation) predicate.StorageReaderLease
- func ID(id string) predicate.StorageReaderLease
- func IDContainsFold(id string) predicate.StorageReaderLease
- func IDEQ(id string) predicate.StorageReaderLease
- func IDEqualFold(id string) predicate.StorageReaderLease
- func IDGT(id string) predicate.StorageReaderLease
- func IDGTE(id string) predicate.StorageReaderLease
- func IDIn(ids ...string) predicate.StorageReaderLease
- func IDLT(id string) predicate.StorageReaderLease
- func IDLTE(id string) predicate.StorageReaderLease
- func IDNEQ(id string) predicate.StorageReaderLease
- func IDNotIn(ids ...string) predicate.StorageReaderLease
- func Not(p predicate.StorageReaderLease) predicate.StorageReaderLease
- func Or(predicates ...predicate.StorageReaderLease) predicate.StorageReaderLease
- func ScopeEQ(v Scope) predicate.StorageReaderLease
- func ScopeIn(vs ...Scope) predicate.StorageReaderLease
- func ScopeNEQ(v Scope) predicate.StorageReaderLease
- func ScopeNotIn(vs ...Scope) predicate.StorageReaderLease
- func ScopeValidator(s Scope) error
- func StorageLocationId(v string) predicate.StorageReaderLease
- func StorageLocationIdContains(v string) predicate.StorageReaderLease
- func StorageLocationIdContainsFold(v string) predicate.StorageReaderLease
- func StorageLocationIdEQ(v string) predicate.StorageReaderLease
- func StorageLocationIdEqualFold(v string) predicate.StorageReaderLease
- func StorageLocationIdGT(v string) predicate.StorageReaderLease
- func StorageLocationIdGTE(v string) predicate.StorageReaderLease
- func StorageLocationIdHasPrefix(v string) predicate.StorageReaderLease
- func StorageLocationIdHasSuffix(v string) predicate.StorageReaderLease
- func StorageLocationIdIn(vs ...string) predicate.StorageReaderLease
- func StorageLocationIdLT(v string) predicate.StorageReaderLease
- func StorageLocationIdLTE(v string) predicate.StorageReaderLease
- func StorageLocationIdNEQ(v string) predicate.StorageReaderLease
- func StorageLocationIdNotIn(vs ...string) predicate.StorageReaderLease
- func ValidColumn(column string) bool
- type OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByScope(opts ...sql.OrderTermOption) OrderOption
- func ByStorageLocationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStorageLocationId(opts ...sql.OrderTermOption) OrderOption
- type Scope
Constants ¶
const ( // Label holds the string label denoting the storagereaderlease type in the database. Label = "storage_reader_lease" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldStorageLocationId holds the string denoting the storagelocationid field in the database. FieldStorageLocationId = "storageLocationId" // FieldScope holds the string denoting the scope field in the database. FieldScope = "scope" // FieldExpiresAt holds the string denoting the expiresat field in the database. FieldExpiresAt = "expiresAt" // EdgeStorageLocation holds the string denoting the storagelocation edge name in mutations. EdgeStorageLocation = "storageLocation" // Table holds the table name of the storagereaderlease in the database. Table = "storage_reader_leases" // StorageLocationTable is the table that holds the storageLocation relation/edge. StorageLocationTable = "storage_reader_leases" // StorageLocationInverseTable is the table name for the StorageLocation entity. // It exists in this package in order to avoid circular dependency with the "storagelocation" package. StorageLocationInverseTable = "storage_locations" // StorageLocationColumn is the table column denoting the storageLocation relation/edge. StorageLocationColumn = "storageLocationId" )
Variables ¶
var Columns = []string{ FieldID, FieldStorageLocationId, FieldScope, FieldExpiresAt, }
Columns holds all SQL columns for storagereaderlease fields.
Functions ¶
func And ¶
func And(predicates ...predicate.StorageReaderLease) predicate.StorageReaderLease
And groups predicates with the AND operator between them.
func ExpiresAt ¶
func ExpiresAt(v int64) predicate.StorageReaderLease
ExpiresAt applies equality check predicate on the "expiresAt" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v int64) predicate.StorageReaderLease
ExpiresAtEQ applies the EQ predicate on the "expiresAt" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v int64) predicate.StorageReaderLease
ExpiresAtGT applies the GT predicate on the "expiresAt" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v int64) predicate.StorageReaderLease
ExpiresAtGTE applies the GTE predicate on the "expiresAt" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...int64) predicate.StorageReaderLease
ExpiresAtIn applies the In predicate on the "expiresAt" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v int64) predicate.StorageReaderLease
ExpiresAtLT applies the LT predicate on the "expiresAt" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v int64) predicate.StorageReaderLease
ExpiresAtLTE applies the LTE predicate on the "expiresAt" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v int64) predicate.StorageReaderLease
ExpiresAtNEQ applies the NEQ predicate on the "expiresAt" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...int64) predicate.StorageReaderLease
ExpiresAtNotIn applies the NotIn predicate on the "expiresAt" field.
func HasStorageLocation ¶
func HasStorageLocation() predicate.StorageReaderLease
HasStorageLocation applies the HasEdge predicate on the "storageLocation" edge.
func HasStorageLocationWith ¶
func HasStorageLocationWith(preds ...predicate.StorageLocation) predicate.StorageReaderLease
HasStorageLocationWith applies the HasEdge predicate on the "storageLocation" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.StorageReaderLease
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.StorageReaderLease
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.StorageReaderLease
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.StorageReaderLease
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.StorageReaderLease
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.StorageReaderLease
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.StorageReaderLease
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.StorageReaderLease
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.StorageReaderLease
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.StorageReaderLease
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.StorageReaderLease
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.StorageReaderLease) predicate.StorageReaderLease
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.StorageReaderLease) predicate.StorageReaderLease
Or groups predicates with the OR operator between them.
func ScopeEQ ¶
func ScopeEQ(v Scope) predicate.StorageReaderLease
ScopeEQ applies the EQ predicate on the "scope" field.
func ScopeIn ¶
func ScopeIn(vs ...Scope) predicate.StorageReaderLease
ScopeIn applies the In predicate on the "scope" field.
func ScopeNEQ ¶
func ScopeNEQ(v Scope) predicate.StorageReaderLease
ScopeNEQ applies the NEQ predicate on the "scope" field.
func ScopeNotIn ¶
func ScopeNotIn(vs ...Scope) predicate.StorageReaderLease
ScopeNotIn applies the NotIn predicate on the "scope" field.
func ScopeValidator ¶
ScopeValidator is a validator for the "scope" field enum values. It is called by the builders before save.
func StorageLocationId ¶
func StorageLocationId(v string) predicate.StorageReaderLease
StorageLocationId applies equality check predicate on the "storageLocationId" field. It's identical to StorageLocationIdEQ.
func StorageLocationIdContains ¶
func StorageLocationIdContains(v string) predicate.StorageReaderLease
StorageLocationIdContains applies the Contains predicate on the "storageLocationId" field.
func StorageLocationIdContainsFold ¶
func StorageLocationIdContainsFold(v string) predicate.StorageReaderLease
StorageLocationIdContainsFold applies the ContainsFold predicate on the "storageLocationId" field.
func StorageLocationIdEQ ¶
func StorageLocationIdEQ(v string) predicate.StorageReaderLease
StorageLocationIdEQ applies the EQ predicate on the "storageLocationId" field.
func StorageLocationIdEqualFold ¶
func StorageLocationIdEqualFold(v string) predicate.StorageReaderLease
StorageLocationIdEqualFold applies the EqualFold predicate on the "storageLocationId" field.
func StorageLocationIdGT ¶
func StorageLocationIdGT(v string) predicate.StorageReaderLease
StorageLocationIdGT applies the GT predicate on the "storageLocationId" field.
func StorageLocationIdGTE ¶
func StorageLocationIdGTE(v string) predicate.StorageReaderLease
StorageLocationIdGTE applies the GTE predicate on the "storageLocationId" field.
func StorageLocationIdHasPrefix ¶
func StorageLocationIdHasPrefix(v string) predicate.StorageReaderLease
StorageLocationIdHasPrefix applies the HasPrefix predicate on the "storageLocationId" field.
func StorageLocationIdHasSuffix ¶
func StorageLocationIdHasSuffix(v string) predicate.StorageReaderLease
StorageLocationIdHasSuffix applies the HasSuffix predicate on the "storageLocationId" field.
func StorageLocationIdIn ¶
func StorageLocationIdIn(vs ...string) predicate.StorageReaderLease
StorageLocationIdIn applies the In predicate on the "storageLocationId" field.
func StorageLocationIdLT ¶
func StorageLocationIdLT(v string) predicate.StorageReaderLease
StorageLocationIdLT applies the LT predicate on the "storageLocationId" field.
func StorageLocationIdLTE ¶
func StorageLocationIdLTE(v string) predicate.StorageReaderLease
StorageLocationIdLTE applies the LTE predicate on the "storageLocationId" field.
func StorageLocationIdNEQ ¶
func StorageLocationIdNEQ(v string) predicate.StorageReaderLease
StorageLocationIdNEQ applies the NEQ predicate on the "storageLocationId" field.
func StorageLocationIdNotIn ¶
func StorageLocationIdNotIn(vs ...string) predicate.StorageReaderLease
StorageLocationIdNotIn applies the NotIn predicate on the "storageLocationId" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the StorageReaderLease queries.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expiresAt field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByScope ¶
func ByScope(opts ...sql.OrderTermOption) OrderOption
ByScope orders the results by the scope field.
func ByStorageLocationField ¶
func ByStorageLocationField(field string, opts ...sql.OrderTermOption) OrderOption
ByStorageLocationField orders the results by storageLocation field.
func ByStorageLocationId ¶
func ByStorageLocationId(opts ...sql.OrderTermOption) OrderOption
ByStorageLocationId orders the results by the storageLocationId field.