Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Module) predicate.Module
- func AppID(v int64) predicate.Module
- func AppIDEQ(v int64) predicate.Module
- func AppIDGT(v int64) predicate.Module
- func AppIDGTE(v int64) predicate.Module
- func AppIDIn(vs ...int64) predicate.Module
- func AppIDLT(v int64) predicate.Module
- func AppIDLTE(v int64) predicate.Module
- func AppIDNEQ(v int64) predicate.Module
- func AppIDNotIn(vs ...int64) predicate.Module
- func Description(v string) predicate.Module
- func DescriptionContains(v string) predicate.Module
- func DescriptionContainsFold(v string) predicate.Module
- func DescriptionEQ(v string) predicate.Module
- func DescriptionEqualFold(v string) predicate.Module
- func DescriptionGT(v string) predicate.Module
- func DescriptionGTE(v string) predicate.Module
- func DescriptionHasPrefix(v string) predicate.Module
- func DescriptionHasSuffix(v string) predicate.Module
- func DescriptionIn(vs ...string) predicate.Module
- func DescriptionLT(v string) predicate.Module
- func DescriptionLTE(v string) predicate.Module
- func DescriptionNEQ(v string) predicate.Module
- func DescriptionNotIn(vs ...string) predicate.Module
- func Downloads(v int64) predicate.Module
- func DownloadsEQ(v int64) predicate.Module
- func DownloadsGT(v int64) predicate.Module
- func DownloadsGTE(v int64) predicate.Module
- func DownloadsIn(vs ...int64) predicate.Module
- func DownloadsLT(v int64) predicate.Module
- func DownloadsLTE(v int64) predicate.Module
- func DownloadsNEQ(v int64) predicate.Module
- func DownloadsNotIn(vs ...int64) predicate.Module
- func HasVersion() predicate.Module
- func HasVersionWith(preds ...predicate.ModuleVersion) predicate.Module
- func ID(id int) predicate.Module
- func IDEQ(id int) predicate.Module
- func IDGT(id int) predicate.Module
- func IDGTE(id int) predicate.Module
- func IDIn(ids ...int) predicate.Module
- func IDLT(id int) predicate.Module
- func IDLTE(id int) predicate.Module
- func IDNEQ(id int) predicate.Module
- func IDNotIn(ids ...int) predicate.Module
- func InstallationID(v int64) predicate.Module
- func InstallationIDEQ(v int64) predicate.Module
- func InstallationIDGT(v int64) predicate.Module
- func InstallationIDGTE(v int64) predicate.Module
- func InstallationIDIn(vs ...int64) predicate.Module
- func InstallationIDLT(v int64) predicate.Module
- func InstallationIDLTE(v int64) predicate.Module
- func InstallationIDNEQ(v int64) predicate.Module
- func InstallationIDNotIn(vs ...int64) predicate.Module
- func Name(v string) predicate.Module
- func NameContains(v string) predicate.Module
- func NameContainsFold(v string) predicate.Module
- func NameEQ(v string) predicate.Module
- func NameEqualFold(v string) predicate.Module
- func NameGT(v string) predicate.Module
- func NameGTE(v string) predicate.Module
- func NameHasPrefix(v string) predicate.Module
- func NameHasSuffix(v string) predicate.Module
- func NameIn(vs ...string) predicate.Module
- func NameLT(v string) predicate.Module
- func NameLTE(v string) predicate.Module
- func NameNEQ(v string) predicate.Module
- func NameNotIn(vs ...string) predicate.Module
- func Namespace(v string) predicate.Module
- func NamespaceContains(v string) predicate.Module
- func NamespaceContainsFold(v string) predicate.Module
- func NamespaceEQ(v string) predicate.Module
- func NamespaceEqualFold(v string) predicate.Module
- func NamespaceGT(v string) predicate.Module
- func NamespaceGTE(v string) predicate.Module
- func NamespaceHasPrefix(v string) predicate.Module
- func NamespaceHasSuffix(v string) predicate.Module
- func NamespaceIn(vs ...string) predicate.Module
- func NamespaceLT(v string) predicate.Module
- func NamespaceLTE(v string) predicate.Module
- func NamespaceNEQ(v string) predicate.Module
- func NamespaceNotIn(vs ...string) predicate.Module
- func Not(p predicate.Module) predicate.Module
- func Or(predicates ...predicate.Module) predicate.Module
- func Owner(v string) predicate.Module
- func OwnerContains(v string) predicate.Module
- func OwnerContainsFold(v string) predicate.Module
- func OwnerEQ(v string) predicate.Module
- func OwnerEqualFold(v string) predicate.Module
- func OwnerGT(v string) predicate.Module
- func OwnerGTE(v string) predicate.Module
- func OwnerHasPrefix(v string) predicate.Module
- func OwnerHasSuffix(v string) predicate.Module
- func OwnerIn(vs ...string) predicate.Module
- func OwnerLT(v string) predicate.Module
- func OwnerLTE(v string) predicate.Module
- func OwnerNEQ(v string) predicate.Module
- func OwnerNotIn(vs ...string) predicate.Module
- func Provider(v string) predicate.Module
- func ProviderContains(v string) predicate.Module
- func ProviderContainsFold(v string) predicate.Module
- func ProviderEQ(v string) predicate.Module
- func ProviderEqualFold(v string) predicate.Module
- func ProviderGT(v string) predicate.Module
- func ProviderGTE(v string) predicate.Module
- func ProviderHasPrefix(v string) predicate.Module
- func ProviderHasSuffix(v string) predicate.Module
- func ProviderIn(vs ...string) predicate.Module
- func ProviderLT(v string) predicate.Module
- func ProviderLTE(v string) predicate.Module
- func ProviderNEQ(v string) predicate.Module
- func ProviderNotIn(vs ...string) predicate.Module
- func PublishedAt(v time.Time) predicate.Module
- func PublishedAtEQ(v time.Time) predicate.Module
- func PublishedAtGT(v time.Time) predicate.Module
- func PublishedAtGTE(v time.Time) predicate.Module
- func PublishedAtIn(vs ...time.Time) predicate.Module
- func PublishedAtLT(v time.Time) predicate.Module
- func PublishedAtLTE(v time.Time) predicate.Module
- func PublishedAtNEQ(v time.Time) predicate.Module
- func PublishedAtNotIn(vs ...time.Time) predicate.Module
- func RepoName(v string) predicate.Module
- func RepoNameContains(v string) predicate.Module
- func RepoNameContainsFold(v string) predicate.Module
- func RepoNameEQ(v string) predicate.Module
- func RepoNameEqualFold(v string) predicate.Module
- func RepoNameGT(v string) predicate.Module
- func RepoNameGTE(v string) predicate.Module
- func RepoNameHasPrefix(v string) predicate.Module
- func RepoNameHasSuffix(v string) predicate.Module
- func RepoNameIn(vs ...string) predicate.Module
- func RepoNameLT(v string) predicate.Module
- func RepoNameLTE(v string) predicate.Module
- func RepoNameNEQ(v string) predicate.Module
- func RepoNameNotIn(vs ...string) predicate.Module
- func Source(v string) predicate.Module
- func SourceContains(v string) predicate.Module
- func SourceContainsFold(v string) predicate.Module
- func SourceEQ(v string) predicate.Module
- func SourceEqualFold(v string) predicate.Module
- func SourceGT(v string) predicate.Module
- func SourceGTE(v string) predicate.Module
- func SourceHasPrefix(v string) predicate.Module
- func SourceHasSuffix(v string) predicate.Module
- func SourceIn(vs ...string) predicate.Module
- func SourceLT(v string) predicate.Module
- func SourceLTE(v string) predicate.Module
- func SourceNEQ(v string) predicate.Module
- func SourceNotIn(vs ...string) predicate.Module
Constants ¶
const ( // Label holds the string label denoting the module type in the database. Label = "module" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOwner holds the string denoting the owner vertex property in the database. FieldOwner = "owner" // FieldNamespace holds the string denoting the namespace vertex property in the database. FieldNamespace = "namespace" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // FieldProvider holds the string denoting the provider vertex property in the database. FieldProvider = "provider" // FieldDescription holds the string denoting the description vertex property in the database. FieldDescription = "description" // FieldSource holds the string denoting the source vertex property in the database. FieldSource = "source" // FieldDownloads holds the string denoting the downloads vertex property in the database. FieldDownloads = "downloads" // FieldPublishedAt holds the string denoting the published_at vertex property in the database. FieldPublishedAt = "published_at" // FieldInstallationID holds the string denoting the installation_id vertex property in the database. FieldInstallationID = "installation_id" // FieldAppID holds the string denoting the app_id vertex property in the database. FieldAppID = "app_id" // FieldRepoName holds the string denoting the repo_name vertex property in the database. FieldRepoName = "repo_name" // Table holds the table name of the module in the database. Table = "modules" // VersionTable is the table the holds the version relation/edge. VersionTable = "module_versions" // VersionInverseTable is the table name for the ModuleVersion entity. // It exists in this package in order to avoid circular dependency with the "moduleversion" package. VersionInverseTable = "module_versions" // VersionColumn is the table column denoting the version relation/edge. VersionColumn = "module_id" )
Variables ¶
var Columns = []string{ FieldID, FieldOwner, FieldNamespace, FieldName, FieldProvider, FieldDescription, FieldSource, FieldDownloads, FieldPublishedAt, FieldInstallationID, FieldAppID, FieldRepoName, }
Columns holds all SQL columns are module fields.
var ( // DefaultDownloads holds the default value on creation for the downloads field. DefaultDownloads = descDownloads.Default.(int64) )
Functions ¶
func AppID ¶
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDNotIn ¶
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func Downloads ¶
Downloads applies equality check predicate on the "downloads" field. It's identical to DownloadsEQ.
func DownloadsEQ ¶
DownloadsEQ applies the EQ predicate on the "downloads" field.
func DownloadsGT ¶
DownloadsGT applies the GT predicate on the "downloads" field.
func DownloadsGTE ¶
DownloadsGTE applies the GTE predicate on the "downloads" field.
func DownloadsIn ¶
DownloadsIn applies the In predicate on the "downloads" field.
func DownloadsLT ¶
DownloadsLT applies the LT predicate on the "downloads" field.
func DownloadsLTE ¶
DownloadsLTE applies the LTE predicate on the "downloads" field.
func DownloadsNEQ ¶
DownloadsNEQ applies the NEQ predicate on the "downloads" field.
func DownloadsNotIn ¶
DownloadsNotIn applies the NotIn predicate on the "downloads" field.
func HasVersion ¶
HasVersion applies the HasEdge predicate on the "version" edge.
func HasVersionWith ¶
func HasVersionWith(preds ...predicate.ModuleVersion) predicate.Module
HasVersionWith applies the HasEdge predicate on the "version" edge with a given conditions (other predicates).
func InstallationID ¶
InstallationID applies equality check predicate on the "installation_id" field. It's identical to InstallationIDEQ.
func InstallationIDEQ ¶
InstallationIDEQ applies the EQ predicate on the "installation_id" field.
func InstallationIDGT ¶
InstallationIDGT applies the GT predicate on the "installation_id" field.
func InstallationIDGTE ¶
InstallationIDGTE applies the GTE predicate on the "installation_id" field.
func InstallationIDIn ¶
InstallationIDIn applies the In predicate on the "installation_id" field.
func InstallationIDLT ¶
InstallationIDLT applies the LT predicate on the "installation_id" field.
func InstallationIDLTE ¶
InstallationIDLTE applies the LTE predicate on the "installation_id" field.
func InstallationIDNEQ ¶
InstallationIDNEQ applies the NEQ predicate on the "installation_id" field.
func InstallationIDNotIn ¶
InstallationIDNotIn applies the NotIn predicate on the "installation_id" 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 Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Owner ¶
Owner applies equality check predicate on the "owner" field. It's identical to OwnerEQ.
func OwnerContains ¶
OwnerContains applies the Contains predicate on the "owner" field.
func OwnerContainsFold ¶
OwnerContainsFold applies the ContainsFold predicate on the "owner" field.
func OwnerEqualFold ¶
OwnerEqualFold applies the EqualFold predicate on the "owner" field.
func OwnerHasPrefix ¶
OwnerHasPrefix applies the HasPrefix predicate on the "owner" field.
func OwnerHasSuffix ¶
OwnerHasSuffix applies the HasSuffix predicate on the "owner" field.
func OwnerNotIn ¶
OwnerNotIn applies the NotIn predicate on the "owner" field.
func Provider ¶
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶
ProviderIn applies the In predicate on the "provider" field.
func ProviderLT ¶
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
ProviderNotIn applies the NotIn predicate on the "provider" field.
func PublishedAt ¶
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtLT ¶
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func RepoName ¶
RepoName applies equality check predicate on the "repo_name" field. It's identical to RepoNameEQ.
func RepoNameContains ¶
RepoNameContains applies the Contains predicate on the "repo_name" field.
func RepoNameContainsFold ¶
RepoNameContainsFold applies the ContainsFold predicate on the "repo_name" field.
func RepoNameEQ ¶
RepoNameEQ applies the EQ predicate on the "repo_name" field.
func RepoNameEqualFold ¶
RepoNameEqualFold applies the EqualFold predicate on the "repo_name" field.
func RepoNameGT ¶
RepoNameGT applies the GT predicate on the "repo_name" field.
func RepoNameGTE ¶
RepoNameGTE applies the GTE predicate on the "repo_name" field.
func RepoNameHasPrefix ¶
RepoNameHasPrefix applies the HasPrefix predicate on the "repo_name" field.
func RepoNameHasSuffix ¶
RepoNameHasSuffix applies the HasSuffix predicate on the "repo_name" field.
func RepoNameIn ¶
RepoNameIn applies the In predicate on the "repo_name" field.
func RepoNameLT ¶
RepoNameLT applies the LT predicate on the "repo_name" field.
func RepoNameLTE ¶
RepoNameLTE applies the LTE predicate on the "repo_name" field.
func RepoNameNEQ ¶
RepoNameNEQ applies the NEQ predicate on the "repo_name" field.
func RepoNameNotIn ¶
RepoNameNotIn applies the NotIn predicate on the "repo_name" field.
func Source ¶
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEqualFold ¶
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceHasPrefix ¶
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceNotIn ¶
SourceNotIn applies the NotIn predicate on the "source" field.
Types ¶
This section is empty.