appinfo

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the appinfo type in the database.
	Label = "app_info"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldInternal holds the string denoting the internal field in the database.
	FieldInternal = "internal"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldSourceAppID holds the string denoting the source_app_id field in the database.
	FieldSourceAppID = "source_app_id"
	// FieldSourceURL holds the string denoting the source_url field in the database.
	FieldSourceURL = "source_url"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldShortDescription holds the string denoting the short_description field in the database.
	FieldShortDescription = "short_description"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldIconImageURL holds the string denoting the icon_image_url field in the database.
	FieldIconImageURL = "icon_image_url"
	// FieldBackgroundImageURL holds the string denoting the background_image_url field in the database.
	FieldBackgroundImageURL = "background_image_url"
	// FieldCoverImageURL holds the string denoting the cover_image_url field in the database.
	FieldCoverImageURL = "cover_image_url"
	// FieldReleaseDate holds the string denoting the release_date field in the database.
	FieldReleaseDate = "release_date"
	// FieldDeveloper holds the string denoting the developer field in the database.
	FieldDeveloper = "developer"
	// FieldPublisher holds the string denoting the publisher field in the database.
	FieldPublisher = "publisher"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgePurchasedByAccount holds the string denoting the purchased_by_account edge name in mutations.
	EdgePurchasedByAccount = "purchased_by_account"
	// EdgePurchasedByUser holds the string denoting the purchased_by_user edge name in mutations.
	EdgePurchasedByUser = "purchased_by_user"
	// EdgeApp holds the string denoting the app edge name in mutations.
	EdgeApp = "app"
	// EdgeAppBinary holds the string denoting the app_binary edge name in mutations.
	EdgeAppBinary = "app_binary"
	// EdgeBindInternal holds the string denoting the bind_internal edge name in mutations.
	EdgeBindInternal = "bind_internal"
	// EdgeBindExternal holds the string denoting the bind_external edge name in mutations.
	EdgeBindExternal = "bind_external"
	// Table holds the table name of the appinfo in the database.
	Table = "app_infos"
	// PurchasedByAccountTable is the table that holds the purchased_by_account relation/edge. The primary key declared below.
	PurchasedByAccountTable = "account_purchased_app"
	// PurchasedByAccountInverseTable is the table name for the Account entity.
	// It exists in this package in order to avoid circular dependency with the "account" package.
	PurchasedByAccountInverseTable = "accounts"
	// PurchasedByUserTable is the table that holds the purchased_by_user relation/edge. The primary key declared below.
	PurchasedByUserTable = "user_purchased_app"
	// PurchasedByUserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	PurchasedByUserInverseTable = "users"
	// AppTable is the table that holds the app relation/edge.
	AppTable = "apps"
	// AppInverseTable is the table name for the App entity.
	// It exists in this package in order to avoid circular dependency with the "app" package.
	AppInverseTable = "apps"
	// AppColumn is the table column denoting the app relation/edge.
	AppColumn = "app_info_app"
	// AppBinaryTable is the table that holds the app_binary relation/edge.
	AppBinaryTable = "app_binaries"
	// AppBinaryInverseTable is the table name for the AppBinary entity.
	// It exists in this package in order to avoid circular dependency with the "appbinary" package.
	AppBinaryInverseTable = "app_binaries"
	// AppBinaryColumn is the table column denoting the app_binary relation/edge.
	AppBinaryColumn = "app_info_app_binary"
	// BindInternalTable is the table that holds the bind_internal relation/edge.
	BindInternalTable = "app_infos"
	// BindInternalColumn is the table column denoting the bind_internal relation/edge.
	BindInternalColumn = "app_info_bind_external"
	// BindExternalTable is the table that holds the bind_external relation/edge.
	BindExternalTable = "app_infos"
	// BindExternalColumn is the table column denoting the bind_external relation/edge.
	BindExternalColumn = "app_info_bind_external"
)

Variables

