app

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the app type in the database.
	Label = "app"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldImageURL holds the string denoting the image_url field in the database.
	FieldImageURL = "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"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeAppPackage holds the string denoting the app_package edge name in mutations.
	EdgeAppPackage = "app_package"
	// 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 app in the database.
	Table = "apps"
	// UserTable is the table that holds the user relation/edge. The primary key declared below.
	UserTable = "user_app"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// AppPackageTable is the table that holds the app_package relation/edge.
	AppPackageTable = "app_packages"
	// AppPackageInverseTable is the table name for the AppPackage entity.
	// It exists in this package in order to avoid circular dependency with the "apppackage" package.
	AppPackageInverseTable = "app_packages"
	// AppPackageColumn is the table column denoting the app_package relation/edge.
	AppPackageColumn = "app_app_package"
	// BindInternalTable is the table that holds the bind_internal relation/edge.
	BindInternalTable = "apps"
	// BindInternalColumn is the table column denoting the bind_internal relation/edge.
	BindInternalColumn = "app_bind_external"
	// BindExternalTable is the table that holds the bind_external relation/edge.
	BindExternalTable = "apps"
	// BindExternalColumn is the table column denoting the bind_external relation/edge.
	BindExternalColumn = "app_bind_external"
)

Variables

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 app fields.

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

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

View Source
var (
	// UserPrimaryKey and UserColumn2 are the table columns denoting the
	// primary key for the user relation (M2M).
	UserPrimaryKey = []string{"user_id", "app_id"}
)

Functions

func And

func And(predicates ...predicate.App) predicate.App

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.App

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.App

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.App

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.App

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.App

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.App

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.App

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

func CreatedAtNotIn

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

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

func Description

func Description(v string) predicate.App

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

func DescriptionContains

func DescriptionContains(v string) predicate.App

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.App

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.App

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.App

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

func DescriptionGT

func DescriptionGT(v string) predicate.App

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.App

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.App

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.App

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.App

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.App

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.App

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

func DescriptionNotIn

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

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

func Developer

func Developer(v string) predicate.App

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

func DeveloperContains

func DeveloperContains(v string) predicate.App

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

func DeveloperContainsFold

func DeveloperContainsFold(v string) predicate.App

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

func DeveloperEQ

func DeveloperEQ(v string) predicate.App

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

func DeveloperEqualFold

func DeveloperEqualFold(v string) predicate.App

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

func DeveloperGT

func DeveloperGT(v string) predicate.App

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

func DeveloperGTE

func DeveloperGTE(v string) predicate.App

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

func DeveloperHasPrefix

func DeveloperHasPrefix(v string) predicate.App

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

func DeveloperHasSuffix

func DeveloperHasSuffix(v string) predicate.App

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

func DeveloperIn

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

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

func DeveloperLT

func DeveloperLT(v string) predicate.App

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

func DeveloperLTE

func DeveloperLTE(v string) predicate.App

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

func DeveloperNEQ

func DeveloperNEQ(v string) predicate.App

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

func DeveloperNotIn

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

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

func HasAppPackage added in v0.0.6

func HasAppPackage() predicate.App

HasAppPackage applies the HasEdge predicate on the "app_package" edge.

func HasAppPackageWith added in v0.0.6

func HasAppPackageWith(preds ...predicate.AppPackage) predicate.App

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

func HasBindExternal added in v0.0.9

func HasBindExternal() predicate.App

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

func HasBindExternalWith added in v0.0.9

func HasBindExternalWith(preds ...predicate.App) predicate.App

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

func HasBindInternal added in v0.0.9

func HasBindInternal() predicate.App

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

func HasBindInternalWith added in v0.0.9

func HasBindInternalWith(preds ...predicate.App) predicate.App

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

func HasUser added in v0.0.6

func HasUser() predicate.App

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith added in v0.0.6

func HasUserWith(preds ...predicate.User) predicate.App

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id model.InternalID) predicate.App

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id model.InternalID) predicate.App

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id model.InternalID) predicate.App

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id model.InternalID) predicate.App

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id model.InternalID) predicate.App

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id model.InternalID) predicate.App

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ImageURL

func ImageURL(v string) predicate.App

ImageURL applies equality check predicate on the "image_url" field. It's identical to ImageURLEQ.

func ImageURLContains

func ImageURLContains(v string) predicate.App

ImageURLContains applies the Contains predicate on the "image_url" field.

func ImageURLContainsFold

func ImageURLContainsFold(v string) predicate.App

ImageURLContainsFold applies the ContainsFold predicate on the "image_url" field.

func ImageURLEQ

func ImageURLEQ(v string) predicate.App

ImageURLEQ applies the EQ predicate on the "image_url" field.

func ImageURLEqualFold

func ImageURLEqualFold(v string) predicate.App

ImageURLEqualFold applies the EqualFold predicate on the "image_url" field.

func ImageURLGT

func ImageURLGT(v string) predicate.App

ImageURLGT applies the GT predicate on the "image_url" field.

func ImageURLGTE

func ImageURLGTE(v string) predicate.App

ImageURLGTE applies the GTE predicate on the "image_url" field.

