Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ShareLink) predicate.ShareLink
- func CodeAttempts(v int) predicate.ShareLink
- func CodeAttemptsEQ(v int) predicate.ShareLink
- func CodeAttemptsGT(v int) predicate.ShareLink
- func CodeAttemptsGTE(v int) predicate.ShareLink
- func CodeAttemptsIn(vs ...int) predicate.ShareLink
- func CodeAttemptsLT(v int) predicate.ShareLink
- func CodeAttemptsLTE(v int) predicate.ShareLink
- func CodeAttemptsNEQ(v int) predicate.ShareLink
- func CodeAttemptsNotIn(vs ...int) predicate.ShareLink
- func CodeExpiresAt(v time.Time) predicate.ShareLink
- func CodeExpiresAtEQ(v time.Time) predicate.ShareLink
- func CodeExpiresAtGT(v time.Time) predicate.ShareLink
- func CodeExpiresAtGTE(v time.Time) predicate.ShareLink
- func CodeExpiresAtIn(vs ...time.Time) predicate.ShareLink
- func CodeExpiresAtIsNil() predicate.ShareLink
- func CodeExpiresAtLT(v time.Time) predicate.ShareLink
- func CodeExpiresAtLTE(v time.Time) predicate.ShareLink
- func CodeExpiresAtNEQ(v time.Time) predicate.ShareLink
- func CodeExpiresAtNotIn(vs ...time.Time) predicate.ShareLink
- func CodeExpiresAtNotNil() predicate.ShareLink
- func CodeHash(v []byte) predicate.ShareLink
- func CodeHashEQ(v []byte) predicate.ShareLink
- func CodeHashGT(v []byte) predicate.ShareLink
- func CodeHashGTE(v []byte) predicate.ShareLink
- func CodeHashIn(vs ...[]byte) predicate.ShareLink
- func CodeHashIsNil() predicate.ShareLink
- func CodeHashLT(v []byte) predicate.ShareLink
- func CodeHashLTE(v []byte) predicate.ShareLink
- func CodeHashNEQ(v []byte) predicate.ShareLink
- func CodeHashNotIn(vs ...[]byte) predicate.ShareLink
- func CodeHashNotNil() predicate.ShareLink
- func CreatedAt(v time.Time) predicate.ShareLink
- func CreatedAtEQ(v time.Time) predicate.ShareLink
- func CreatedAtGT(v time.Time) predicate.ShareLink
- func CreatedAtGTE(v time.Time) predicate.ShareLink
- func CreatedAtIn(vs ...time.Time) predicate.ShareLink
- func CreatedAtIsNil() predicate.ShareLink
- func CreatedAtLT(v time.Time) predicate.ShareLink
- func CreatedAtLTE(v time.Time) predicate.ShareLink
- func CreatedAtNEQ(v time.Time) predicate.ShareLink
- func CreatedAtNotIn(vs ...time.Time) predicate.ShareLink
- func CreatedAtNotNil() predicate.ShareLink
- func CreatedBy(v string) predicate.ShareLink
- func CreatedByContains(v string) predicate.ShareLink
- func CreatedByContainsFold(v string) predicate.ShareLink
- func CreatedByEQ(v string) predicate.ShareLink
- func CreatedByEqualFold(v string) predicate.ShareLink
- func CreatedByGT(v string) predicate.ShareLink
- func CreatedByGTE(v string) predicate.ShareLink
- func CreatedByHasPrefix(v string) predicate.ShareLink
- func CreatedByHasSuffix(v string) predicate.ShareLink
- func CreatedByIn(vs ...string) predicate.ShareLink
- func CreatedByIsNil() predicate.ShareLink
- func CreatedByLT(v string) predicate.ShareLink
- func CreatedByLTE(v string) predicate.ShareLink
- func CreatedByNEQ(v string) predicate.ShareLink
- func CreatedByNotIn(vs ...string) predicate.ShareLink
- func CreatedByNotNil() predicate.ShareLink
- func DeletedAt(v time.Time) predicate.ShareLink
- func DeletedAtEQ(v time.Time) predicate.ShareLink
- func DeletedAtGT(v time.Time) predicate.ShareLink
- func DeletedAtGTE(v time.Time) predicate.ShareLink
- func DeletedAtIn(vs ...time.Time) predicate.ShareLink
- func DeletedAtIsNil() predicate.ShareLink
- func DeletedAtLT(v time.Time) predicate.ShareLink
- func DeletedAtLTE(v time.Time) predicate.ShareLink
- func DeletedAtNEQ(v time.Time) predicate.ShareLink
- func DeletedAtNotIn(vs ...time.Time) predicate.ShareLink
- func DeletedAtNotNil() predicate.ShareLink
- func DeletedBy(v string) predicate.ShareLink
- func DeletedByContains(v string) predicate.ShareLink
- func DeletedByContainsFold(v string) predicate.ShareLink
- func DeletedByEQ(v string) predicate.ShareLink
- func DeletedByEqualFold(v string) predicate.ShareLink
- func DeletedByGT(v string) predicate.ShareLink
- func DeletedByGTE(v string) predicate.ShareLink
- func DeletedByHasPrefix(v string) predicate.ShareLink
- func DeletedByHasSuffix(v string) predicate.ShareLink
- func DeletedByIn(vs ...string) predicate.ShareLink
- func DeletedByIsNil() predicate.ShareLink
- func DeletedByLT(v string) predicate.ShareLink
- func DeletedByLTE(v string) predicate.ShareLink
- func DeletedByNEQ(v string) predicate.ShareLink
- func DeletedByNotIn(vs ...string) predicate.ShareLink
- func DeletedByNotNil() predicate.ShareLink
- func ExpiresAt(v time.Time) predicate.ShareLink
- func ExpiresAtEQ(v time.Time) predicate.ShareLink
- func ExpiresAtGT(v time.Time) predicate.ShareLink
- func ExpiresAtGTE(v time.Time) predicate.ShareLink
- func ExpiresAtIn(vs ...time.Time) predicate.ShareLink
- func ExpiresAtIsNil() predicate.ShareLink
- func ExpiresAtLT(v time.Time) predicate.ShareLink
- func ExpiresAtLTE(v time.Time) predicate.ShareLink
- func ExpiresAtNEQ(v time.Time) predicate.ShareLink
- func ExpiresAtNotIn(vs ...time.Time) predicate.ShareLink
- func ExpiresAtNotNil() predicate.ShareLink
- func HasFiles() predicate.ShareLink
- func HasFilesWith(preds ...predicate.File) predicate.ShareLink
- func HasOwner() predicate.ShareLink
- func HasOwnerWith(preds ...predicate.Organization) predicate.ShareLink
- func HasShareLinkAccessEvents() predicate.ShareLink
- func HasShareLinkAccessEventsWith(preds ...predicate.ShareLinkAccessEvent) predicate.ShareLink
- func ID(id string) predicate.ShareLink
- func IDContainsFold(id string) predicate.ShareLink
- func IDEQ(id string) predicate.ShareLink
- func IDEqualFold(id string) predicate.ShareLink
- func IDGT(id string) predicate.ShareLink
- func IDGTE(id string) predicate.ShareLink
- func IDIn(ids ...string) predicate.ShareLink
- func IDLT(id string) predicate.ShareLink
- func IDLTE(id string) predicate.ShareLink
- func IDNEQ(id string) predicate.ShareLink
- func IDNotIn(ids ...string) predicate.ShareLink
- func LandingPage(v bool) predicate.ShareLink
- func LandingPageEQ(v bool) predicate.ShareLink
- func LandingPageIsNil() predicate.ShareLink
- func LandingPageNEQ(v bool) predicate.ShareLink
- func LandingPageNotNil() predicate.ShareLink
- func MaxUses(v int) predicate.ShareLink
- func MaxUsesEQ(v int) predicate.ShareLink
- func MaxUsesGT(v int) predicate.ShareLink
- func MaxUsesGTE(v int) predicate.ShareLink
- func MaxUsesIn(vs ...int) predicate.ShareLink
- func MaxUsesIsNil() predicate.ShareLink
- func MaxUsesLT(v int) predicate.ShareLink
- func MaxUsesLTE(v int) predicate.ShareLink
- func MaxUsesNEQ(v int) predicate.ShareLink
- func MaxUsesNotIn(vs ...int) predicate.ShareLink
- func MaxUsesNotNil() predicate.ShareLink
- func Name(v string) predicate.ShareLink
- func NameContains(v string) predicate.ShareLink
- func NameContainsFold(v string) predicate.ShareLink
- func NameEQ(v string) predicate.ShareLink
- func NameEqualFold(v string) predicate.ShareLink
- func NameGT(v string) predicate.ShareLink
- func NameGTE(v string) predicate.ShareLink
- func NameHasPrefix(v string) predicate.ShareLink
- func NameHasSuffix(v string) predicate.ShareLink
- func NameIn(vs ...string) predicate.ShareLink
- func NameIsNil() predicate.ShareLink
- func NameLT(v string) predicate.ShareLink
- func NameLTE(v string) predicate.ShareLink
- func NameNEQ(v string) predicate.ShareLink
- func NameNotIn(vs ...string) predicate.ShareLink
- func NameNotNil() predicate.ShareLink
- func Not(p predicate.ShareLink) predicate.ShareLink
- func Or(predicates ...predicate.ShareLink) predicate.ShareLink
- func OwnerID(v string) predicate.ShareLink
- func OwnerIDContains(v string) predicate.ShareLink
- func OwnerIDContainsFold(v string) predicate.ShareLink
- func OwnerIDEQ(v string) predicate.ShareLink
- func OwnerIDEqualFold(v string) predicate.ShareLink
- func OwnerIDGT(v string) predicate.ShareLink
- func OwnerIDGTE(v string) predicate.ShareLink
- func OwnerIDHasPrefix(v string) predicate.ShareLink
- func OwnerIDHasSuffix(v string) predicate.ShareLink
- func OwnerIDIn(vs ...string) predicate.ShareLink
- func OwnerIDIsNil() predicate.ShareLink
- func OwnerIDLT(v string) predicate.ShareLink
- func OwnerIDLTE(v string) predicate.ShareLink
- func OwnerIDNEQ(v string) predicate.ShareLink
- func OwnerIDNotIn(vs ...string) predicate.ShareLink
- func OwnerIDNotNil() predicate.ShareLink
- func RecipientEmailsIsNil() predicate.ShareLink
- func RecipientEmailsNotNil() predicate.ShareLink
- func RequireSession(v bool) predicate.ShareLink
- func RequireSessionEQ(v bool) predicate.ShareLink
- func RequireSessionIsNil() predicate.ShareLink
- func RequireSessionNEQ(v bool) predicate.ShareLink
- func RequireSessionNotNil() predicate.ShareLink
- func RevokedAt(v time.Time) predicate.ShareLink
- func RevokedAtEQ(v time.Time) predicate.ShareLink
- func RevokedAtGT(v time.Time) predicate.ShareLink
- func RevokedAtGTE(v time.Time) predicate.ShareLink
- func RevokedAtIn(vs ...time.Time) predicate.ShareLink
- func RevokedAtIsNil() predicate.ShareLink
- func RevokedAtLT(v time.Time) predicate.ShareLink
- func RevokedAtLTE(v time.Time) predicate.ShareLink
- func RevokedAtNEQ(v time.Time) predicate.ShareLink
- func RevokedAtNotIn(vs ...time.Time) predicate.ShareLink
- func RevokedAtNotNil() predicate.ShareLink
- func Secret(v []byte) predicate.ShareLink
- func SecretEQ(v []byte) predicate.ShareLink
- func SecretGT(v []byte) predicate.ShareLink
- func SecretGTE(v []byte) predicate.ShareLink
- func SecretIn(vs ...[]byte) predicate.ShareLink
- func SecretIsNil() predicate.ShareLink
- func SecretLT(v []byte) predicate.ShareLink
- func SecretLTE(v []byte) predicate.ShareLink
- func SecretNEQ(v []byte) predicate.ShareLink
- func SecretNotIn(vs ...[]byte) predicate.ShareLink
- func SecretNotNil() predicate.ShareLink
- func Token(v string) predicate.ShareLink
- func TokenContains(v string) predicate.ShareLink
- func TokenContainsFold(v string) predicate.ShareLink
- func TokenEQ(v string) predicate.ShareLink
- func TokenEqualFold(v string) predicate.ShareLink
- func TokenGT(v string) predicate.ShareLink
- func TokenGTE(v string) predicate.ShareLink
- func TokenHasPrefix(v string) predicate.ShareLink
- func TokenHasSuffix(v string) predicate.ShareLink
- func TokenIn(vs ...string) predicate.ShareLink
- func TokenLT(v string) predicate.ShareLink
- func TokenLTE(v string) predicate.ShareLink
- func TokenNEQ(v string) predicate.ShareLink
- func TokenNotIn(vs ...string) predicate.ShareLink
- func UpdatedAt(v time.Time) predicate.ShareLink
- func UpdatedAtEQ(v time.Time) predicate.ShareLink
- func UpdatedAtGT(v time.Time) predicate.ShareLink
- func UpdatedAtGTE(v time.Time) predicate.ShareLink
- func UpdatedAtIn(vs ...time.Time) predicate.ShareLink
- func UpdatedAtIsNil() predicate.ShareLink
- func UpdatedAtLT(v time.Time) predicate.ShareLink
- func UpdatedAtLTE(v time.Time) predicate.ShareLink
- func UpdatedAtNEQ(v time.Time) predicate.ShareLink
- func UpdatedAtNotIn(vs ...time.Time) predicate.ShareLink
- func UpdatedAtNotNil() predicate.ShareLink
- func UpdatedBy(v string) predicate.ShareLink
- func UpdatedByContains(v string) predicate.ShareLink
- func UpdatedByContainsFold(v string) predicate.ShareLink
- func UpdatedByEQ(v string) predicate.ShareLink
- func UpdatedByEqualFold(v string) predicate.ShareLink
- func UpdatedByGT(v string) predicate.ShareLink
- func UpdatedByGTE(v string) predicate.ShareLink
- func UpdatedByHasPrefix(v string) predicate.ShareLink
- func UpdatedByHasSuffix(v string) predicate.ShareLink
- func UpdatedByImpersonator(v string) predicate.ShareLink
- func UpdatedByImpersonatorContains(v string) predicate.ShareLink
- func UpdatedByImpersonatorContainsFold(v string) predicate.ShareLink
- func UpdatedByImpersonatorEQ(v string) predicate.ShareLink
- func UpdatedByImpersonatorEqualFold(v string) predicate.ShareLink
- func UpdatedByImpersonatorGT(v string) predicate.ShareLink
- func UpdatedByImpersonatorGTE(v string) predicate.ShareLink
- func UpdatedByImpersonatorHasPrefix(v string) predicate.ShareLink
- func UpdatedByImpersonatorHasSuffix(v string) predicate.ShareLink
- func UpdatedByImpersonatorIn(vs ...string) predicate.ShareLink
- func UpdatedByImpersonatorIsNil() predicate.ShareLink
- func UpdatedByImpersonatorLT(v string) predicate.ShareLink
- func UpdatedByImpersonatorLTE(v string) predicate.ShareLink
- func UpdatedByImpersonatorNEQ(v string) predicate.ShareLink
- func UpdatedByImpersonatorNotIn(vs ...string) predicate.ShareLink
- func UpdatedByImpersonatorNotNil() predicate.ShareLink
- func UpdatedByIn(vs ...string) predicate.ShareLink
- func UpdatedByIsNil() predicate.ShareLink
- func UpdatedByLT(v string) predicate.ShareLink
- func UpdatedByLTE(v string) predicate.ShareLink
- func UpdatedByNEQ(v string) predicate.ShareLink
- func UpdatedByNotIn(vs ...string) predicate.ShareLink
- func UpdatedByNotNil() predicate.ShareLink
- func UseCount(v int) predicate.ShareLink
- func UseCountEQ(v int) predicate.ShareLink
- func UseCountGT(v int) predicate.ShareLink
- func UseCountGTE(v int) predicate.ShareLink
- func UseCountIn(vs ...int) predicate.ShareLink
- func UseCountLT(v int) predicate.ShareLink
- func UseCountLTE(v int) predicate.ShareLink
- func UseCountNEQ(v int) predicate.ShareLink
- func UseCountNotIn(vs ...int) predicate.ShareLink
- func ValidColumn(column string) bool
- type OrderOption
- func ByCodeAttempts(opts ...sql.OrderTermOption) OrderOption
- func ByCodeExpiresAt(opts ...sql.OrderTermOption) 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 ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLandingPage(opts ...sql.OrderTermOption) OrderOption
- func ByMaxUses(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByRequireSession(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func ByShareLinkAccessEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByShareLinkAccessEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByImpersonator(opts ...sql.OrderTermOption) OrderOption
- func ByUseCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the sharelink type in the database. Label = "share_link" // 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" // FieldUpdatedByImpersonator holds the string denoting the updated_by_impersonator field in the database. FieldUpdatedByImpersonator = "updated_by_impersonator" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldMaxUses holds the string denoting the max_uses field in the database. FieldMaxUses = "max_uses" // FieldUseCount holds the string denoting the use_count field in the database. FieldUseCount = "use_count" // FieldRecipientEmails holds the string denoting the recipient_emails field in the database. FieldRecipientEmails = "recipient_emails" // FieldLandingPage holds the string denoting the landing_page field in the database. FieldLandingPage = "landing_page" // FieldRequireSession holds the string denoting the require_session field in the database. FieldRequireSession = "require_session" // FieldCodeHash holds the string denoting the code_hash field in the database. FieldCodeHash = "code_hash" // FieldCodeExpiresAt holds the string denoting the code_expires_at field in the database. FieldCodeExpiresAt = "code_expires_at" // FieldCodeAttempts holds the string denoting the code_attempts field in the database. FieldCodeAttempts = "code_attempts" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // 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" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" EdgeShareLinkAccessEvents = "share_link_access_events" // Table holds the table name of the sharelink in the database. Table = "share_links" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "share_links" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "share_link_files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" ShareLinkAccessEventsTable = "share_link_access_events" // It exists in this package in order to avoid circular dependency with the "sharelinkaccessevent" package. ShareLinkAccessEventsInverseTable = "share_link_access_events" ShareLinkAccessEventsColumn = "share_link_id" )
Variables ¶
var ( Hooks [7]ent.Hook Interceptors [4]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 // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // DefaultExpiresAt holds the default value on creation for the "expires_at" field. DefaultExpiresAt func() time.Time // DefaultMaxUses holds the default value on creation for the "max_uses" field. DefaultMaxUses int // MaxUsesValidator is a validator for the "max_uses" field. It is called by the builders before save. MaxUsesValidator func(int) error // DefaultUseCount holds the default value on creation for the "use_count" field. DefaultUseCount int // DefaultLandingPage holds the default value on creation for the "landing_page" field. DefaultLandingPage bool // DefaultRequireSession holds the default value on creation for the "require_session" field. DefaultRequireSession bool // DefaultCodeAttempts holds the default value on creation for the "code_attempts" field. DefaultCodeAttempts int // 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/v2/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldUpdatedByImpersonator, FieldDeletedAt, FieldDeletedBy, FieldOwnerID, FieldName, FieldExpiresAt, FieldMaxUses, FieldUseCount, FieldRecipientEmails, FieldLandingPage, FieldRequireSession, FieldCodeHash, FieldCodeExpiresAt, FieldCodeAttempts, FieldRevokedAt, FieldToken, FieldSecret, }
Columns holds all SQL columns for sharelink fields.
var ( // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"share_link_id", "file_id"} )
Functions ¶
func CodeAttempts ¶
CodeAttempts applies equality check predicate on the "code_attempts" field. It's identical to CodeAttemptsEQ.
func CodeAttemptsEQ ¶
CodeAttemptsEQ applies the EQ predicate on the "code_attempts" field.
func CodeAttemptsGT ¶
CodeAttemptsGT applies the GT predicate on the "code_attempts" field.
func CodeAttemptsGTE ¶
CodeAttemptsGTE applies the GTE predicate on the "code_attempts" field.
func CodeAttemptsIn ¶
CodeAttemptsIn applies the In predicate on the "code_attempts" field.
func CodeAttemptsLT ¶
CodeAttemptsLT applies the LT predicate on the "code_attempts" field.
func CodeAttemptsLTE ¶
CodeAttemptsLTE applies the LTE predicate on the "code_attempts" field.
func CodeAttemptsNEQ ¶
CodeAttemptsNEQ applies the NEQ predicate on the "code_attempts" field.
func CodeAttemptsNotIn ¶
CodeAttemptsNotIn applies the NotIn predicate on the "code_attempts" field.
func CodeExpiresAt ¶
CodeExpiresAt applies equality check predicate on the "code_expires_at" field. It's identical to CodeExpiresAtEQ.
func CodeExpiresAtEQ ¶
CodeExpiresAtEQ applies the EQ predicate on the "code_expires_at" field.
func CodeExpiresAtGT ¶
CodeExpiresAtGT applies the GT predicate on the "code_expires_at" field.
func CodeExpiresAtGTE ¶
CodeExpiresAtGTE applies the GTE predicate on the "code_expires_at" field.
func CodeExpiresAtIn ¶
CodeExpiresAtIn applies the In predicate on the "code_expires_at" field.
func CodeExpiresAtIsNil ¶
CodeExpiresAtIsNil applies the IsNil predicate on the "code_expires_at" field.
func CodeExpiresAtLT ¶
CodeExpiresAtLT applies the LT predicate on the "code_expires_at" field.
func CodeExpiresAtLTE ¶
CodeExpiresAtLTE applies the LTE predicate on the "code_expires_at" field.
func CodeExpiresAtNEQ ¶
CodeExpiresAtNEQ applies the NEQ predicate on the "code_expires_at" field.
func CodeExpiresAtNotIn ¶
CodeExpiresAtNotIn applies the NotIn predicate on the "code_expires_at" field.
func CodeExpiresAtNotNil ¶
CodeExpiresAtNotNil applies the NotNil predicate on the "code_expires_at" field.
func CodeHash ¶
CodeHash applies equality check predicate on the "code_hash" field. It's identical to CodeHashEQ.
func CodeHashEQ ¶
CodeHashEQ applies the EQ predicate on the "code_hash" field.
func CodeHashGT ¶
CodeHashGT applies the GT predicate on the "code_hash" field.
func CodeHashGTE ¶
CodeHashGTE applies the GTE predicate on the "code_hash" field.
func CodeHashIn ¶
CodeHashIn applies the In predicate on the "code_hash" field.
func CodeHashIsNil ¶
CodeHashIsNil applies the IsNil predicate on the "code_hash" field.
func CodeHashLT ¶
CodeHashLT applies the LT predicate on the "code_hash" field.
func CodeHashLTE ¶
CodeHashLTE applies the LTE predicate on the "code_hash" field.
func CodeHashNEQ ¶
CodeHashNEQ applies the NEQ predicate on the "code_hash" field.
func CodeHashNotIn ¶
CodeHashNotIn applies the NotIn predicate on the "code_hash" field.
func CodeHashNotNil ¶
CodeHashNotNil applies the NotNil predicate on the "code_hash" 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func ExpiresAt ¶
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.ShareLink
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasShareLinkAccessEvents ¶
HasShareLinkAccessEvents applies the HasEdge predicate on the "share_link_access_events" edge.
func HasShareLinkAccessEventsWith ¶
func HasShareLinkAccessEventsWith(preds ...predicate.ShareLinkAccessEvent) predicate.ShareLink
HasShareLinkAccessEventsWith applies the HasEdge predicate on the "share_link_access_events" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func LandingPage ¶
LandingPage applies equality check predicate on the "landing_page" field. It's identical to LandingPageEQ.
func LandingPageEQ ¶
LandingPageEQ applies the EQ predicate on the "landing_page" field.
func LandingPageIsNil ¶
LandingPageIsNil applies the IsNil predicate on the "landing_page" field.
func LandingPageNEQ ¶
LandingPageNEQ applies the NEQ predicate on the "landing_page" field.
func LandingPageNotNil ¶
LandingPageNotNil applies the NotNil predicate on the "landing_page" field.
func MaxUses ¶
MaxUses applies equality check predicate on the "max_uses" field. It's identical to MaxUsesEQ.
func MaxUsesGTE ¶
MaxUsesGTE applies the GTE predicate on the "max_uses" field.
func MaxUsesIsNil ¶
MaxUsesIsNil applies the IsNil predicate on the "max_uses" field.
func MaxUsesLTE ¶
MaxUsesLTE applies the LTE predicate on the "max_uses" field.
func MaxUsesNEQ ¶
MaxUsesNEQ applies the NEQ predicate on the "max_uses" field.
func MaxUsesNotIn ¶
MaxUsesNotIn applies the NotIn predicate on the "max_uses" field.
func MaxUsesNotNil ¶
MaxUsesNotNil applies the NotNil predicate on the "max_uses" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func RecipientEmailsIsNil ¶
RecipientEmailsIsNil applies the IsNil predicate on the "recipient_emails" field.
func RecipientEmailsNotNil ¶
RecipientEmailsNotNil applies the NotNil predicate on the "recipient_emails" field.
func RequireSession ¶
RequireSession applies equality check predicate on the "require_session" field. It's identical to RequireSessionEQ.
func RequireSessionEQ ¶
RequireSessionEQ applies the EQ predicate on the "require_session" field.
func RequireSessionIsNil ¶
RequireSessionIsNil applies the IsNil predicate on the "require_session" field.
func RequireSessionNEQ ¶
RequireSessionNEQ applies the NEQ predicate on the "require_session" field.
func RequireSessionNotNil ¶
RequireSessionNotNil applies the NotNil predicate on the "require_session" field.
func RevokedAt ¶
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func Secret ¶
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretIsNil ¶
SecretIsNil applies the IsNil predicate on the "secret" field.
func SecretNotIn ¶
SecretNotIn applies the NotIn predicate on the "secret" field.
func SecretNotNil ¶
SecretNotNil applies the NotNil predicate on the "secret" field.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByImpersonator ¶
UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.
func UpdatedByImpersonatorContains ¶
UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorContainsFold ¶
UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorEQ ¶
UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorEqualFold ¶
UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorGT ¶
UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorGTE ¶
UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorHasPrefix ¶
UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorHasSuffix ¶
UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorIn ¶
UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorIsNil ¶
UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorLT ¶
UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorLTE ¶
UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorNEQ ¶
UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorNotIn ¶
UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.
func UpdatedByImpersonatorNotNil ¶
UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UseCount ¶
UseCount applies equality check predicate on the "use_count" field. It's identical to UseCountEQ.
func UseCountEQ ¶
UseCountEQ applies the EQ predicate on the "use_count" field.
func UseCountGT ¶
UseCountGT applies the GT predicate on the "use_count" field.
func UseCountGTE ¶
UseCountGTE applies the GTE predicate on the "use_count" field.
func UseCountIn ¶
UseCountIn applies the In predicate on the "use_count" field.
func UseCountLT ¶
UseCountLT applies the LT predicate on the "use_count" field.
func UseCountLTE ¶
UseCountLTE applies the LTE predicate on the "use_count" field.
func UseCountNEQ ¶
UseCountNEQ applies the NEQ predicate on the "use_count" field.
func UseCountNotIn ¶
UseCountNotIn applies the NotIn predicate on the "use_count" 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 ShareLink queries.
func ByCodeAttempts ¶
func ByCodeAttempts(opts ...sql.OrderTermOption) OrderOption
ByCodeAttempts orders the results by the code_attempts field.
func ByCodeExpiresAt ¶
func ByCodeExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByCodeExpiresAt orders the results by the code_expires_at field.
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 ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByFiles ¶
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLandingPage ¶
func ByLandingPage(opts ...sql.OrderTermOption) OrderOption
ByLandingPage orders the results by the landing_page field.
func ByMaxUses ¶
func ByMaxUses(opts ...sql.OrderTermOption) OrderOption
ByMaxUses orders the results by the max_uses field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name 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 ByRequireSession ¶
func ByRequireSession(opts ...sql.OrderTermOption) OrderOption
ByRequireSession orders the results by the require_session field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func ByShareLinkAccessEvents ¶
func ByShareLinkAccessEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByShareLinkAccessEvents orders the results by share_link_access_events terms.
func ByShareLinkAccessEventsCount ¶
func ByShareLinkAccessEventsCount(opts ...sql.OrderTermOption) OrderOption
ByShareLinkAccessEventsCount orders the results by share_link_access_events count.
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 ByUpdatedByImpersonator ¶
func ByUpdatedByImpersonator(opts ...sql.OrderTermOption) OrderOption
ByUpdatedByImpersonator orders the results by the updated_by_impersonator field.
func ByUseCount ¶
func ByUseCount(opts ...sql.OrderTermOption) OrderOption
ByUseCount orders the results by the use_count field.