View Source
var (
	// PurchasedByAccountPrimaryKey and PurchasedByAccountColumn2 are the table columns denoting the
	// primary key for the purchased_by_account relation (M2M).
	PurchasedByAccountPrimaryKey = []string{"account_id", "app_info_id"}
	// PurchasedByUserPrimaryKey and PurchasedByUserColumn2 are the table columns denoting the
	// primary key for the purchased_by_user relation (M2M).
	PurchasedByUserPrimaryKey = []string{"user_id", "app_info_id"}
)
View Source
var (
	// 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
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Columns holds all SQL columns for appinfo fields.

View Source
var ForeignKeys = []string{
	"app_info_bind_external",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "app_infos" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.AppInfo) predicate.AppInfo

And groups predicates with the AND operator between them.

func BackgroundImageURL

func BackgroundImageURL(v string) predicate.AppInfo

BackgroundImageURL applies equality check predicate on the "background_image_url" field. It's identical to BackgroundImageURLEQ.

func BackgroundImageURLContains

func BackgroundImageURLContains(v string) predicate.AppInfo

BackgroundImageURLContains applies the Contains predicate on the "background_image_url" field.

func BackgroundImageURLContainsFold

func BackgroundImageURLContainsFold(v string) predicate.AppInfo

BackgroundImageURLContainsFold applies the ContainsFold predicate on the "background_image_url" field.

func BackgroundImageURLEQ

func BackgroundImageURLEQ(v string) predicate.AppInfo

BackgroundImageURLEQ applies the EQ predicate on the "background_image_url" field.

func BackgroundImageURLEqualFold

func BackgroundImageURLEqualFold(v string) predicate.AppInfo

BackgroundImageURLEqualFold applies the EqualFold predicate on the "background_image_url" field.

func BackgroundImageURLGT

func BackgroundImageURLGT(v string) predicate.AppInfo

BackgroundImageURLGT applies the GT predicate on the "background_image_url" field.

func BackgroundImageURLGTE

func BackgroundImageURLGTE(v string) predicate.AppInfo

BackgroundImageURLGTE applies the GTE predicate on the "background_image_url" field.

func BackgroundImageURLHasPrefix

func BackgroundImageURLHasPrefix(v string) predicate.AppInfo

BackgroundImageURLHasPrefix applies the HasPrefix predicate on the "background_image_url" field.

func BackgroundImageURLHasSuffix

func BackgroundImageURLHasSuffix(v string) predicate.AppInfo

BackgroundImageURLHasSuffix applies the HasSuffix predicate on the "background_image_url" field.

func BackgroundImageURLIn

func BackgroundImageURLIn(vs ...string) predicate.AppInfo

BackgroundImageURLIn applies the In predicate on the "background_image_url" field.

func BackgroundImageURLIsNil

func BackgroundImageURLIsNil() predicate.AppInfo

BackgroundImageURLIsNil applies the IsNil predicate on the "background_image_url" field.

func BackgroundImageURLLT

func BackgroundImageURLLT(v string) predicate.AppInfo

BackgroundImageURLLT applies the LT predicate on the "background_image_url" field.

func BackgroundImageURLLTE

func BackgroundImageURLLTE(v string) predicate.AppInfo

BackgroundImageURLLTE applies the LTE predicate on the "background_image_url" field.

func BackgroundImageURLNEQ

func BackgroundImageURLNEQ(v string) predicate.AppInfo

BackgroundImageURLNEQ applies the NEQ predicate on the "background_image_url" field.

func BackgroundImageURLNotIn

func BackgroundImageURLNotIn(vs ...string) predicate.AppInfo

BackgroundImageURLNotIn applies the NotIn predicate on the "background_image_url" field.

func BackgroundImageURLNotNil

func BackgroundImageURLNotNil() predicate.AppInfo

BackgroundImageURLNotNil applies the NotNil predicate on the "background_image_url" field.

func CoverImageURL

func CoverImageURL(v string) predicate.AppInfo

CoverImageURL applies equality check predicate on the "cover_image_url" field. It's identical to CoverImageURLEQ.

func CoverImageURLContains

func CoverImageURLContains(v string) predicate.AppInfo

CoverImageURLContains applies the Contains predicate on the "cover_image_url" field.

func CoverImageURLContainsFold

func CoverImageURLContainsFold(v string) predicate.AppInfo

CoverImageURLContainsFold applies the ContainsFold predicate on the "cover_image_url" field.

func CoverImageURLEQ

func CoverImageURLEQ(v string) predicate.AppInfo

CoverImageURLEQ applies the EQ predicate on the "cover_image_url" field.

func CoverImageURLEqualFold

func CoverImageURLEqualFold(v string) predicate.AppInfo

CoverImageURLEqualFold applies the EqualFold predicate on the "cover_image_url" field.

func CoverImageURLGT

func CoverImageURLGT(v string) predicate.AppInfo

CoverImageURLGT applies the GT predicate on the "cover_image_url" field.

func CoverImageURLGTE

func CoverImageURLGTE(v string) predicate.AppInfo

CoverImageURLGTE applies the GTE predicate on the "cover_image_url" field.

func CoverImageURLHasPrefix

func CoverImageURLHasPrefix(v string) predicate.AppInfo

CoverImageURLHasPrefix applies the HasPrefix predicate on the "cover_image_url" field.

func CoverImageURLHasSuffix

func CoverImageURLHasSuffix(v string) predicate.AppInfo

CoverImageURLHasSuffix applies the HasSuffix predicate on the "cover_image_url" field.

func CoverImageURLIn

func CoverImageURLIn(vs ...string) predicate.AppInfo

CoverImageURLIn applies the In predicate on the "cover_image_url" field.

func CoverImageURLIsNil

func CoverImageURLIsNil() predicate.AppInfo

CoverImageURLIsNil applies the IsNil predicate on the "cover_image_url" field.

func CoverImageURLLT

func CoverImageURLLT(v string) predicate.AppInfo

CoverImageURLLT applies the LT predicate on the "cover_image_url" field.

func CoverImageURLLTE

func CoverImageURLLTE(v string) predicate.AppInfo

CoverImageURLLTE applies the LTE predicate on the "cover_image_url" field.

func CoverImageURLNEQ

func CoverImageURLNEQ(v string) predicate.AppInfo

CoverImageURLNEQ applies the NEQ predicate on the "cover_image_url" field.

func CoverImageURLNotIn

func CoverImageURLNotIn(vs ...string) predicate.AppInfo

CoverImageURLNotIn applies the NotIn predicate on the "cover_image_url" field.

func CoverImageURLNotNil

func CoverImageURLNotNil() predicate.AppInfo

CoverImageURLNotNil applies the NotNil predicate on the "cover_image_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AppInfo

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AppInfo

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AppInfo

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AppInfo

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AppInfo

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AppInfo

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AppInfo

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AppInfo

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AppInfo

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Description

func Description(v string) predicate.AppInfo

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.AppInfo

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.AppInfo

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.AppInfo

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.AppInfo

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.AppInfo

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.AppInfo

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.AppInfo

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.AppInfo

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.AppInfo

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.AppInfo

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.AppInfo

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.AppInfo

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.AppInfo

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.AppInfo

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.AppInfo

DescriptionNotNil applies the NotNil predicate on the "description" field.

func Developer

func Developer(v string) predicate.AppInfo

Developer applies equality check predicate on the "developer" field. It's identical to DeveloperEQ.

func DeveloperContains

func DeveloperContains(v string) predicate.AppInfo

DeveloperContains applies the Contains predicate on the "developer" field.

func DeveloperContainsFold

func DeveloperContainsFold(v string) predicate.AppInfo

DeveloperContainsFold applies the ContainsFold predicate on the "developer" field.

func DeveloperEQ

func DeveloperEQ(v string) predicate.AppInfo

DeveloperEQ applies the EQ predicate on the "developer" field.

func DeveloperEqualFold

func DeveloperEqualFold(v string) predicate.AppInfo

DeveloperEqualFold applies the EqualFold predicate on the "developer" field.

func DeveloperGT

func DeveloperGT(v string) predicate.AppInfo

DeveloperGT applies the GT predicate on the "developer" field.

func DeveloperGTE

func DeveloperGTE(v string) predicate.AppInfo

DeveloperGTE applies the GTE predicate on the "developer" field.

func DeveloperHasPrefix

func DeveloperHasPrefix(v string) predicate.AppInfo

DeveloperHasPrefix applies the HasPrefix predicate on the "developer" field.

func DeveloperHasSuffix

func DeveloperHasSuffix(v string) predicate.AppInfo

DeveloperHasSuffix applies the HasSuffix predicate on the "developer" field.

func DeveloperIn

func DeveloperIn(vs ...string) predicate.AppInfo

DeveloperIn applies the In predicate on the "developer" field.

func DeveloperIsNil

func DeveloperIsNil() predicate.AppInfo

DeveloperIsNil applies the IsNil predicate on the "developer" field.

func DeveloperLT

func DeveloperLT(v string) predicate.AppInfo

DeveloperLT applies the LT predicate on the "developer" field.

func DeveloperLTE

func DeveloperLTE(v string) predicate.AppInfo

DeveloperLTE applies the LTE predicate on the "developer" field.

func DeveloperNEQ

func DeveloperNEQ(v string) predicate.AppInfo

DeveloperNEQ applies the NEQ predicate on the "developer" field.

func DeveloperNotIn

func DeveloperNotIn(vs ...string) predicate.AppInfo

DeveloperNotIn applies the NotIn predicate on the "developer" field.

func DeveloperNotNil

func DeveloperNotNil() predicate.AppInfo

DeveloperNotNil applies the NotNil predicate on the "developer" field.

func HasApp

func HasApp() predicate.AppInfo

HasApp applies the HasEdge predicate on the "app" edge.

func HasAppBinary

func HasAppBinary() predicate.AppInfo

HasAppBinary applies the HasEdge predicate on the "app_binary" edge.

func HasAppBinaryWith

func HasAppBinaryWith(preds ...predicate.AppBinary) predicate.AppInfo

HasAppBinaryWith applies the HasEdge predicate on the "app_binary" edge with a given conditions (other predicates).

func HasAppWith

func HasAppWith(preds ...predicate.App) predicate.AppInfo

HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).