func ImageURLHasPrefix

func ImageURLHasPrefix(v string) predicate.App

ImageURLHasPrefix applies the HasPrefix predicate on the "image_url" field.

func ImageURLHasSuffix

func ImageURLHasSuffix(v string) predicate.App

ImageURLHasSuffix applies the HasSuffix predicate on the "image_url" field.

func ImageURLIn

func ImageURLIn(vs ...string) predicate.App

ImageURLIn applies the In predicate on the "image_url" field.

func ImageURLLT

func ImageURLLT(v string) predicate.App

ImageURLLT applies the LT predicate on the "image_url" field.

func ImageURLLTE

func ImageURLLTE(v string) predicate.App

ImageURLLTE applies the LTE predicate on the "image_url" field.

func ImageURLNEQ

func ImageURLNEQ(v string) predicate.App

ImageURLNEQ applies the NEQ predicate on the "image_url" field.

func ImageURLNotIn

func ImageURLNotIn(vs ...string) predicate.App

ImageURLNotIn applies the NotIn predicate on the "image_url" field.

func Name

func Name(v string) predicate.App

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

func NameContains

func NameContains(v string) predicate.App

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

func NameContainsFold

func NameContainsFold(v string) predicate.App

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

func NameEQ

func NameEQ(v string) predicate.App

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

func NameEqualFold

func NameEqualFold(v string) predicate.App

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

func NameGT

func NameGT(v string) predicate.App

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

func NameGTE

func NameGTE(v string) predicate.App

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.App

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.App

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.App

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

func NameLTE

func NameLTE(v string) predicate.App

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

func NameNEQ

func NameNEQ(v string) predicate.App

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

func NameNotIn

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

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

func Not

func Not(p predicate.App) predicate.App

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.App) predicate.App

Or groups predicates with the OR operator between them.

func Publisher

func Publisher(v string) predicate.App

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

func PublisherContains

func PublisherContains(v string) predicate.App

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

func PublisherContainsFold

func PublisherContainsFold(v string) predicate.App

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

func PublisherEQ

func PublisherEQ(v string) predicate.App

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

func PublisherEqualFold

func PublisherEqualFold(v string) predicate.App

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

func PublisherGT

func PublisherGT(v string) predicate.App

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

func PublisherGTE

func PublisherGTE(v string) predicate.App

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

func PublisherHasPrefix

func PublisherHasPrefix(v string) predicate.App

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

func PublisherHasSuffix

func PublisherHasSuffix(v string) predicate.App

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

func PublisherIn

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

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

func PublisherLT

func PublisherLT(v string) predicate.App

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

func PublisherLTE

func PublisherLTE(v string) predicate.App

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

func PublisherNEQ

func PublisherNEQ(v string) predicate.App

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

func PublisherNotIn

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

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

func ReleaseDate

func ReleaseDate(v string) predicate.App

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

func ReleaseDateContains

func ReleaseDateContains(v string) predicate.App

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

func ReleaseDateContainsFold

func ReleaseDateContainsFold(v string) predicate.App

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

func ReleaseDateEQ

func ReleaseDateEQ(v string) predicate.App

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

func ReleaseDateEqualFold

func ReleaseDateEqualFold(v string) predicate.App

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

func ReleaseDateGT

func ReleaseDateGT(v string) predicate.App

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

func ReleaseDateGTE

func ReleaseDateGTE(v string) predicate.App

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

func ReleaseDateHasPrefix

func ReleaseDateHasPrefix(v string) predicate.App

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

func ReleaseDateHasSuffix

func ReleaseDateHasSuffix(v string) predicate.App

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

func ReleaseDateIn

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

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

func ReleaseDateLT

func ReleaseDateLT(v string) predicate.App

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

func ReleaseDateLTE

func ReleaseDateLTE(v string) predicate.App

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

func ReleaseDateNEQ

func ReleaseDateNEQ(v string) predicate.App

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

func ReleaseDateNotIn

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

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

func ShortDescription

func ShortDescription(v string) predicate.App

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

func ShortDescriptionContains

func ShortDescriptionContains(v string) predicate.App

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

func ShortDescriptionContainsFold

func ShortDescriptionContainsFold(v string) predicate.App

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

func ShortDescriptionEQ

func ShortDescriptionEQ(v string) predicate.App

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

func ShortDescriptionEqualFold

func ShortDescriptionEqualFold(v string) predicate.App

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

func ShortDescriptionGT

func ShortDescriptionGT(v string) predicate.App

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

func ShortDescriptionGTE

func ShortDescriptionGTE(v string) predicate.App

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

func ShortDescriptionHasPrefix

func ShortDescriptionHasPrefix(v string) predicate.App

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

func ShortDescriptionHasSuffix

func ShortDescriptionHasSuffix(v string) predicate.App

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

func ShortDescriptionIn

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

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

func ShortDescriptionLT

func ShortDescriptionLT(v string) predicate.App

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

func ShortDescriptionLTE

func ShortDescriptionLTE(v string) predicate.App

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

func ShortDescriptionNEQ

func ShortDescriptionNEQ(v string) predicate.App

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

