page

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the page type in the database.
	Label = "page"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHostname holds the string denoting the hostname field in the database.
	FieldHostname = "hostname"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldReferrer holds the string denoting the referrer field in the database.
	FieldReferrer = "referrer"
	// FieldSearch holds the string denoting the search field in the database.
	FieldSearch = "search"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldHash holds the string denoting the hash field in the database.
	FieldHash = "hash"

	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"

	// Table holds the table name of the page in the database.
	Table = "pages"
	// EventsTable is the table the holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "event_page"
)

Variables

Columns holds all SQL columns for page fields.

Functions

func And

func And(predicates ...predicate.Page) predicate.Page

And groups list of predicates with the AND operator between them.

func HasEvents

func HasEvents() predicate.Page

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Page

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

func Hash

func Hash(v string) predicate.Page

Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.

func HashContains

func HashContains(v string) predicate.Page

HashContains applies the Contains predicate on the "hash" field.

func HashContainsFold

func HashContainsFold(v string) predicate.Page

HashContainsFold applies the ContainsFold predicate on the "hash" field.

func HashEQ

func HashEQ(v string) predicate.Page

HashEQ applies the EQ predicate on the "hash" field.

func HashEqualFold

func HashEqualFold(v string) predicate.Page

HashEqualFold applies the EqualFold predicate on the "hash" field.

func HashGT

func HashGT(v string) predicate.Page

HashGT applies the GT predicate on the "hash" field.

func HashGTE

func HashGTE(v string) predicate.Page

HashGTE applies the GTE predicate on the "hash" field.

func HashHasPrefix

func HashHasPrefix(v string) predicate.Page

HashHasPrefix applies the HasPrefix predicate on the "hash" field.

func HashHasSuffix

func HashHasSuffix(v string) predicate.Page

HashHasSuffix applies the HasSuffix predicate on the "hash" field.

func HashIn

func HashIn(vs ...string) predicate.Page

HashIn applies the In predicate on the "hash" field.

func HashIsNil

func HashIsNil() predicate.Page

HashIsNil applies the IsNil predicate on the "hash" field.

func HashLT

func HashLT(v string) predicate.Page

HashLT applies the LT predicate on the "hash" field.

func HashLTE

func HashLTE(v string) predicate.Page

HashLTE applies the LTE predicate on the "hash" field.

func HashNEQ

func HashNEQ(v string) predicate.Page

HashNEQ applies the NEQ predicate on the "hash" field.

func HashNotIn

func HashNotIn(vs ...string) predicate.Page

HashNotIn applies the NotIn predicate on the "hash" field.

func HashNotNil

func HashNotNil() predicate.Page

HashNotNil applies the NotNil predicate on the "hash" field.

func Hostname

func Hostname(v string) predicate.Page

Hostname applies equality check predicate on the "hostname" field. It's identical to HostnameEQ.

func HostnameContains

func HostnameContains(v string) predicate.Page

HostnameContains applies the Contains predicate on the "hostname" field.

func HostnameContainsFold

func HostnameContainsFold(v string) predicate.Page

HostnameContainsFold applies the ContainsFold predicate on the "hostname" field.

func HostnameEQ

func HostnameEQ(v string) predicate.Page

HostnameEQ applies the EQ predicate on the "hostname" field.

func HostnameEqualFold

func HostnameEqualFold(v string) predicate.Page

HostnameEqualFold applies the EqualFold predicate on the "hostname" field.

func HostnameGT

func HostnameGT(v string) predicate.Page

HostnameGT applies the GT predicate on the "hostname" field.

func HostnameGTE

func HostnameGTE(v string) predicate.Page

HostnameGTE applies the GTE predicate on the "hostname" field.

func HostnameHasPrefix

func HostnameHasPrefix(v string) predicate.Page

HostnameHasPrefix applies the HasPrefix predicate on the "hostname" field.

func HostnameHasSuffix

func HostnameHasSuffix(v string) predicate.Page

HostnameHasSuffix applies the HasSuffix predicate on the "hostname" field.

func HostnameIn

func HostnameIn(vs ...string) predicate.Page

HostnameIn applies the In predicate on the "hostname" field.

func HostnameLT

func HostnameLT(v string) predicate.Page

HostnameLT applies the LT predicate on the "hostname" field.

func HostnameLTE

func HostnameLTE(v string) predicate.Page

HostnameLTE applies the LTE predicate on the "hostname" field.

func HostnameNEQ

func HostnameNEQ(v string) predicate.Page

HostnameNEQ applies the NEQ predicate on the "hostname" field.

func HostnameNotIn

func HostnameNotIn(vs ...string) predicate.Page

HostnameNotIn applies the NotIn predicate on the "hostname" field.

func ID

func ID(id int) predicate.Page

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Page

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Page

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Page

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Page

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Page

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Page

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Page

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Page

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Page) predicate.Page

Or groups list of predicates with the OR operator between them.

func Path

func Path(v string) predicate.Page

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.Page

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.Page

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.Page

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.Page

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.Page

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.Page

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.Page

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.Page

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.Page