func HasBindExternal

func HasBindExternal() predicate.AppInfo

HasBindExternal applies the HasEdge predicate on the "bind_external" edge.

func HasBindExternalWith

func HasBindExternalWith(preds ...predicate.AppInfo) predicate.AppInfo

HasBindExternalWith applies the HasEdge predicate on the "bind_external" edge with a given conditions (other predicates).

func HasBindInternal

func HasBindInternal() predicate.AppInfo

HasBindInternal applies the HasEdge predicate on the "bind_internal" edge.

func HasBindInternalWith

func HasBindInternalWith(preds ...predicate.AppInfo) predicate.AppInfo

HasBindInternalWith applies the HasEdge predicate on the "bind_internal" edge with a given conditions (other predicates).

func HasPurchasedByAccount

func HasPurchasedByAccount() predicate.AppInfo

HasPurchasedByAccount applies the HasEdge predicate on the "purchased_by_account" edge.

func HasPurchasedByAccountWith

func HasPurchasedByAccountWith(preds ...predicate.Account) predicate.AppInfo

HasPurchasedByAccountWith applies the HasEdge predicate on the "purchased_by_account" edge with a given conditions (other predicates).

func HasPurchasedByUser

func HasPurchasedByUser() predicate.AppInfo

HasPurchasedByUser applies the HasEdge predicate on the "purchased_by_user" edge.

