sitedetail

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

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the sitedetail type in the database.
	Label = "site_detail"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldPhone holds the string denoting the phone field in the database.
	FieldPhone = "phone"
	// FieldAddress holds the string denoting the address field in the database.
	FieldAddress = "address"
	// FieldFb holds the string denoting the fb field in the database.
	FieldFb = "fb"
	// FieldTw holds the string denoting the tw field in the database.
	FieldTw = "tw"
	// FieldWh holds the string denoting the wh field in the database.
	FieldWh = "wh"
	// FieldIg holds the string denoting the ig field in the database.
	FieldIg = "ig"
	// Table holds the table name of the sitedetail in the database.
	Table = "site_details"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultName holds the default value on creation for the "name" field.
	DefaultName string
	// DefaultEmail holds the default value on creation for the "email" field.
	DefaultEmail string
	// DefaultPhone holds the default value on creation for the "phone" field.
	DefaultPhone string
	// DefaultAddress holds the default value on creation for the "address" field.
	DefaultAddress string
	// DefaultFb holds the default value on creation for the "fb" field.
	DefaultFb string
	// DefaultTw holds the default value on creation for the "tw" field.
	DefaultTw string
	// DefaultWh holds the default value on creation for the "wh" field.
	DefaultWh string
	// DefaultIg holds the default value on creation for the "ig" field.
	DefaultIg string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for sitedetail fields.

Functions

func Address

func Address(v string) predicate.SiteDetail

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.SiteDetail

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.SiteDetail

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

func AddressEQ(v string) predicate.SiteDetail

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.SiteDetail

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

func AddressGT(v string) predicate.SiteDetail

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

func AddressGTE(v string) predicate.SiteDetail

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.SiteDetail

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.SiteDetail

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.SiteDetail

AddressIn applies the In predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.SiteDetail

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

func AddressLTE(v string) predicate.SiteDetail

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

func AddressNEQ(v string) predicate.SiteDetail

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.SiteDetail

AddressNotIn applies the NotIn predicate on the "address" field.

func And

func And(predicates ...predicate.SiteDetail) predicate.SiteDetail

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.SiteDetail

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SiteDetail

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SiteDetail

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SiteDetail

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SiteDetail

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SiteDetail

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SiteDetail

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

func CreatedAtNotIn

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

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

func Email

func Email(v string) predicate.SiteDetail

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.SiteDetail

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.SiteDetail

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.SiteDetail

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.SiteDetail

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.SiteDetail

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.SiteDetail

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.SiteDetail

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.SiteDetail

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.SiteDetail

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.SiteDetail

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.SiteDetail

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.SiteDetail

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.SiteDetail

EmailNotIn applies the NotIn predicate on the "email" field.

func Fb

Fb applies equality check predicate on the "fb" field. It's identical to FbEQ.

func FbContains

func FbContains(v string) predicate.SiteDetail

FbContains applies the Contains predicate on the "fb" field.

func FbContainsFold

func FbContainsFold(v string) predicate.SiteDetail

FbContainsFold applies the ContainsFold predicate on the "fb" field.

func FbEQ

func FbEQ(v string) predicate.SiteDetail

FbEQ applies the EQ predicate on the "fb" field.

func FbEqualFold

func FbEqualFold(v string) predicate.SiteDetail

FbEqualFold applies the EqualFold predicate on the "fb" field.

func FbGT

func FbGT(v string) predicate.SiteDetail

FbGT applies the GT predicate on the "fb" field.

func FbGTE

func FbGTE(v string) predicate.SiteDetail

FbGTE applies the GTE predicate on the "fb" field.

func FbHasPrefix

func FbHasPrefix(v string) predicate.SiteDetail

FbHasPrefix applies the HasPrefix predicate on the "fb" field.

func FbHasSuffix

func FbHasSuffix(v string) predicate.SiteDetail

FbHasSuffix applies the HasSuffix predicate on the "fb" field.

func FbIn

func FbIn(vs ...string) predicate.SiteDetail

FbIn applies the In predicate on the "fb" field.

func FbLT

func FbLT(v string) predicate.SiteDetail

FbLT applies the LT predicate on the "fb" field.

func FbLTE

func FbLTE(v string) predicate.SiteDetail

FbLTE applies the LTE predicate on the "fb" field.

func FbNEQ

func FbNEQ(v string) predicate.SiteDetail

FbNEQ applies the NEQ predicate on the "fb" field.

func FbNotIn

func FbNotIn(vs ...string) predicate.SiteDetail

FbNotIn applies the NotIn predicate on the "fb" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.SiteDetail

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.SiteDetail

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.SiteDetail

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.SiteDetail

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.SiteDetail

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.SiteDetail

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.SiteDetail

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.SiteDetail

