Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FileDownloadToken) predicate.FileDownloadToken
- func CreatedAt(v time.Time) predicate.FileDownloadToken
- func CreatedAtEQ(v time.Time) predicate.FileDownloadToken
- func CreatedAtGT(v time.Time) predicate.FileDownloadToken
- func CreatedAtGTE(v time.Time) predicate.FileDownloadToken
- func CreatedAtIn(vs ...time.Time) predicate.FileDownloadToken
- func CreatedAtIsNil() predicate.FileDownloadToken
- func CreatedAtLT(v time.Time) predicate.FileDownloadToken
- func CreatedAtLTE(v time.Time) predicate.FileDownloadToken
- func CreatedAtNEQ(v time.Time) predicate.FileDownloadToken
- func CreatedAtNotIn(vs ...time.Time) predicate.FileDownloadToken
- func CreatedAtNotNil() predicate.FileDownloadToken
- func CreatedBy(v string) predicate.FileDownloadToken
- func CreatedByContains(v string) predicate.FileDownloadToken
- func CreatedByContainsFold(v string) predicate.FileDownloadToken
- func CreatedByEQ(v string) predicate.FileDownloadToken
- func CreatedByEqualFold(v string) predicate.FileDownloadToken
- func CreatedByGT(v string) predicate.FileDownloadToken
- func CreatedByGTE(v string) predicate.FileDownloadToken
- func CreatedByHasPrefix(v string) predicate.FileDownloadToken
- func CreatedByHasSuffix(v string) predicate.FileDownloadToken
- func CreatedByIn(vs ...string) predicate.FileDownloadToken
- func CreatedByIsNil() predicate.FileDownloadToken
- func CreatedByLT(v string) predicate.FileDownloadToken
- func CreatedByLTE(v string) predicate.FileDownloadToken
- func CreatedByNEQ(v string) predicate.FileDownloadToken
- func CreatedByNotIn(vs ...string) predicate.FileDownloadToken
- func CreatedByNotNil() predicate.FileDownloadToken
- func DeletedAt(v time.Time) predicate.FileDownloadToken
- func DeletedAtEQ(v time.Time) predicate.FileDownloadToken
- func DeletedAtGT(v time.Time) predicate.FileDownloadToken
- func DeletedAtGTE(v time.Time) predicate.FileDownloadToken
- func DeletedAtIn(vs ...time.Time) predicate.FileDownloadToken
- func DeletedAtIsNil() predicate.FileDownloadToken
- func DeletedAtLT(v time.Time) predicate.FileDownloadToken
- func DeletedAtLTE(v time.Time) predicate.FileDownloadToken
- func DeletedAtNEQ(v time.Time) predicate.FileDownloadToken
- func DeletedAtNotIn(vs ...time.Time) predicate.FileDownloadToken
- func DeletedAtNotNil() predicate.FileDownloadToken
- func DeletedBy(v string) predicate.FileDownloadToken
- func DeletedByContains(v string) predicate.FileDownloadToken
- func DeletedByContainsFold(v string) predicate.FileDownloadToken
- func DeletedByEQ(v string) predicate.FileDownloadToken
- func DeletedByEqualFold(v string) predicate.FileDownloadToken
- func DeletedByGT(v string) predicate.FileDownloadToken
- func DeletedByGTE(v string) predicate.FileDownloadToken
- func DeletedByHasPrefix(v string) predicate.FileDownloadToken
- func DeletedByHasSuffix(v string) predicate.FileDownloadToken
- func DeletedByIn(vs ...string) predicate.FileDownloadToken
- func DeletedByIsNil() predicate.FileDownloadToken
- func DeletedByLT(v string) predicate.FileDownloadToken
- func DeletedByLTE(v string) predicate.FileDownloadToken
- func DeletedByNEQ(v string) predicate.FileDownloadToken
- func DeletedByNotIn(vs ...string) predicate.FileDownloadToken
- func DeletedByNotNil() predicate.FileDownloadToken
- func FileID(v string) predicate.FileDownloadToken
- func FileIDContains(v string) predicate.FileDownloadToken
- func FileIDContainsFold(v string) predicate.FileDownloadToken
- func FileIDEQ(v string) predicate.FileDownloadToken
- func FileIDEqualFold(v string) predicate.FileDownloadToken
- func FileIDGT(v string) predicate.FileDownloadToken
- func FileIDGTE(v string) predicate.FileDownloadToken
- func FileIDHasPrefix(v string) predicate.FileDownloadToken
- func FileIDHasSuffix(v string) predicate.FileDownloadToken
- func FileIDIn(vs ...string) predicate.FileDownloadToken
- func FileIDIsNil() predicate.FileDownloadToken
- func FileIDLT(v string) predicate.FileDownloadToken
- func FileIDLTE(v string) predicate.FileDownloadToken
- func FileIDNEQ(v string) predicate.FileDownloadToken
- func FileIDNotIn(vs ...string) predicate.FileDownloadToken
- func FileIDNotNil() predicate.FileDownloadToken
- func HasOwner() predicate.FileDownloadToken
- func HasOwnerWith(preds ...predicate.User) predicate.FileDownloadToken
- func ID(id string) predicate.FileDownloadToken
- func IDContainsFold(id string) predicate.FileDownloadToken
- func IDEQ(id string) predicate.FileDownloadToken
- func IDEqualFold(id string) predicate.FileDownloadToken
- func IDGT(id string) predicate.FileDownloadToken
- func IDGTE(id string) predicate.FileDownloadToken
- func IDIn(ids ...string) predicate.FileDownloadToken
- func IDLT(id string) predicate.FileDownloadToken
- func IDLTE(id string) predicate.FileDownloadToken
- func IDNEQ(id string) predicate.FileDownloadToken
- func IDNotIn(ids ...string) predicate.FileDownloadToken
- func Not(p predicate.FileDownloadToken) predicate.FileDownloadToken
- func Or(predicates ...predicate.FileDownloadToken) predicate.FileDownloadToken
- func OrganizationID(v string) predicate.FileDownloadToken
- func OrganizationIDContains(v string) predicate.FileDownloadToken
- func OrganizationIDContainsFold(v string) predicate.FileDownloadToken
- func OrganizationIDEQ(v string) predicate.FileDownloadToken
- func OrganizationIDEqualFold(v string) predicate.FileDownloadToken
- func OrganizationIDGT(v string) predicate.FileDownloadToken
- func OrganizationIDGTE(v string) predicate.FileDownloadToken
- func OrganizationIDHasPrefix(v string) predicate.FileDownloadToken
- func OrganizationIDHasSuffix(v string) predicate.FileDownloadToken
- func OrganizationIDIn(vs ...string) predicate.FileDownloadToken
- func OrganizationIDIsNil() predicate.FileDownloadToken
- func OrganizationIDLT(v string) predicate.FileDownloadToken
- func OrganizationIDLTE(v string) predicate.FileDownloadToken
- func OrganizationIDNEQ(v string) predicate.FileDownloadToken
- func OrganizationIDNotIn(vs ...string) predicate.FileDownloadToken
- func OrganizationIDNotNil() predicate.FileDownloadToken
- func OwnerID(v string) predicate.FileDownloadToken
- func OwnerIDContains(v string) predicate.FileDownloadToken
- func OwnerIDContainsFold(v string) predicate.FileDownloadToken
- func OwnerIDEQ(v string) predicate.FileDownloadToken
- func OwnerIDEqualFold(v string) predicate.FileDownloadToken
- func OwnerIDGT(v string) predicate.FileDownloadToken
- func OwnerIDGTE(v string) predicate.FileDownloadToken
- func OwnerIDHasPrefix(v string) predicate.FileDownloadToken
- func OwnerIDHasSuffix(v string) predicate.FileDownloadToken
- func OwnerIDIn(vs ...string) predicate.FileDownloadToken
- func OwnerIDLT(v string) predicate.FileDownloadToken
- func OwnerIDLTE(v string) predicate.FileDownloadToken
- func OwnerIDNEQ(v string) predicate.FileDownloadToken
- func OwnerIDNotIn(vs ...string) predicate.FileDownloadToken
- func Secret(v []byte) predicate.FileDownloadToken
- func SecretEQ(v []byte) predicate.FileDownloadToken
- func SecretGT(v []byte) predicate.FileDownloadToken
- func SecretGTE(v []byte) predicate.FileDownloadToken
- func SecretIn(vs ...[]byte) predicate.FileDownloadToken
- func SecretIsNil() predicate.FileDownloadToken
- func SecretLT(v []byte) predicate.FileDownloadToken
- func SecretLTE(v []byte) predicate.FileDownloadToken
- func SecretNEQ(v []byte) predicate.FileDownloadToken
- func SecretNotIn(vs ...[]byte) predicate.FileDownloadToken
- func SecretNotNil() predicate.FileDownloadToken
- func TTL(v time.Time) predicate.FileDownloadToken
- func TTLEQ(v time.Time) predicate.FileDownloadToken
- func TTLGT(v time.Time) predicate.FileDownloadToken
- func TTLGTE(v time.Time) predicate.FileDownloadToken
- func TTLIn(vs ...time.Time) predicate.FileDownloadToken
- func TTLIsNil() predicate.FileDownloadToken
- func TTLLT(v time.Time) predicate.FileDownloadToken
- func TTLLTE(v time.Time) predicate.FileDownloadToken
- func TTLNEQ(v time.Time) predicate.FileDownloadToken
- func TTLNotIn(vs ...time.Time) predicate.FileDownloadToken
- func TTLNotNil() predicate.FileDownloadToken
- func Token(v string) predicate.FileDownloadToken
- func TokenContains(v string) predicate.FileDownloadToken
- func TokenContainsFold(v string) predicate.FileDownloadToken
- func TokenEQ(v string) predicate.FileDownloadToken
- func TokenEqualFold(v string) predicate.FileDownloadToken
- func TokenGT(v string) predicate.FileDownloadToken
- func TokenGTE(v string) predicate.FileDownloadToken
- func TokenHasPrefix(v string) predicate.FileDownloadToken
- func TokenHasSuffix(v string) predicate.FileDownloadToken
- func TokenIn(vs ...string) predicate.FileDownloadToken
- func TokenIsNil() predicate.FileDownloadToken
- func TokenLT(v string) predicate.FileDownloadToken
- func TokenLTE(v string) predicate.FileDownloadToken
- func TokenNEQ(v string) predicate.FileDownloadToken
- func TokenNotIn(vs ...string) predicate.FileDownloadToken
- func TokenNotNil() predicate.FileDownloadToken
- func UpdatedAt(v time.Time) predicate.FileDownloadToken
- func UpdatedAtEQ(v time.Time) predicate.FileDownloadToken
- func UpdatedAtGT(v time.Time) predicate.FileDownloadToken
- func UpdatedAtGTE(v time.Time) predicate.FileDownloadToken
- func UpdatedAtIn(vs ...time.Time) predicate.FileDownloadToken
- func UpdatedAtIsNil() predicate.FileDownloadToken
- func UpdatedAtLT(v time.Time) predicate.FileDownloadToken
- func UpdatedAtLTE(v time.Time) predicate.FileDownloadToken
- func UpdatedAtNEQ(v time.Time) predicate.FileDownloadToken
- func UpdatedAtNotIn(vs ...time.Time) predicate.FileDownloadToken
- func UpdatedAtNotNil() predicate.FileDownloadToken
- func UpdatedBy(v string) predicate.FileDownloadToken
- func UpdatedByContains(v string) predicate.FileDownloadToken
- func UpdatedByContainsFold(v string) predicate.FileDownloadToken
- func UpdatedByEQ(v string) predicate.FileDownloadToken
- func UpdatedByEqualFold(v string) predicate.FileDownloadToken
- func UpdatedByGT(v string) predicate.FileDownloadToken
- func UpdatedByGTE(v string) predicate.FileDownloadToken
- func UpdatedByHasPrefix(v string) predicate.FileDownloadToken
- func UpdatedByHasSuffix(v string) predicate.FileDownloadToken
- func UpdatedByIn(vs ...string) predicate.FileDownloadToken
- func UpdatedByIsNil() predicate.FileDownloadToken
- func UpdatedByLT(v string) predicate.FileDownloadToken
- func UpdatedByLTE(v string) predicate.FileDownloadToken
- func UpdatedByNEQ(v string) predicate.FileDownloadToken
- func UpdatedByNotIn(vs ...string) predicate.FileDownloadToken
- func UpdatedByNotNil() predicate.FileDownloadToken
- func UserID(v string) predicate.FileDownloadToken
- func UserIDContains(v string) predicate.FileDownloadToken
- func UserIDContainsFold(v string) predicate.FileDownloadToken
- func UserIDEQ(v string) predicate.FileDownloadToken
- func UserIDEqualFold(v string) predicate.FileDownloadToken
- func UserIDGT(v string) predicate.FileDownloadToken
- func UserIDGTE(v string) predicate.FileDownloadToken
- func UserIDHasPrefix(v string) predicate.FileDownloadToken
- func UserIDHasSuffix(v string) predicate.FileDownloadToken
- func UserIDIn(vs ...string) predicate.FileDownloadToken
- func UserIDIsNil() predicate.FileDownloadToken
- func UserIDLT(v string) predicate.FileDownloadToken
- func UserIDLTE(v string) predicate.FileDownloadToken
- func UserIDNEQ(v string) predicate.FileDownloadToken
- func UserIDNotIn(vs ...string) predicate.FileDownloadToken
- func UserIDNotNil() predicate.FileDownloadToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByFileID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByTTL(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the filedownloadtoken type in the database. Label = "file_download_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldTTL holds the string denoting the ttl field in the database. FieldTTL = "ttl" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldFileID holds the string denoting the file_id field in the database. FieldFileID = "file_id" // FieldSecret holds the string denoting the secret field in the database. FieldSecret = "secret" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the filedownloadtoken in the database. Table = "file_download_tokens" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "file_download_tokens" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" )
Variables ¶
var ( Hooks [5]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldOwnerID, FieldToken, FieldTTL, FieldUserID, FieldOrganizationID, FieldFileID, FieldSecret, }
Columns holds all SQL columns for filedownloadtoken fields.
Functions ¶
func And ¶
func And(predicates ...predicate.FileDownloadToken) predicate.FileDownloadToken
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.FileDownloadToken
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.FileDownloadToken
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.FileDownloadToken
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.FileDownloadToken
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.FileDownloadToken
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.FileDownloadToken
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.FileDownloadToken
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.FileDownloadToken
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.FileDownloadToken
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.FileDownloadToken
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.FileDownloadToken
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.FileDownloadToken
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.FileDownloadToken
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.FileDownloadToken
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.FileDownloadToken
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.FileDownloadToken
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.FileDownloadToken
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.FileDownloadToken
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.FileDownloadToken
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.FileDownloadToken
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.FileDownloadToken
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.FileDownloadToken
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.FileDownloadToken
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.FileDownloadToken
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.FileDownloadToken
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.FileDownloadToken
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.FileDownloadToken
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.FileDownloadToken
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.FileDownloadToken
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.FileDownloadToken
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.FileDownloadToken
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.FileDownloadToken
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.FileDownloadToken
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.FileDownloadToken
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.FileDownloadToken
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.FileDownloadToken
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.FileDownloadToken
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.FileDownloadToken
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.FileDownloadToken
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.FileDownloadToken
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.FileDownloadToken
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.FileDownloadToken
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.FileDownloadToken
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.FileDownloadToken
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.FileDownloadToken
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.FileDownloadToken
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.FileDownloadToken
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.FileDownloadToken
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.FileDownloadToken
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.FileDownloadToken
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.FileDownloadToken
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.FileDownloadToken
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.FileDownloadToken
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.FileDownloadToken
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func FileID ¶
func FileID(v string) predicate.FileDownloadToken
FileID applies equality check predicate on the "file_id" field. It's identical to FileIDEQ.
func FileIDContains ¶
func FileIDContains(v string) predicate.FileDownloadToken
FileIDContains applies the Contains predicate on the "file_id" field.
func FileIDContainsFold ¶
func FileIDContainsFold(v string) predicate.FileDownloadToken
FileIDContainsFold applies the ContainsFold predicate on the "file_id" field.
func FileIDEQ ¶
func FileIDEQ(v string) predicate.FileDownloadToken
FileIDEQ applies the EQ predicate on the "file_id" field.
func FileIDEqualFold ¶
func FileIDEqualFold(v string) predicate.FileDownloadToken
FileIDEqualFold applies the EqualFold predicate on the "file_id" field.
func FileIDGT ¶
func FileIDGT(v string) predicate.FileDownloadToken
FileIDGT applies the GT predicate on the "file_id" field.
func FileIDGTE ¶
func FileIDGTE(v string) predicate.FileDownloadToken
FileIDGTE applies the GTE predicate on the "file_id" field.
func FileIDHasPrefix ¶
func FileIDHasPrefix(v string) predicate.FileDownloadToken
FileIDHasPrefix applies the HasPrefix predicate on the "file_id" field.
func FileIDHasSuffix ¶
func FileIDHasSuffix(v string) predicate.FileDownloadToken
FileIDHasSuffix applies the HasSuffix predicate on the "file_id" field.
func FileIDIn ¶
func FileIDIn(vs ...string) predicate.FileDownloadToken
FileIDIn applies the In predicate on the "file_id" field.
func FileIDIsNil ¶
func FileIDIsNil() predicate.FileDownloadToken
FileIDIsNil applies the IsNil predicate on the "file_id" field.
func FileIDLT ¶
func FileIDLT(v string) predicate.FileDownloadToken
FileIDLT applies the LT predicate on the "file_id" field.
func FileIDLTE ¶
func FileIDLTE(v string) predicate.FileDownloadToken
FileIDLTE applies the LTE predicate on the "file_id" field.
func FileIDNEQ ¶
func FileIDNEQ(v string) predicate.FileDownloadToken
FileIDNEQ applies the NEQ predicate on the "file_id" field.
func FileIDNotIn ¶
func FileIDNotIn(vs ...string) predicate.FileDownloadToken
FileIDNotIn applies the NotIn predicate on the "file_id" field.
func FileIDNotNil ¶
func FileIDNotNil() predicate.FileDownloadToken
FileIDNotNil applies the NotNil predicate on the "file_id" field.
func HasOwner ¶
func HasOwner() predicate.FileDownloadToken
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.FileDownloadToken
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.FileDownloadToken
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.FileDownloadToken
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.FileDownloadToken
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.FileDownloadToken
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.FileDownloadToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.FileDownloadToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.FileDownloadToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.FileDownloadToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.FileDownloadToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.FileDownloadToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.FileDownloadToken
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.FileDownloadToken) predicate.FileDownloadToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.FileDownloadToken) predicate.FileDownloadToken
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v string) predicate.FileDownloadToken
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDContains ¶
func OrganizationIDContains(v string) predicate.FileDownloadToken
OrganizationIDContains applies the Contains predicate on the "organization_id" field.
func OrganizationIDContainsFold ¶
func OrganizationIDContainsFold(v string) predicate.FileDownloadToken
OrganizationIDContainsFold applies the ContainsFold predicate on the "organization_id" field.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v string) predicate.FileDownloadToken
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDEqualFold ¶
func OrganizationIDEqualFold(v string) predicate.FileDownloadToken
OrganizationIDEqualFold applies the EqualFold predicate on the "organization_id" field.
func OrganizationIDGT ¶
func OrganizationIDGT(v string) predicate.FileDownloadToken
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
func OrganizationIDGTE(v string) predicate.FileDownloadToken
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDHasPrefix ¶
func OrganizationIDHasPrefix(v string) predicate.FileDownloadToken
OrganizationIDHasPrefix applies the HasPrefix predicate on the "organization_id" field.
func OrganizationIDHasSuffix ¶
func OrganizationIDHasSuffix(v string) predicate.FileDownloadToken
OrganizationIDHasSuffix applies the HasSuffix predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...string) predicate.FileDownloadToken
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDIsNil ¶
func OrganizationIDIsNil() predicate.FileDownloadToken
OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
func OrganizationIDLT ¶
func OrganizationIDLT(v string) predicate.FileDownloadToken
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
func OrganizationIDLTE(v string) predicate.FileDownloadToken
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v string) predicate.FileDownloadToken
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...string) predicate.FileDownloadToken
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func OrganizationIDNotNil ¶
func OrganizationIDNotNil() predicate.FileDownloadToken
OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
func OwnerID ¶
func OwnerID(v string) predicate.FileDownloadToken
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.FileDownloadToken
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.FileDownloadToken
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.FileDownloadToken
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.FileDownloadToken
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.FileDownloadToken
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.FileDownloadToken
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.FileDownloadToken
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.FileDownloadToken
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.FileDownloadToken
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.FileDownloadToken
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.FileDownloadToken
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.FileDownloadToken
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.FileDownloadToken
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func Secret ¶
func Secret(v []byte) predicate.FileDownloadToken
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretEQ ¶
func SecretEQ(v []byte) predicate.FileDownloadToken
SecretEQ applies the EQ predicate on the "secret" field.
func SecretGT ¶
func SecretGT(v []byte) predicate.FileDownloadToken
SecretGT applies the GT predicate on the "secret" field.
func SecretGTE ¶
func SecretGTE(v []byte) predicate.FileDownloadToken
SecretGTE applies the GTE predicate on the "secret" field.
func SecretIn ¶
func SecretIn(vs ...[]byte) predicate.FileDownloadToken
SecretIn applies the In predicate on the "secret" field.
func SecretIsNil ¶
func SecretIsNil() predicate.FileDownloadToken
SecretIsNil applies the IsNil predicate on the "secret" field.
func SecretLT ¶
func SecretLT(v []byte) predicate.FileDownloadToken
SecretLT applies the LT predicate on the "secret" field.
func SecretLTE ¶
func SecretLTE(v []byte) predicate.FileDownloadToken
SecretLTE applies the LTE predicate on the "secret" field.
func SecretNEQ ¶
func SecretNEQ(v []byte) predicate.FileDownloadToken
SecretNEQ applies the NEQ predicate on the "secret" field.
func SecretNotIn ¶
func SecretNotIn(vs ...[]byte) predicate.FileDownloadToken
SecretNotIn applies the NotIn predicate on the "secret" field.
func SecretNotNil ¶
func SecretNotNil() predicate.FileDownloadToken
SecretNotNil applies the NotNil predicate on the "secret" field.
func TTL ¶
func TTL(v time.Time) predicate.FileDownloadToken
TTL applies equality check predicate on the "ttl" field. It's identical to TTLEQ.
func TTLEQ ¶
func TTLEQ(v time.Time) predicate.FileDownloadToken
TTLEQ applies the EQ predicate on the "ttl" field.
func TTLGT ¶
func TTLGT(v time.Time) predicate.FileDownloadToken
TTLGT applies the GT predicate on the "ttl" field.
func TTLGTE ¶
func TTLGTE(v time.Time) predicate.FileDownloadToken
TTLGTE applies the GTE predicate on the "ttl" field.
func TTLIn ¶
func TTLIn(vs ...time.Time) predicate.FileDownloadToken
TTLIn applies the In predicate on the "ttl" field.
func TTLIsNil ¶
func TTLIsNil() predicate.FileDownloadToken
TTLIsNil applies the IsNil predicate on the "ttl" field.
func TTLLT ¶
func TTLLT(v time.Time) predicate.FileDownloadToken
TTLLT applies the LT predicate on the "ttl" field.
func TTLLTE ¶
func TTLLTE(v time.Time) predicate.FileDownloadToken
TTLLTE applies the LTE predicate on the "ttl" field.
func TTLNEQ ¶
func TTLNEQ(v time.Time) predicate.FileDownloadToken
TTLNEQ applies the NEQ predicate on the "ttl" field.
func TTLNotIn ¶
func TTLNotIn(vs ...time.Time) predicate.FileDownloadToken
TTLNotIn applies the NotIn predicate on the "ttl" field.
func TTLNotNil ¶
func TTLNotNil() predicate.FileDownloadToken
TTLNotNil applies the NotNil predicate on the "ttl" field.
func Token ¶
func Token(v string) predicate.FileDownloadToken
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
func TokenContains(v string) predicate.FileDownloadToken
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
func TokenContainsFold(v string) predicate.FileDownloadToken
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEQ ¶
func TokenEQ(v string) predicate.FileDownloadToken
TokenEQ applies the EQ predicate on the "token" field.
func TokenEqualFold ¶
func TokenEqualFold(v string) predicate.FileDownloadToken
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenGT ¶
func TokenGT(v string) predicate.FileDownloadToken
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v string) predicate.FileDownloadToken
TokenGTE applies the GTE predicate on the "token" field.
func TokenHasPrefix ¶
func TokenHasPrefix(v string) predicate.FileDownloadToken
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
func TokenHasSuffix(v string) predicate.FileDownloadToken
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...string) predicate.FileDownloadToken
TokenIn applies the In predicate on the "token" field.
func TokenIsNil ¶
func TokenIsNil() predicate.FileDownloadToken
TokenIsNil applies the IsNil predicate on the "token" field.
func TokenLT ¶
func TokenLT(v string) predicate.FileDownloadToken
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v string) predicate.FileDownloadToken
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v string) predicate.FileDownloadToken
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...string) predicate.FileDownloadToken
TokenNotIn applies the NotIn predicate on the "token" field.
func TokenNotNil ¶
func TokenNotNil() predicate.FileDownloadToken
TokenNotNil applies the NotNil predicate on the "token" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.FileDownloadToken
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.FileDownloadToken
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.FileDownloadToken
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.FileDownloadToken
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.FileDownloadToken
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.FileDownloadToken
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.FileDownloadToken
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.FileDownloadToken
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.FileDownloadToken
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.FileDownloadToken
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.FileDownloadToken
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.FileDownloadToken
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.FileDownloadToken
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.FileDownloadToken
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.FileDownloadToken
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.FileDownloadToken
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.FileDownloadToken
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.FileDownloadToken
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.FileDownloadToken
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.FileDownloadToken
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.FileDownloadToken
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.FileDownloadToken
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.FileDownloadToken
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.FileDownloadToken
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.FileDownloadToken
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.FileDownloadToken
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.FileDownloadToken
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v string) predicate.FileDownloadToken
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.FileDownloadToken
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.FileDownloadToken
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.FileDownloadToken
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.FileDownloadToken
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.FileDownloadToken
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.FileDownloadToken
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.FileDownloadToken
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.FileDownloadToken
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.FileDownloadToken
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.FileDownloadToken
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.FileDownloadToken
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.FileDownloadToken
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.FileDownloadToken
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.FileDownloadToken
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.FileDownloadToken
UserIDNotNil applies the NotNil predicate on the "user_id" 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 FileDownloadToken queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByFileID ¶
func ByFileID(opts ...sql.OrderTermOption) OrderOption
ByFileID orders the results by the file_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByTTL ¶
func ByTTL(opts ...sql.OrderTermOption) OrderOption
ByTTL orders the results by the ttl field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.