func HasPurchasedByUserWith

func HasPurchasedByUserWith(preds ...predicate.User) predicate.AppInfo

HasPurchasedByUserWith applies the HasEdge predicate on the "purchased_by_user" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...model.InternalID) predicate.AppInfo

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...model.InternalID) predicate.AppInfo

IDNotIn applies the NotIn predicate on the ID field.

func IconImageURL

func IconImageURL(v string) predicate.AppInfo

IconImageURL applies equality check predicate on the "icon_image_url" field. It's identical to IconImageURLEQ.

func IconImageURLContains

func IconImageURLContains(v string) predicate.AppInfo

IconImageURLContains applies the Contains predicate on the "icon_image_url" field.

func IconImageURLContainsFold

func IconImageURLContainsFold(v string) predicate.AppInfo

IconImageURLContainsFold applies the ContainsFold predicate on the "icon_image_url" field.

func IconImageURLEQ

func IconImageURLEQ(v string) predicate.AppInfo

IconImageURLEQ applies the EQ predicate on the "icon_image_url" field.

func IconImageURLEqualFold

func IconImageURLEqualFold(v string) predicate.AppInfo

IconImageURLEqualFold applies the EqualFold predicate on the "icon_image_url" field.

func IconImageURLGT

func IconImageURLGT(v string) predicate.AppInfo

IconImageURLGT applies the GT predicate on the "icon_image_url" field.

func IconImageURLGTE

func IconImageURLGTE(v string) predicate.AppInfo

IconImageURLGTE applies the GTE predicate on the "icon_image_url" field.

func IconImageURLHasPrefix

func IconImageURLHasPrefix(v string) predicate.AppInfo

IconImageURLHasPrefix applies the HasPrefix predicate on the "icon_image_url" field.

func IconImageURLHasSuffix

func IconImageURLHasSuffix(v string) predicate.AppInfo

IconImageURLHasSuffix applies the HasSuffix predicate on the "icon_image_url" field.

func IconImageURLIn

func IconImageURLIn(vs ...string) predicate.AppInfo

IconImageURLIn applies the In predicate on the "icon_image_url" field.

func IconImageURLIsNil

func IconImageURLIsNil() predicate.AppInfo

IconImageURLIsNil applies the IsNil predicate on the "icon_image_url" field.

func IconImageURLLT

func IconImageURLLT(v string) predicate.AppInfo

IconImageURLLT applies the LT predicate on the "icon_image_url" field.

func IconImageURLLTE

func IconImageURLLTE(v string) predicate.AppInfo

IconImageURLLTE applies the LTE predicate on the "icon_image_url" field.

func IconImageURLNEQ

func IconImageURLNEQ(v string) predicate.AppInfo

IconImageURLNEQ applies the NEQ predicate on the "icon_image_url" field.

func IconImageURLNotIn

func IconImageURLNotIn(vs ...string) predicate.AppInfo