IDNotIn applies the NotIn predicate on the ID field.

func Ig

Ig applies equality check predicate on the "ig" field. It's identical to IgEQ.

func IgContains

func IgContains(v string) predicate.SiteDetail

IgContains applies the Contains predicate on the "ig" field.

func IgContainsFold

func IgContainsFold(v string) predicate.SiteDetail

IgContainsFold applies the ContainsFold predicate on the "ig" field.

func IgEQ

func IgEQ(v string) predicate.SiteDetail

IgEQ applies the EQ predicate on the "ig" field.

func IgEqualFold

func IgEqualFold(v string) predicate.SiteDetail

IgEqualFold applies the EqualFold predicate on the "ig" field.

func IgGT

func IgGT(v string) predicate.SiteDetail

IgGT applies the GT predicate on the "ig" field.

func IgGTE

func IgGTE(v string) predicate.SiteDetail

IgGTE applies the GTE predicate on the "ig" field.

func IgHasPrefix

func IgHasPrefix(v string) predicate.SiteDetail

IgHasPrefix applies the HasPrefix predicate on the "ig" field.

func IgHasSuffix

func IgHasSuffix(v string) predicate.SiteDetail

IgHasSuffix applies the HasSuffix predicate on the "ig" field.

func IgIn

func IgIn(vs ...string) predicate.SiteDetail

IgIn applies the In predicate on the "ig" field.

func IgLT

func IgLT(v string) predicate.SiteDetail

IgLT applies the LT predicate on the "ig" field.

func IgLTE

func IgLTE(v string) predicate.SiteDetail

IgLTE applies the LTE predicate on the "ig" field.

func IgNEQ

func IgNEQ(v string) predicate.SiteDetail

IgNEQ applies the NEQ predicate on the "ig" field.

func IgNotIn

func IgNotIn(vs ...string) predicate.SiteDetail

IgNotIn applies the NotIn predicate on the "ig" field.

func Name

func Name(v string) predicate.SiteDetail

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

func NameContains

func NameContains(v string) predicate.SiteDetail

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

func NameContainsFold

func NameContainsFold(v string) predicate.SiteDetail

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

func NameEQ

func NameEQ(v string) predicate.SiteDetail

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

func NameEqualFold

func NameEqualFold(v string) predicate.SiteDetail

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

func NameGT

func NameGT(v string) predicate.SiteDetail

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

func NameGTE

func NameGTE(v string) predicate.SiteDetail

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.SiteDetail

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.SiteDetail

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.SiteDetail

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

func NameLTE

func NameLTE(v string) predicate.SiteDetail

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

func NameNEQ

func NameNEQ(v string) predicate.SiteDetail

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

func NameNotIn

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

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.SiteDetail) predicate.SiteDetail

Or groups predicates with the OR operator between them.

func Phone

func Phone(v string) predicate.SiteDetail

Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.

func PhoneContains

func PhoneContains(v string) predicate.SiteDetail

PhoneContains applies the Contains predicate on the "phone" field.

func PhoneContainsFold

func PhoneContainsFold(v string) predicate.SiteDetail

PhoneContainsFold applies the ContainsFold predicate on the "phone" field.

func PhoneEQ

func PhoneEQ(v string) predicate.SiteDetail

PhoneEQ applies the EQ predicate on the "phone" field.

func PhoneEqualFold

func PhoneEqualFold(v string) predicate.SiteDetail

PhoneEqualFold applies the EqualFold predicate on the "phone" field.

func PhoneGT

func PhoneGT(v string) predicate.SiteDetail

PhoneGT applies the GT predicate on the "phone" field.

func PhoneGTE

func PhoneGTE(v string) predicate.SiteDetail

PhoneGTE applies the GTE predicate on the "phone" field.

func PhoneHasPrefix

func PhoneHasPrefix(v string) predicate.SiteDetail

PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.

func PhoneHasSuffix

func PhoneHasSuffix(v string) predicate.SiteDetail

PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.

func PhoneIn

func PhoneIn(vs ...string) predicate.SiteDetail

PhoneIn applies the In predicate on the "phone" field.

func PhoneLT

func PhoneLT(v string) predicate.SiteDetail

PhoneLT applies the LT predicate on the "phone" field.

func PhoneLTE

func PhoneLTE(v string) predicate.SiteDetail

PhoneLTE applies the LTE predicate on the "phone" field.

func PhoneNEQ

func PhoneNEQ(v string) predicate.SiteDetail

PhoneNEQ applies the NEQ predicate on the "phone" field.