func ShortDescriptionNotIn

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

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

func SourceAppID

func SourceAppID(v string) predicate.App

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

func SourceAppIDContains

func SourceAppIDContains(v string) predicate.App

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

func SourceAppIDContainsFold

func SourceAppIDContainsFold(v string) predicate.App

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

func SourceAppIDEQ

func SourceAppIDEQ(v string) predicate.App

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

func SourceAppIDEqualFold

func SourceAppIDEqualFold(v string) predicate.App

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

func SourceAppIDGT

func SourceAppIDGT(v string) predicate.App

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

func SourceAppIDGTE

func SourceAppIDGTE(v string) predicate.App

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

func SourceAppIDHasPrefix

func SourceAppIDHasPrefix(v string) predicate.App

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

func SourceAppIDHasSuffix

func SourceAppIDHasSuffix(v string) predicate.App

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

func SourceAppIDIn

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

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

func SourceAppIDLT

func SourceAppIDLT(v string) predicate.App

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

func SourceAppIDLTE

func SourceAppIDLTE(v string) predicate.App

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

func SourceAppIDNEQ

func SourceAppIDNEQ(v string) predicate.App

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

func SourceAppIDNotIn

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

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

func SourceEQ

func SourceEQ(v Source) predicate.App

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

func SourceIn

func SourceIn(vs ...Source) predicate.App

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

func SourceNEQ

func SourceNEQ(v Source) predicate.App

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

func SourceNotIn

func SourceNotIn(vs ...Source) predicate.App

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

func SourceURL

func SourceURL(v string) predicate.App

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

func SourceURLContains

func SourceURLContains(v string) predicate.App

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

func SourceURLContainsFold

func SourceURLContainsFold(v string) predicate.App

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

func SourceURLEQ

func SourceURLEQ(v string) predicate.App

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

func SourceURLEqualFold

func SourceURLEqualFold(v string) predicate.App

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

func SourceURLGT

func SourceURLGT(v string) predicate.App

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

func SourceURLGTE

func SourceURLGTE(v string) predicate.App

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

func SourceURLHasPrefix

func SourceURLHasPrefix(v string) predicate.App

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

func SourceURLHasSuffix

func SourceURLHasSuffix(v string) predicate.App

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

func SourceURLIn

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

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

func SourceURLLT

func SourceURLLT(v string) predicate.App

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

func SourceURLLTE

func SourceURLLTE(v string) predicate.App

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

func SourceURLNEQ

func SourceURLNEQ(v string) predicate.App

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

func SourceURLNotIn

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

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

func SourceValidator

func SourceValidator(s Source) error

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

func TypeEQ

func TypeEQ(v Type) predicate.App

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

func TypeIn

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

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

func TypeNEQ

func TypeNEQ(v Type) predicate.App

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

func TypeNotIn

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

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 added in v0.0.5

func UpdatedAt(v time.Time) predicate.App

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

func UpdatedAtEQ added in v0.0.5

func UpdatedAtEQ(v time.Time) predicate.App

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

func UpdatedAtGT added in v0.0.5

func UpdatedAtGT(v time.Time) predicate.App

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

func UpdatedAtGTE added in v0.0.5

func UpdatedAtGTE(v time.Time) predicate.App

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

func UpdatedAtIn added in v0.0.5

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

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

func UpdatedAtLT added in v0.0.5

func UpdatedAtLT(v time.Time) predicate.App

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

func UpdatedAtLTE added in v0.0.5

func UpdatedAtLTE(v time.Time) predicate.App

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

func UpdatedAtNEQ added in v0.0.5

func UpdatedAtNEQ(v time.Time) predicate.App

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

func UpdatedAtNotIn added in v0.0.5

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

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 added in v0.0.5

func Version(v string) predicate.App

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

func VersionContains added in v0.0.5

func VersionContains(v string) predicate.App

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

func VersionContainsFold added in v0.0.5

func VersionContainsFold(v string) predicate.App

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

func VersionEQ added in v0.0.5

func VersionEQ(v string) predicate.App

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

func VersionEqualFold added in v0.0.5

func VersionEqualFold(v string) predicate.App

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

func VersionGT added in v0.0.5

func VersionGT(v string) predicate.App

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

func VersionGTE added in v0.0.5

func VersionGTE(v string) predicate.App

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

func VersionHasPrefix added in v0.0.5

func VersionHasPrefix(v string) predicate.App

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

func VersionHasSuffix added in v0.0.5

func VersionHasSuffix(v string) predicate.App

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

func VersionIn added in v0.0.5

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

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

func VersionLT added in v0.0.5

func VersionLT(v string) predicate.App

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

func VersionLTE added in v0.0.5

func VersionLTE(v string) predicate.App

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

func VersionNEQ added in v0.0.5

func VersionNEQ(v string) predicate.App

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

func VersionNotIn added in v0.0.5

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

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

Types

type Source

type Source string

Source defines the type for the "source" enum field.

const (
	SourceInternal Source = "internal"
	SourceSteam    Source = "steam"
)

Source values.

func (Source) String

func (s Source) String() string

type Type

type Type string

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

const (
	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