IconImageURLNotIn applies the NotIn predicate on the "icon_image_url" field.

func IconImageURLNotNil

func IconImageURLNotNil() predicate.AppInfo

IconImageURLNotNil applies the NotNil predicate on the "icon_image_url" field.

func Internal

func Internal(v bool) predicate.AppInfo

Internal applies equality check predicate on the "internal" field. It's identical to InternalEQ.

func InternalEQ

func InternalEQ(v bool) predicate.AppInfo

InternalEQ applies the EQ predicate on the "internal" field.

func InternalNEQ

func InternalNEQ(v bool) predicate.AppInfo

InternalNEQ applies the NEQ predicate on the "internal" field.

func Name

func Name(v string) predicate.AppInfo

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AppInfo

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AppInfo

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.AppInfo

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AppInfo

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.AppInfo

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.AppInfo

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AppInfo

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AppInfo

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.AppInfo

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.AppInfo

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.AppInfo

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.AppInfo

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AppInfo

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AppInfo) predicate.AppInfo

Or groups predicates with the OR operator between them.

func Publisher

func Publisher(v string) predicate.AppInfo

Publisher applies equality check predicate on the "publisher" field. It's identical to PublisherEQ.

func PublisherContains

func PublisherContains(v string) predicate.AppInfo

PublisherContains applies the Contains predicate on the "publisher" field.

func PublisherContainsFold

func PublisherContainsFold(v string) predicate.AppInfo

PublisherContainsFold applies the ContainsFold predicate on the "publisher" field.

func PublisherEQ

func PublisherEQ(v string) predicate.AppInfo

PublisherEQ applies the EQ predicate on the "publisher" field.

func PublisherEqualFold

func PublisherEqualFold(v string) predicate.AppInfo

PublisherEqualFold applies the EqualFold predicate on the "publisher" field.

func PublisherGT

func PublisherGT(v string) predicate.AppInfo

PublisherGT applies the GT predicate on the "publisher" field.

func PublisherGTE

func PublisherGTE(v string) predicate.AppInfo

PublisherGTE applies the GTE predicate on the "publisher" field.

func PublisherHasPrefix

func PublisherHasPrefix(v string) predicate.AppInfo

PublisherHasPrefix applies the HasPrefix predicate on the "publisher" field.

func PublisherHasSuffix

func PublisherHasSuffix(v string) predicate.AppInfo

PublisherHasSuffix applies the HasSuffix predicate on the "publisher" field.

func PublisherIn

func PublisherIn(vs ...string) predicate.AppInfo

PublisherIn applies the In predicate on the "publisher" field.

func PublisherIsNil

func PublisherIsNil() predicate.AppInfo

PublisherIsNil applies the IsNil predicate on the "publisher" field.

func PublisherLT

func PublisherLT(v string) predicate.AppInfo

PublisherLT applies the LT predicate on the "publisher" field.

func PublisherLTE

func PublisherLTE(v string) predicate.AppInfo

PublisherLTE applies the LTE predicate on the "publisher" field.

func PublisherNEQ

func PublisherNEQ(v string) predicate.AppInfo

PublisherNEQ applies the NEQ predicate on the "publisher" field.

func PublisherNotIn

func PublisherNotIn(vs ...string) predicate.AppInfo

PublisherNotIn applies the NotIn predicate on the "publisher" field.

func PublisherNotNil

func PublisherNotNil() predicate.AppInfo

PublisherNotNil applies the NotNil predicate on the "publisher" field.

func ReleaseDate

func ReleaseDate(v string) predicate.AppInfo

ReleaseDate applies equality check predicate on the "release_date" field. It's identical to ReleaseDateEQ.

func ReleaseDateContains

func ReleaseDateContains(v string) predicate.AppInfo

ReleaseDateContains applies the Contains predicate on the "release_date" field.

func ReleaseDateContainsFold

func ReleaseDateContainsFold(v string) predicate.AppInfo

ReleaseDateContainsFold applies the ContainsFold predicate on the "release_date" field.

func ReleaseDateEQ

func ReleaseDateEQ(v string) predicate.AppInfo

ReleaseDateEQ applies the EQ predicate on the "release_date" field.

func ReleaseDateEqualFold

func ReleaseDateEqualFold(v string) predicate.AppInfo

ReleaseDateEqualFold applies the EqualFold predicate on the "release_date" field.

func ReleaseDateGT

func ReleaseDateGT(v string) predicate.AppInfo

ReleaseDateGT applies the GT predicate on the "release_date" field.

func ReleaseDateGTE

func ReleaseDateGTE(v string) predicate.AppInfo

ReleaseDateGTE applies the GTE predicate on the "release_date" field.