func PhoneNotIn

func PhoneNotIn(vs ...string) predicate.SiteDetail

PhoneNotIn applies the NotIn predicate on the "phone" field.

func Tw

Tw applies equality check predicate on the "tw" field. It's identical to TwEQ.

func TwContains

func TwContains(v string) predicate.SiteDetail

TwContains applies the Contains predicate on the "tw" field.

func TwContainsFold

func TwContainsFold(v string) predicate.SiteDetail

TwContainsFold applies the ContainsFold predicate on the "tw" field.

func TwEQ

func TwEQ(v string) predicate.SiteDetail

TwEQ applies the EQ predicate on the "tw" field.

func TwEqualFold

func TwEqualFold(v string) predicate.SiteDetail

TwEqualFold applies the EqualFold predicate on the "tw" field.

func TwGT

func TwGT(v string) predicate.SiteDetail

TwGT applies the GT predicate on the "tw" field.

func TwGTE

func TwGTE(v string) predicate.SiteDetail

TwGTE applies the GTE predicate on the "tw" field.

func TwHasPrefix

func TwHasPrefix(v string) predicate.SiteDetail

TwHasPrefix applies the HasPrefix predicate on the "tw" field.

func TwHasSuffix

func TwHasSuffix(v string) predicate.SiteDetail

TwHasSuffix applies the HasSuffix predicate on the "tw" field.

func TwIn

func TwIn(vs ...string) predicate.SiteDetail

TwIn applies the In predicate on the "tw" field.

func TwLT

func TwLT(v string) predicate.SiteDetail

TwLT applies the LT predicate on the "tw" field.

func TwLTE

func TwLTE(v string) predicate.SiteDetail

TwLTE applies the LTE predicate on the "tw" field.

func TwNEQ

func TwNEQ(v string) predicate.SiteDetail

TwNEQ applies the NEQ predicate on the "tw" field.

func TwNotIn

func TwNotIn(vs ...string) predicate.SiteDetail

TwNotIn applies the NotIn predicate on the "tw" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SiteDetail

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SiteDetail

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SiteDetail

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SiteDetail

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SiteDetail

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SiteDetail

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SiteDetail

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

func UpdatedAtNotIn

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

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 Wh

Wh applies equality check predicate on the "wh" field. It's identical to WhEQ.

func WhContains

func WhContains(v string) predicate.SiteDetail

WhContains applies the Contains predicate on the "wh" field.

func WhContainsFold

func WhContainsFold(v string) predicate.SiteDetail

WhContainsFold applies the ContainsFold predicate on the "wh" field.

func WhEQ

func WhEQ(v string) predicate.SiteDetail

WhEQ applies the EQ predicate on the "wh" field.

func WhEqualFold

func WhEqualFold(v string) predicate.SiteDetail

WhEqualFold applies the EqualFold predicate on the "wh" field.

func WhGT

func WhGT(v string) predicate.SiteDetail

WhGT applies the GT predicate on the "wh" field.

func WhGTE

func WhGTE(v string) predicate.SiteDetail

WhGTE applies the GTE predicate on the "wh" field.

func WhHasPrefix

func WhHasPrefix(v string) predicate.SiteDetail

WhHasPrefix applies the HasPrefix predicate on the "wh" field.

func WhHasSuffix

func WhHasSuffix(v string) predicate.SiteDetail

WhHasSuffix applies the HasSuffix predicate on the "wh" field.

func WhIn

func WhIn(vs ...string) predicate.SiteDetail

WhIn applies the In predicate on the "wh" field.

func WhLT

func WhLT(v string) predicate.SiteDetail

WhLT applies the LT predicate on the "wh" field.

func WhLTE

func WhLTE(v string) predicate.SiteDetail

WhLTE applies the LTE predicate on the "wh" field.

func WhNEQ

func WhNEQ(v string) predicate.SiteDetail

WhNEQ applies the NEQ predicate on the "wh" field.

func WhNotIn

func WhNotIn(vs ...string) predicate.SiteDetail

WhNotIn applies the NotIn predicate on the "wh" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SiteDetail queries.

func ByAddress

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

ByAddress orders the results by the address field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEmail

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

ByEmail orders the results by the email field.

func ByFb

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

ByFb orders the results by the fb field.

func ByID

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

ByID orders the results by the id field.

func ByIg

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

ByIg orders the results by the ig field.

func ByName

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

ByName orders the results by the name field.

func ByPhone

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

ByPhone orders the results by the phone field.

func ByTw

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

ByTw orders the results by the tw field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByWh

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

ByWh orders the results by the wh field.

Jump to

Keyboard shortcuts

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