PathIn applies the In predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.Page

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.Page

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.Page

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.Page

PathNotIn applies the NotIn predicate on the "path" field.

func Referrer

func Referrer(v string) predicate.Page

Referrer applies equality check predicate on the "referrer" field. It's identical to ReferrerEQ.

func ReferrerContains

func ReferrerContains(v string) predicate.Page

ReferrerContains applies the Contains predicate on the "referrer" field.

func ReferrerContainsFold

func ReferrerContainsFold(v string) predicate.Page

ReferrerContainsFold applies the ContainsFold predicate on the "referrer" field.

func ReferrerEQ

func ReferrerEQ(v string) predicate.Page

ReferrerEQ applies the EQ predicate on the "referrer" field.

func ReferrerEqualFold

func ReferrerEqualFold(v string) predicate.Page

ReferrerEqualFold applies the EqualFold predicate on the "referrer" field.

func ReferrerGT

func ReferrerGT(v string) predicate.Page

ReferrerGT applies the GT predicate on the "referrer" field.

func ReferrerGTE

func ReferrerGTE(v string) predicate.Page

ReferrerGTE applies the GTE predicate on the "referrer" field.

func ReferrerHasPrefix

func ReferrerHasPrefix(v string) predicate.Page

ReferrerHasPrefix applies the HasPrefix predicate on the "referrer" field.

func ReferrerHasSuffix

func ReferrerHasSuffix(v string) predicate.Page

ReferrerHasSuffix applies the HasSuffix predicate on the "referrer" field.

func ReferrerIn

func ReferrerIn(vs ...string) predicate.Page

ReferrerIn applies the In predicate on the "referrer" field.

func ReferrerIsNil

func ReferrerIsNil() predicate.Page

ReferrerIsNil applies the IsNil predicate on the "referrer" field.

func ReferrerLT

func ReferrerLT(v string) predicate.Page

ReferrerLT applies the LT predicate on the "referrer" field.

func ReferrerLTE

func ReferrerLTE(v string) predicate.Page

ReferrerLTE applies the LTE predicate on the "referrer" field.

func ReferrerNEQ

func ReferrerNEQ(v string) predicate.Page

ReferrerNEQ applies the NEQ predicate on the "referrer" field.

func ReferrerNotIn

func ReferrerNotIn(vs ...string) predicate.Page

ReferrerNotIn applies the NotIn predicate on the "referrer" field.

func ReferrerNotNil

func ReferrerNotNil() predicate.Page

ReferrerNotNil applies the NotNil predicate on the "referrer" field.

func Search(v string) predicate.Page

Search applies equality check predicate on the "search" field. It's identical to SearchEQ.

func SearchContains

func SearchContains(v string) predicate.Page

SearchContains applies the Contains predicate on the "search" field.

func SearchContainsFold

func SearchContainsFold(v string) predicate.Page

SearchContainsFold applies the ContainsFold predicate on the "search" field.

func SearchEQ

func SearchEQ(v string) predicate.Page

SearchEQ applies the EQ predicate on the "search" field.

func SearchEqualFold

func SearchEqualFold(v string) predicate.Page

SearchEqualFold applies the EqualFold predicate on the "search" field.

func SearchGT

func SearchGT(v string) predicate.Page

SearchGT applies the GT predicate on the "search" field.

func SearchGTE

func SearchGTE(v string) predicate.Page

SearchGTE applies the GTE predicate on the "search" field.

func SearchHasPrefix

func SearchHasPrefix(v string) predicate.Page

SearchHasPrefix applies the HasPrefix predicate on the "search" field.

func SearchHasSuffix

func SearchHasSuffix(v string) predicate.Page

SearchHasSuffix applies the HasSuffix predicate on the "search" field.

func SearchIn

func SearchIn(vs ...string) predicate.Page

SearchIn applies the In predicate on the "search" field.

func SearchIsNil

func SearchIsNil() predicate.Page

SearchIsNil applies the IsNil predicate on the "search" field.

func SearchLT

func SearchLT(v string) predicate.Page

SearchLT applies the LT predicate on the "search" field.

func SearchLTE

func SearchLTE(v string) predicate.Page

SearchLTE applies the LTE predicate on the "search" field.

func SearchNEQ

func SearchNEQ(v string) predicate.Page

SearchNEQ applies the NEQ predicate on the "search" field.

func SearchNotIn

func SearchNotIn(vs ...string) predicate.Page

SearchNotIn applies the NotIn predicate on the "search" field.

func SearchNotNil

func SearchNotNil() predicate.Page

SearchNotNil applies the NotNil predicate on the "search" field.

func Title

func Title(v string) predicate.Page

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Page

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Page

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Page

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Page

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Page

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Page

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Page

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Page

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Page

TitleIn applies the In predicate on the "title" field.

func TitleIsNil

func TitleIsNil() predicate.Page

TitleIsNil applies the IsNil predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Page

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Page

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Page

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Page

TitleNotIn applies the NotIn predicate on the "title" field.

func TitleNotNil

func TitleNotNil() predicate.Page

TitleNotNil applies the NotNil predicate on the "title" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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