func ReleaseDateHasPrefix

func ReleaseDateHasPrefix(v string) predicate.AppInfo

ReleaseDateHasPrefix applies the HasPrefix predicate on the "release_date" field.

func ReleaseDateHasSuffix

func ReleaseDateHasSuffix(v string) predicate.AppInfo

ReleaseDateHasSuffix applies the HasSuffix predicate on the "release_date" field.

func ReleaseDateIn

func ReleaseDateIn(vs ...string) predicate.AppInfo

ReleaseDateIn applies the In predicate on the "release_date" field.

func ReleaseDateIsNil

func ReleaseDateIsNil() predicate.AppInfo

ReleaseDateIsNil applies the IsNil predicate on the "release_date" field.

func ReleaseDateLT

func ReleaseDateLT(v string) predicate.AppInfo

ReleaseDateLT applies the LT predicate on the "release_date" field.

func ReleaseDateLTE

func ReleaseDateLTE(v string) predicate.AppInfo

ReleaseDateLTE applies the LTE predicate on the "release_date" field.

func ReleaseDateNEQ

func ReleaseDateNEQ(v string) predicate.AppInfo

ReleaseDateNEQ applies the NEQ predicate on the "release_date" field.

func ReleaseDateNotIn

func ReleaseDateNotIn(vs ...string) predicate.AppInfo

ReleaseDateNotIn applies the NotIn predicate on the "release_date" field.

func ReleaseDateNotNil

func ReleaseDateNotNil() predicate.AppInfo

ReleaseDateNotNil applies the NotNil predicate on the "release_date" field.

func ShortDescription

func ShortDescription(v string) predicate.AppInfo

ShortDescription applies equality check predicate on the "short_description" field. It's identical to ShortDescriptionEQ.

func ShortDescriptionContains

func ShortDescriptionContains(v string) predicate.AppInfo

ShortDescriptionContains applies the Contains predicate on the "short_description" field.

func ShortDescriptionContainsFold

func ShortDescriptionContainsFold(v string) predicate.AppInfo

ShortDescriptionContainsFold applies the ContainsFold predicate on the "short_description" field.

func ShortDescriptionEQ

func ShortDescriptionEQ(v string) predicate.AppInfo

ShortDescriptionEQ applies the EQ predicate on the "short_description" field.

func ShortDescriptionEqualFold

func ShortDescriptionEqualFold(v string) predicate.AppInfo

ShortDescriptionEqualFold applies the EqualFold predicate on the "short_description" field.

func ShortDescriptionGT

func ShortDescriptionGT(v string) predicate.AppInfo

ShortDescriptionGT applies the GT predicate on the "short_description" field.

func ShortDescriptionGTE

func ShortDescriptionGTE(v string) predicate.AppInfo

ShortDescriptionGTE applies the GTE predicate on the "short_description" field.

func ShortDescriptionHasPrefix

func ShortDescriptionHasPrefix(v string) predicate.AppInfo

ShortDescriptionHasPrefix applies the HasPrefix predicate on the "short_description" field.

func ShortDescriptionHasSuffix

func ShortDescriptionHasSuffix(v string) predicate.AppInfo

ShortDescriptionHasSuffix applies the HasSuffix predicate on the "short_description" field.

func ShortDescriptionIn

func ShortDescriptionIn(vs ...string) predicate.AppInfo

ShortDescriptionIn applies the In predicate on the "short_description" field.

func ShortDescriptionIsNil

func ShortDescriptionIsNil() predicate.AppInfo

ShortDescriptionIsNil applies the IsNil predicate on the "short_description" field.

func ShortDescriptionLT

func ShortDescriptionLT(v string) predicate.AppInfo

ShortDescriptionLT applies the LT predicate on the "short_description" field.

func ShortDescriptionLTE

func ShortDescriptionLTE(v string) predicate.AppInfo

ShortDescriptionLTE applies the LTE predicate on the "short_description" field.

func ShortDescriptionNEQ

func ShortDescriptionNEQ(v string) predicate.AppInfo

ShortDescriptionNEQ applies the NEQ predicate on the "short_description" field.

func ShortDescriptionNotIn

func ShortDescriptionNotIn(vs ...string) predicate.AppInfo

ShortDescriptionNotIn applies the NotIn predicate on the "short_description" field.

func ShortDescriptionNotNil

func ShortDescriptionNotNil() predicate.AppInfo

ShortDescriptionNotNil applies the NotNil predicate on the "short_description" field.

func Source

func Source(v string) predicate.AppInfo

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceAppID

func SourceAppID(v string) predicate.AppInfo

SourceAppID applies equality check predicate on the "source_app_id" field. It's identical to SourceAppIDEQ.

func SourceAppIDContains

func SourceAppIDContains(v string) predicate.AppInfo

SourceAppIDContains applies the Contains predicate on the "source_app_id" field.

func SourceAppIDContainsFold

func SourceAppIDContainsFold(v string) predicate.AppInfo

SourceAppIDContainsFold applies the ContainsFold predicate on the "source_app_id" field.

func SourceAppIDEQ

func SourceAppIDEQ(v string) predicate.AppInfo

SourceAppIDEQ applies the EQ predicate on the "source_app_id" field.

func SourceAppIDEqualFold

func SourceAppIDEqualFold(v string) predicate.AppInfo

SourceAppIDEqualFold applies the EqualFold predicate on the "source_app_id" field.

func SourceAppIDGT

func SourceAppIDGT(v string) predicate.AppInfo

SourceAppIDGT applies the GT predicate on the "source_app_id" field.

func SourceAppIDGTE

func SourceAppIDGTE(v string) predicate.AppInfo

SourceAppIDGTE applies the GTE predicate on the "source_app_id" field.

func SourceAppIDHasPrefix

func SourceAppIDHasPrefix(v string) predicate.AppInfo

SourceAppIDHasPrefix applies the HasPrefix predicate on the "source_app_id" field.

func SourceAppIDHasSuffix

func SourceAppIDHasSuffix(v string) predicate.AppInfo

SourceAppIDHasSuffix applies the HasSuffix predicate on the "source_app_id" field.

func SourceAppIDIn

func SourceAppIDIn(vs ...string) predicate.AppInfo

SourceAppIDIn applies the In predicate on the "source_app_id" field.

func SourceAppIDLT

func SourceAppIDLT(v string) predicate.AppInfo

SourceAppIDLT applies the LT predicate on the "source_app_id" field.

func SourceAppIDLTE

func SourceAppIDLTE(v string) predicate.AppInfo

SourceAppIDLTE applies the LTE predicate on the "source_app_id" field.

func SourceAppIDNEQ

func SourceAppIDNEQ(v string) predicate.AppInfo

SourceAppIDNEQ applies the NEQ predicate on the "source_app_id" field.

func SourceAppIDNotIn

func SourceAppIDNotIn(vs ...string) predicate.AppInfo

SourceAppIDNotIn applies the NotIn predicate on the "source_app_id" field.

func SourceContains

func SourceContains(v string) predicate.AppInfo

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.AppInfo

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.AppInfo

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.AppInfo

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.AppInfo

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.AppInfo

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.AppInfo

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.AppInfo

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

func SourceIn(vs ...string) predicate.AppInfo

SourceIn applies the In predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.AppInfo

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.AppInfo

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.AppInfo

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.AppInfo

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceURL

func SourceURL(v string) predicate.AppInfo

SourceURL applies equality check predicate on the "source_url" field. It's identical to SourceURLEQ.

func SourceURLContains

func SourceURLContains(v string) predicate.AppInfo

SourceURLContains applies the Contains predicate on the "source_url" field.

func SourceURLContainsFold

func SourceURLContainsFold(v string) predicate.AppInfo

SourceURLContainsFold applies the ContainsFold predicate on the "source_url" field.

func SourceURLEQ

func SourceURLEQ(v string) predicate.AppInfo

SourceURLEQ applies the EQ predicate on the "source_url" field.

func SourceURLEqualFold

func SourceURLEqualFold(v string) predicate.AppInfo

SourceURLEqualFold applies the EqualFold predicate on the "source_url" field.

func SourceURLGT

func SourceURLGT(v string) predicate.AppInfo

SourceURLGT applies the GT predicate on the "source_url" field.

func SourceURLGTE

func SourceURLGTE(v string) predicate.AppInfo

SourceURLGTE applies the GTE predicate on the "source_url" field.

func SourceURLHasPrefix

func SourceURLHasPrefix(v string) predicate.AppInfo

SourceURLHasPrefix applies the HasPrefix predicate on the "source_url" field.

func SourceURLHasSuffix

func SourceURLHasSuffix(v string) predicate.AppInfo

SourceURLHasSuffix applies the HasSuffix predicate on the "source_url" field.

func SourceURLIn

func SourceURLIn(vs ...string) predicate.AppInfo

SourceURLIn applies the In predicate on the "source_url" field.

func SourceURLIsNil

func SourceURLIsNil() predicate.AppInfo

SourceURLIsNil applies the IsNil predicate on the "source_url" field.

func SourceURLLT

func SourceURLLT(v string) predicate.AppInfo

SourceURLLT applies the LT predicate on the "source_url" field.

func SourceURLLTE

func SourceURLLTE(v string) predicate.AppInfo

SourceURLLTE applies the LTE predicate on the "source_url" field.

func SourceURLNEQ

func SourceURLNEQ(v string) predicate.AppInfo

SourceURLNEQ applies the NEQ predicate on the "source_url" field.

func SourceURLNotIn

func SourceURLNotIn(vs ...string) predicate.AppInfo

SourceURLNotIn applies the NotIn predicate on the "source_url" field.

func SourceURLNotNil

func SourceURLNotNil() predicate.AppInfo

SourceURLNotNil applies the NotNil predicate on the "source_url" field.

func TypeEQ

func TypeEQ(v Type) predicate.AppInfo

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.AppInfo

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.AppInfo

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.AppInfo

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AppInfo

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AppInfo

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AppInfo

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AppInfo

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AppInfo

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AppInfo

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AppInfo

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AppInfo

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AppInfo

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v string) predicate.AppInfo

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.AppInfo

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.AppInfo

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.AppInfo

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.AppInfo

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.AppInfo

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.AppInfo

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.AppInfo

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.AppInfo

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.AppInfo

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.AppInfo

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.AppInfo

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.AppInfo

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.AppInfo

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.AppInfo

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.AppInfo

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AppInfo queries.

func ByApp

func ByApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByApp orders the results by app terms.

func ByAppBinary

func ByAppBinary(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAppBinary orders the results by app_binary terms.

func ByAppBinaryCount

func ByAppBinaryCount(opts ...sql.OrderTermOption) OrderOption

ByAppBinaryCount orders the results by app_binary count.

func ByAppCount

func ByAppCount(opts ...sql.OrderTermOption) OrderOption

ByAppCount orders the results by app count.

func ByBackgroundImageURL

func ByBackgroundImageURL(opts ...sql.OrderTermOption) OrderOption

ByBackgroundImageURL orders the results by the background_image_url field.

func ByBindExternal

func ByBindExternal(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBindExternal orders the results by bind_external terms.

func ByBindExternalCount

func ByBindExternalCount(opts ...sql.OrderTermOption) OrderOption

ByBindExternalCount orders the results by bind_external count.

func ByBindInternalField

func ByBindInternalField(field string, opts ...sql.OrderTermOption) OrderOption

ByBindInternalField orders the results by bind_internal field.

func ByCoverImageURL

func ByCoverImageURL(opts ...sql.OrderTermOption) OrderOption

ByCoverImageURL orders the results by the cover_image_url field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByDeveloper

func ByDeveloper(opts ...sql.OrderTermOption) OrderOption

ByDeveloper orders the results by the developer field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIconImageURL

func ByIconImageURL(opts ...sql.OrderTermOption) OrderOption

ByIconImageURL orders the results by the icon_image_url field.

func ByInternal

func ByInternal(opts ...sql.OrderTermOption) OrderOption

ByInternal orders the results by the internal field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByPublisher

func ByPublisher(opts ...sql.OrderTermOption) OrderOption

ByPublisher orders the results by the publisher field.

func ByPurchasedByAccount

func ByPurchasedByAccount(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPurchasedByAccount orders the results by purchased_by_account terms.

func ByPurchasedByAccountCount

func ByPurchasedByAccountCount(opts ...sql.OrderTermOption) OrderOption

ByPurchasedByAccountCount orders the results by purchased_by_account count.

func ByPurchasedByUser

func ByPurchasedByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPurchasedByUser orders the results by purchased_by_user terms.

func ByPurchasedByUserCount

func ByPurchasedByUserCount(opts ...sql.OrderTermOption) OrderOption

ByPurchasedByUserCount orders the results by purchased_by_user count.

func ByReleaseDate

func ByReleaseDate(opts ...sql.OrderTermOption) OrderOption

ByReleaseDate orders the results by the release_date field.

func ByShortDescription

func ByShortDescription(opts ...sql.OrderTermOption) OrderOption

ByShortDescription orders the results by the short_description field.

func BySource

func BySource(opts ...sql.OrderTermOption) OrderOption

BySource orders the results by the source field.

func BySourceAppID

func BySourceAppID(opts ...sql.OrderTermOption) OrderOption

BySourceAppID orders the results by the source_app_id field.

func BySourceURL

func BySourceURL(opts ...sql.OrderTermOption) OrderOption

BySourceURL orders the results by the source_url field.

func ByType

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the type field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByVersion

func ByVersion(opts ...sql.OrderTermOption) OrderOption

ByVersion orders the results by the version field.

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeUnknown Type = "unknown"
	TypeGame    Type = "game"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL