Versions in this module Expand all Collapse all v1 v1.0.2 Feb 16, 2023 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeCompany + const TypeCountry + const TypeEmail + const TypeImage + const TypeLocation + const TypePhone + const TypeProduct + const TypeVendor + const TypeWarehouse + const TypeWebsite + var CompanyOrderFieldDescription = &CompanyOrderField + var CompanyOrderFieldName = &CompanyOrderField + var CountryOrderFieldCode = &CountryOrderField + var CountryOrderFieldName = &CountryOrderField + var DefaultCompanyOrder = &CompanyOrder + var DefaultCountryOrder = &CountryOrder + var DefaultEmailOrder = &EmailOrder + var DefaultImageOrder = &ImageOrder + var DefaultLocationOrder = &LocationOrder + var DefaultPhoneOrder = &PhoneOrder + var DefaultProductOrder = &ProductOrder + var DefaultVendorOrder = &VendorOrder + var DefaultWarehouseOrder = &WarehouseOrder + var DefaultWebsiteOrder = &WebsiteOrder + var EmailOrderFieldAddress = &EmailOrderField + var EmailOrderFieldDescription = &EmailOrderField + var EmailOrderFieldTitle = &EmailOrderField + var ErrEmptyCompanyWhereInput = errors.New("ent: empty predicate CompanyWhereInput") + var ErrEmptyCountryWhereInput = errors.New("ent: empty predicate CountryWhereInput") + var ErrEmptyEmailWhereInput = errors.New("ent: empty predicate EmailWhereInput") + var ErrEmptyImageWhereInput = errors.New("ent: empty predicate ImageWhereInput") + var ErrEmptyLocationWhereInput = errors.New("ent: empty predicate LocationWhereInput") + var ErrEmptyPhoneWhereInput = errors.New("ent: empty predicate PhoneWhereInput") + var ErrEmptyProductWhereInput = errors.New("ent: empty predicate ProductWhereInput") + var ErrEmptyVendorWhereInput = errors.New("ent: empty predicate VendorWhereInput") + var ErrEmptyWarehouseWhereInput = errors.New("ent: empty predicate WarehouseWhereInput") + var ErrEmptyWebsiteWhereInput = errors.New("ent: empty predicate WebsiteWhereInput") + var ImageOrderFieldOriginalURL = &ImageOrderField + var ImageOrderFieldTitle = &ImageOrderField + var LocationOrderFieldAddress = &LocationOrderField + var LocationOrderFieldDescription = &LocationOrderField + var LocationOrderFieldLatitude = &LocationOrderField + var LocationOrderFieldLongitude = &LocationOrderField + var LocationOrderFieldPostcode = &LocationOrderField + var LocationOrderFieldState = &LocationOrderField + var LocationOrderFieldStreetName = &LocationOrderField + var LocationOrderFieldStreetType = &LocationOrderField + var LocationOrderFieldSuburb = &LocationOrderField + var LocationOrderFieldTitle = &LocationOrderField + var LocationOrderFieldType = &LocationOrderField + var PhoneOrderFieldDescription = &PhoneOrderField + var PhoneOrderFieldNumber = &PhoneOrderField + var PhoneOrderFieldTitle = &PhoneOrderField + var PhoneOrderFieldType = &PhoneOrderField + var ProductOrderFieldBuildStatus = &ProductOrderField + var ProductOrderFieldCreatedAt = &ProductOrderField + var ProductOrderFieldDescription = &ProductOrderField + var ProductOrderFieldImage = &ProductOrderField + var ProductOrderFieldLastSell = &ProductOrderField + var ProductOrderFieldName = &ProductOrderField + var ProductOrderFieldStatus = &ProductOrderField + var ProductOrderFieldURL = &ProductOrderField + var VendorOrderFieldName = &VendorOrderField + var VendorOrderFieldSchema = &VendorOrderField + var WarehouseOrderFieldEnabled = &WarehouseOrderField + var WarehouseOrderFieldLastUpdate = &WarehouseOrderField + var WarehouseOrderFieldName = &WarehouseOrderField + var WebsiteOrderFieldDescription = &WebsiteOrderField + var WebsiteOrderFieldTitle = &WebsiteOrderField + var WebsiteOrderFieldURL = &WebsiteOrderField + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + func OpenTxFromContext(ctx context.Context) (context.Context, driver.Tx, error) + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Client struct + Company *CompanyClient + Country *CountryClient + Email *EmailClient + Image *ImageClient + Location *LocationClient + Phone *PhoneClient + Product *ProductClient + Schema *migrate.Schema + Vendor *VendorClient + Warehouse *WarehouseClient + Website *WebsiteClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) Noder(ctx context.Context, id uuid.UUID, opts ...NodeOption) (_ Noder, err error) + func (c *Client) Noders(ctx context.Context, ids []uuid.UUID, opts ...NodeOption) ([]Noder, error) + func (c *Client) OpenTx(ctx context.Context) (context.Context, driver.Tx, error) + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type Companies []*Company + type Company struct + Description string + Edges CompanyEdges + ID uuid.UUID + Name string + func (c *Company) Countries(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*CountryConnection, error) + func (c *Company) CoverImage(ctx context.Context) (*Image, error) + func (c *Company) Emails(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*EmailConnection, error) + func (c *Company) GalleryImages(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*ImageConnection, error) + func (c *Company) Locations(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*LocationConnection, error) + func (c *Company) LogoImage(ctx context.Context) (*Image, error) + func (c *Company) NamedCountries(name string) ([]*Country, error) + func (c *Company) NamedEmails(name string) ([]*Email, error) + func (c *Company) NamedGalleryImages(name string) ([]*Image, error) + func (c *Company) NamedLocations(name string) ([]*Location, error) + func (c *Company) NamedPhones(name string) ([]*Phone, error) + func (c *Company) NamedWebsites(name string) ([]*Website, error) + func (c *Company) Phones(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*PhoneConnection, error) + func (c *Company) QueryCountries() *CountryQuery + func (c *Company) QueryCoverImage() *ImageQuery + func (c *Company) QueryEmails() *EmailQuery + func (c *Company) QueryGalleryImages() *ImageQuery + func (c *Company) QueryLocations() *LocationQuery + func (c *Company) QueryLogoImage() *ImageQuery + func (c *Company) QueryPhones() *PhoneQuery + func (c *Company) QueryWebsites() *WebsiteQuery + func (c *Company) String() string + func (c *Company) ToEdge(order *CompanyOrder) *CompanyEdge + func (c *Company) Unwrap() *Company + func (c *Company) Update() *CompanyUpdateOne + func (c *Company) Websites(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*WebsiteConnection, error) + func (n *Company) IsNode() + type CompanyClient struct + func NewCompanyClient(c config) *CompanyClient + func (c *CompanyClient) Create() *CompanyCreate + func (c *CompanyClient) CreateBulk(builders ...*CompanyCreate) *CompanyCreateBulk + func (c *CompanyClient) Delete() *CompanyDelete + func (c *CompanyClient) DeleteOne(co *Company) *CompanyDeleteOne + func (c *CompanyClient) DeleteOneID(id uuid.UUID) *CompanyDeleteOne + func (c *CompanyClient) Get(ctx context.Context, id uuid.UUID) (*Company, error) + func (c *CompanyClient) GetX(ctx context.Context, id uuid.UUID) *Company + func (c *CompanyClient) Hooks() []Hook + func (c *CompanyClient) Intercept(interceptors ...Interceptor) + func (c *CompanyClient) Interceptors() []Interceptor + func (c *CompanyClient) Query() *CompanyQuery + func (c *CompanyClient) QueryCountries(co *Company) *CountryQuery + func (c *CompanyClient) QueryCoverImage(co *Company) *ImageQuery + func (c *CompanyClient) QueryEmails(co *Company) *EmailQuery + func (c *CompanyClient) QueryGalleryImages(co *Company) *ImageQuery + func (c *CompanyClient) QueryLocations(co *Company) *LocationQuery + func (c *CompanyClient) QueryLogoImage(co *Company) *ImageQuery + func (c *CompanyClient) QueryPhones(co *Company) *PhoneQuery + func (c *CompanyClient) QueryWebsites(co *Company) *WebsiteQuery + func (c *CompanyClient) Update() *CompanyUpdate + func (c *CompanyClient) UpdateOne(co *Company) *CompanyUpdateOne + func (c *CompanyClient) UpdateOneID(id uuid.UUID) *CompanyUpdateOne + func (c *CompanyClient) Use(hooks ...Hook) + type CompanyConnection struct + Edges []*CompanyEdge + PageInfo PageInfo + TotalCount int + type CompanyCreate struct + func (c *CompanyCreate) SetInput(i CreateCompanyInput) *CompanyCreate + func (cc *CompanyCreate) AddCountries(c ...*Country) *CompanyCreate + func (cc *CompanyCreate) AddCountryIDs(ids ...uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) AddEmailIDs(ids ...uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) AddEmails(e ...*Email) *CompanyCreate + func (cc *CompanyCreate) AddGalleryImageIDs(ids ...uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) AddGalleryImages(i ...*Image) *CompanyCreate + func (cc *CompanyCreate) AddLocationIDs(ids ...uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) AddLocations(l ...*Location) *CompanyCreate + func (cc *CompanyCreate) AddPhoneIDs(ids ...uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) AddPhones(p ...*Phone) *CompanyCreate + func (cc *CompanyCreate) AddWebsiteIDs(ids ...uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) AddWebsites(w ...*Website) *CompanyCreate + func (cc *CompanyCreate) Exec(ctx context.Context) error + func (cc *CompanyCreate) ExecX(ctx context.Context) + func (cc *CompanyCreate) Mutation() *CompanyMutation + func (cc *CompanyCreate) Save(ctx context.Context) (*Company, error) + func (cc *CompanyCreate) SaveX(ctx context.Context) *Company + func (cc *CompanyCreate) SetCoverImage(i *Image) *CompanyCreate + func (cc *CompanyCreate) SetCoverImageID(id uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) SetDescription(s string) *CompanyCreate + func (cc *CompanyCreate) SetID(u uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) SetLogoImage(i *Image) *CompanyCreate + func (cc *CompanyCreate) SetLogoImageID(id uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) SetName(s string) *CompanyCreate + func (cc *CompanyCreate) SetNillableCoverImageID(id *uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) SetNillableID(u *uuid.UUID) *CompanyCreate + func (cc *CompanyCreate) SetNillableLogoImageID(id *uuid.UUID) *CompanyCreate + type CompanyCreateBulk struct + func (ccb *CompanyCreateBulk) Exec(ctx context.Context) error + func (ccb *CompanyCreateBulk) ExecX(ctx context.Context) + func (ccb *CompanyCreateBulk) Save(ctx context.Context) ([]*Company, error) + func (ccb *CompanyCreateBulk) SaveX(ctx context.Context) []*Company + type CompanyDelete struct + func (cd *CompanyDelete) Exec(ctx context.Context) (int, error) + func (cd *CompanyDelete) ExecX(ctx context.Context) int + func (cd *CompanyDelete) Where(ps ...predicate.Company) *CompanyDelete + type CompanyDeleteOne struct + func (cdo *CompanyDeleteOne) Exec(ctx context.Context) error + func (cdo *CompanyDeleteOne) ExecX(ctx context.Context) + type CompanyEdge struct + Cursor Cursor + Node *Company + type CompanyEdges struct + Countries []*Country + CoverImage *Image + Emails []*Email + GalleryImages []*Image + Locations []*Location + LogoImage *Image + Phones []*Phone + Websites []*Website + func (e CompanyEdges) CountriesOrErr() ([]*Country, error) + func (e CompanyEdges) CoverImageOrErr() (*Image, error) + func (e CompanyEdges) EmailsOrErr() ([]*Email, error) + func (e CompanyEdges) GalleryImagesOrErr() ([]*Image, error) + func (e CompanyEdges) LocationsOrErr() ([]*Location, error) + func (e CompanyEdges) LogoImageOrErr() (*Image, error) + func (e CompanyEdges) PhonesOrErr() ([]*Phone, error) + func (e CompanyEdges) WebsitesOrErr() ([]*Website, error) + type CompanyGroupBy struct + func (cgb *CompanyGroupBy) Aggregate(fns ...AggregateFunc) *CompanyGroupBy + func (cgb *CompanyGroupBy) Scan(ctx context.Context, v any) error + func (s *CompanyGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CompanyGroupBy) BoolX(ctx context.Context) bool + func (s *CompanyGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CompanyGroupBy) BoolsX(ctx context.Context) []bool + func (s *CompanyGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CompanyGroupBy) Float64X(ctx context.Context) float64 + func (s *CompanyGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CompanyGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CompanyGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CompanyGroupBy) IntX(ctx context.Context) int + func (s *CompanyGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CompanyGroupBy) IntsX(ctx context.Context) []int + func (s *CompanyGroupBy) ScanX(ctx context.Context, v any) + func (s *CompanyGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CompanyGroupBy) StringX(ctx context.Context) string + func (s *CompanyGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CompanyGroupBy) StringsX(ctx context.Context) []string + type CompanyMutation struct + func (m *CompanyMutation) AddCountryIDs(ids ...uuid.UUID) + func (m *CompanyMutation) AddEmailIDs(ids ...uuid.UUID) + func (m *CompanyMutation) AddField(name string, value ent.Value) error + func (m *CompanyMutation) AddGalleryImageIDs(ids ...uuid.UUID) + func (m *CompanyMutation) AddLocationIDs(ids ...uuid.UUID) + func (m *CompanyMutation) AddPhoneIDs(ids ...uuid.UUID) + func (m *CompanyMutation) AddWebsiteIDs(ids ...uuid.UUID) + func (m *CompanyMutation) AddedEdges() []string + func (m *CompanyMutation) AddedField(name string) (ent.Value, bool) + func (m *CompanyMutation) AddedFields() []string + func (m *CompanyMutation) AddedIDs(name string) []ent.Value + func (m *CompanyMutation) ClearCountries() + func (m *CompanyMutation) ClearCoverImage() + func (m *CompanyMutation) ClearEdge(name string) error + func (m *CompanyMutation) ClearEmails() + func (m *CompanyMutation) ClearField(name string) error + func (m *CompanyMutation) ClearGalleryImages() + func (m *CompanyMutation) ClearLocations() + func (m *CompanyMutation) ClearLogoImage() + func (m *CompanyMutation) ClearPhones() + func (m *CompanyMutation) ClearWebsites() + func (m *CompanyMutation) ClearedEdges() []string + func (m *CompanyMutation) ClearedFields() []string + func (m *CompanyMutation) CountriesCleared() bool + func (m *CompanyMutation) CountriesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) CoverImageCleared() bool + func (m *CompanyMutation) CoverImageID() (id uuid.UUID, exists bool) + func (m *CompanyMutation) CoverImageIDs() (ids []uuid.UUID) + func (m *CompanyMutation) Description() (r string, exists bool) + func (m *CompanyMutation) EdgeCleared(name string) bool + func (m *CompanyMutation) EmailsCleared() bool + func (m *CompanyMutation) EmailsIDs() (ids []uuid.UUID) + func (m *CompanyMutation) Field(name string) (ent.Value, bool) + func (m *CompanyMutation) FieldCleared(name string) bool + func (m *CompanyMutation) Fields() []string + func (m *CompanyMutation) GalleryImagesCleared() bool + func (m *CompanyMutation) GalleryImagesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) ID() (id uuid.UUID, exists bool) + func (m *CompanyMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *CompanyMutation) LocationsCleared() bool + func (m *CompanyMutation) LocationsIDs() (ids []uuid.UUID) + func (m *CompanyMutation) LogoImageCleared() bool + func (m *CompanyMutation) LogoImageID() (id uuid.UUID, exists bool) + func (m *CompanyMutation) LogoImageIDs() (ids []uuid.UUID) + func (m *CompanyMutation) Name() (r string, exists bool) + func (m *CompanyMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *CompanyMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CompanyMutation) OldName(ctx context.Context) (v string, err error) + func (m *CompanyMutation) Op() Op + func (m *CompanyMutation) PhonesCleared() bool + func (m *CompanyMutation) PhonesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) RemoveCountryIDs(ids ...uuid.UUID) + func (m *CompanyMutation) RemoveEmailIDs(ids ...uuid.UUID) + func (m *CompanyMutation) RemoveGalleryImageIDs(ids ...uuid.UUID) + func (m *CompanyMutation) RemoveLocationIDs(ids ...uuid.UUID) + func (m *CompanyMutation) RemovePhoneIDs(ids ...uuid.UUID) + func (m *CompanyMutation) RemoveWebsiteIDs(ids ...uuid.UUID) + func (m *CompanyMutation) RemovedCountriesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) RemovedEdges() []string + func (m *CompanyMutation) RemovedEmailsIDs() (ids []uuid.UUID) + func (m *CompanyMutation) RemovedGalleryImagesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) RemovedIDs(name string) []ent.Value + func (m *CompanyMutation) RemovedLocationsIDs() (ids []uuid.UUID) + func (m *CompanyMutation) RemovedPhonesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) RemovedWebsitesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) ResetCountries() + func (m *CompanyMutation) ResetCoverImage() + func (m *CompanyMutation) ResetDescription() + func (m *CompanyMutation) ResetEdge(name string) error + func (m *CompanyMutation) ResetEmails() + func (m *CompanyMutation) ResetField(name string) error + func (m *CompanyMutation) ResetGalleryImages() + func (m *CompanyMutation) ResetLocations() + func (m *CompanyMutation) ResetLogoImage() + func (m *CompanyMutation) ResetName() + func (m *CompanyMutation) ResetPhones() + func (m *CompanyMutation) ResetWebsites() + func (m *CompanyMutation) SetCoverImageID(id uuid.UUID) + func (m *CompanyMutation) SetDescription(s string) + func (m *CompanyMutation) SetField(name string, value ent.Value) error + func (m *CompanyMutation) SetID(id uuid.UUID) + func (m *CompanyMutation) SetLogoImageID(id uuid.UUID) + func (m *CompanyMutation) SetName(s string) + func (m *CompanyMutation) SetOp(op Op) + func (m *CompanyMutation) Type() string + func (m *CompanyMutation) WebsitesCleared() bool + func (m *CompanyMutation) WebsitesIDs() (ids []uuid.UUID) + func (m *CompanyMutation) Where(ps ...predicate.Company) + func (m *CompanyMutation) WhereP(ps ...func(*sql.Selector)) + func (m CompanyMutation) Client() *Client + func (m CompanyMutation) Tx() (*Tx, error) + type CompanyOrder struct + Direction OrderDirection + Field *CompanyOrderField + type CompanyOrderField struct + func (f *CompanyOrderField) UnmarshalGQL(v interface{}) error + func (f CompanyOrderField) MarshalGQL(w io.Writer) + func (f CompanyOrderField) String() string + type CompanyPaginateOption func(*companyPager) error + func WithCompanyFilter(filter func(*CompanyQuery) (*CompanyQuery, error)) CompanyPaginateOption + func WithCompanyOrder(order *CompanyOrder) CompanyPaginateOption + type CompanyQuery struct + func (c *CompanyQuery) CollectFields(ctx context.Context, satisfies ...string) (*CompanyQuery, error) + func (c *CompanyQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*CompanyConnection, error) + func (cq *CompanyQuery) Aggregate(fns ...AggregateFunc) *CompanySelect + func (cq *CompanyQuery) All(ctx context.Context) ([]*Company, error) + func (cq *CompanyQuery) AllX(ctx context.Context) []*Company + func (cq *CompanyQuery) Clone() *CompanyQuery + func (cq *CompanyQuery) Count(ctx context.Context) (int, error) + func (cq *CompanyQuery) CountX(ctx context.Context) int + func (cq *CompanyQuery) Exist(ctx context.Context) (bool, error) + func (cq *CompanyQuery) ExistX(ctx context.Context) bool + func (cq *CompanyQuery) First(ctx context.Context) (*Company, error) + func (cq *CompanyQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (cq *CompanyQuery) FirstIDX(ctx context.Context) uuid.UUID + func (cq *CompanyQuery) FirstX(ctx context.Context) *Company + func (cq *CompanyQuery) GroupBy(field string, fields ...string) *CompanyGroupBy + func (cq *CompanyQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (cq *CompanyQuery) IDsX(ctx context.Context) []uuid.UUID + func (cq *CompanyQuery) Limit(limit int) *CompanyQuery + func (cq *CompanyQuery) Offset(offset int) *CompanyQuery + func (cq *CompanyQuery) Only(ctx context.Context) (*Company, error) + func (cq *CompanyQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (cq *CompanyQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (cq *CompanyQuery) OnlyX(ctx context.Context) *Company + func (cq *CompanyQuery) Order(o ...OrderFunc) *CompanyQuery + func (cq *CompanyQuery) QueryCountries() *CountryQuery + func (cq *CompanyQuery) QueryCoverImage() *ImageQuery + func (cq *CompanyQuery) QueryEmails() *EmailQuery + func (cq *CompanyQuery) QueryGalleryImages() *ImageQuery + func (cq *CompanyQuery) QueryLocations() *LocationQuery + func (cq *CompanyQuery) QueryLogoImage() *ImageQuery + func (cq *CompanyQuery) QueryPhones() *PhoneQuery + func (cq *CompanyQuery) QueryWebsites() *WebsiteQuery + func (cq *CompanyQuery) Select(fields ...string) *CompanySelect + func (cq *CompanyQuery) Unique(unique bool) *CompanyQuery + func (cq *CompanyQuery) Where(ps ...predicate.Company) *CompanyQuery + func (cq *CompanyQuery) WithCountries(opts ...func(*CountryQuery)) *CompanyQuery + func (cq *CompanyQuery) WithCoverImage(opts ...func(*ImageQuery)) *CompanyQuery + func (cq *CompanyQuery) WithEmails(opts ...func(*EmailQuery)) *CompanyQuery + func (cq *CompanyQuery) WithGalleryImages(opts ...func(*ImageQuery)) *CompanyQuery + func (cq *CompanyQuery) WithLocations(opts ...func(*LocationQuery)) *CompanyQuery + func (cq *CompanyQuery) WithLogoImage(opts ...func(*ImageQuery)) *CompanyQuery + func (cq *CompanyQuery) WithNamedCountries(name string, opts ...func(*CountryQuery)) *CompanyQuery + func (cq *CompanyQuery) WithNamedEmails(name string, opts ...func(*EmailQuery)) *CompanyQuery + func (cq *CompanyQuery) WithNamedGalleryImages(name string, opts ...func(*ImageQuery)) *CompanyQuery + func (cq *CompanyQuery) WithNamedLocations(name string, opts ...func(*LocationQuery)) *CompanyQuery + func (cq *CompanyQuery) WithNamedPhones(name string, opts ...func(*PhoneQuery)) *CompanyQuery + func (cq *CompanyQuery) WithNamedWebsites(name string, opts ...func(*WebsiteQuery)) *CompanyQuery + func (cq *CompanyQuery) WithPhones(opts ...func(*PhoneQuery)) *CompanyQuery + func (cq *CompanyQuery) WithWebsites(opts ...func(*WebsiteQuery)) *CompanyQuery + type CompanySelect struct + func (cs *CompanySelect) Aggregate(fns ...AggregateFunc) *CompanySelect + func (cs *CompanySelect) Scan(ctx context.Context, v any) error + func (s *CompanySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CompanySelect) BoolX(ctx context.Context) bool + func (s *CompanySelect) Bools(ctx context.Context) ([]bool, error) + func (s *CompanySelect) BoolsX(ctx context.Context) []bool + func (s *CompanySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CompanySelect) Float64X(ctx context.Context) float64 + func (s *CompanySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CompanySelect) Float64sX(ctx context.Context) []float64 + func (s *CompanySelect) Int(ctx context.Context) (_ int, err error) + func (s *CompanySelect) IntX(ctx context.Context) int + func (s *CompanySelect) Ints(ctx context.Context) ([]int, error) + func (s *CompanySelect) IntsX(ctx context.Context) []int + func (s *CompanySelect) ScanX(ctx context.Context, v any) + func (s *CompanySelect) String(ctx context.Context) (_ string, err error) + func (s *CompanySelect) StringX(ctx context.Context) string + func (s *CompanySelect) Strings(ctx context.Context) ([]string, error) + func (s *CompanySelect) StringsX(ctx context.Context) []string + type CompanyUpdate struct + func (c *CompanyUpdate) SetInput(i UpdateCompanyInput) *CompanyUpdate + func (cu *CompanyUpdate) AddCountries(c ...*Country) *CompanyUpdate + func (cu *CompanyUpdate) AddCountryIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) AddEmailIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) AddEmails(e ...*Email) *CompanyUpdate + func (cu *CompanyUpdate) AddGalleryImageIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) AddGalleryImages(i ...*Image) *CompanyUpdate + func (cu *CompanyUpdate) AddLocationIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) AddLocations(l ...*Location) *CompanyUpdate + func (cu *CompanyUpdate) AddPhoneIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) AddPhones(p ...*Phone) *CompanyUpdate + func (cu *CompanyUpdate) AddWebsiteIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) AddWebsites(w ...*Website) *CompanyUpdate + func (cu *CompanyUpdate) ClearCountries() *CompanyUpdate + func (cu *CompanyUpdate) ClearCoverImage() *CompanyUpdate + func (cu *CompanyUpdate) ClearEmails() *CompanyUpdate + func (cu *CompanyUpdate) ClearGalleryImages() *CompanyUpdate + func (cu *CompanyUpdate) ClearLocations() *CompanyUpdate + func (cu *CompanyUpdate) ClearLogoImage() *CompanyUpdate + func (cu *CompanyUpdate) ClearPhones() *CompanyUpdate + func (cu *CompanyUpdate) ClearWebsites() *CompanyUpdate + func (cu *CompanyUpdate) Exec(ctx context.Context) error + func (cu *CompanyUpdate) ExecX(ctx context.Context) + func (cu *CompanyUpdate) Mutation() *CompanyMutation + func (cu *CompanyUpdate) RemoveCountries(c ...*Country) *CompanyUpdate + func (cu *CompanyUpdate) RemoveCountryIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) RemoveEmailIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) RemoveEmails(e ...*Email) *CompanyUpdate + func (cu *CompanyUpdate) RemoveGalleryImageIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) RemoveGalleryImages(i ...*Image) *CompanyUpdate + func (cu *CompanyUpdate) RemoveLocationIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) RemoveLocations(l ...*Location) *CompanyUpdate + func (cu *CompanyUpdate) RemovePhoneIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) RemovePhones(p ...*Phone) *CompanyUpdate + func (cu *CompanyUpdate) RemoveWebsiteIDs(ids ...uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) RemoveWebsites(w ...*Website) *CompanyUpdate + func (cu *CompanyUpdate) Save(ctx context.Context) (int, error) + func (cu *CompanyUpdate) SaveX(ctx context.Context) int + func (cu *CompanyUpdate) SetCoverImage(i *Image) *CompanyUpdate + func (cu *CompanyUpdate) SetCoverImageID(id uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) SetDescription(s string) *CompanyUpdate + func (cu *CompanyUpdate) SetLogoImage(i *Image) *CompanyUpdate + func (cu *CompanyUpdate) SetLogoImageID(id uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) SetName(s string) *CompanyUpdate + func (cu *CompanyUpdate) SetNillableCoverImageID(id *uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) SetNillableLogoImageID(id *uuid.UUID) *CompanyUpdate + func (cu *CompanyUpdate) Where(ps ...predicate.Company) *CompanyUpdate + type CompanyUpdateOne struct + func (c *CompanyUpdateOne) SetInput(i UpdateCompanyInput) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddCountries(c ...*Country) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddCountryIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddEmailIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddEmails(e ...*Email) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddGalleryImageIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddGalleryImages(i ...*Image) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddLocationIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddLocations(l ...*Location) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddPhoneIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddPhones(p ...*Phone) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddWebsiteIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) AddWebsites(w ...*Website) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearCountries() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearCoverImage() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearEmails() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearGalleryImages() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearLocations() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearLogoImage() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearPhones() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) ClearWebsites() *CompanyUpdateOne + func (cuo *CompanyUpdateOne) Exec(ctx context.Context) error + func (cuo *CompanyUpdateOne) ExecX(ctx context.Context) + func (cuo *CompanyUpdateOne) Mutation() *CompanyMutation + func (cuo *CompanyUpdateOne) RemoveCountries(c ...*Country) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveCountryIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveEmailIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveEmails(e ...*Email) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveGalleryImageIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveGalleryImages(i ...*Image) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveLocationIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveLocations(l ...*Location) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemovePhoneIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemovePhones(p ...*Phone) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveWebsiteIDs(ids ...uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) RemoveWebsites(w ...*Website) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) Save(ctx context.Context) (*Company, error) + func (cuo *CompanyUpdateOne) SaveX(ctx context.Context) *Company + func (cuo *CompanyUpdateOne) Select(field string, fields ...string) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetCoverImage(i *Image) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetCoverImageID(id uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetDescription(s string) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetLogoImage(i *Image) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetLogoImageID(id uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetName(s string) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetNillableCoverImageID(id *uuid.UUID) *CompanyUpdateOne + func (cuo *CompanyUpdateOne) SetNillableLogoImageID(id *uuid.UUID) *CompanyUpdateOne + type CompanyWhereInput struct + And []*CompanyWhereInput + Description *string + DescriptionContains *string + DescriptionContainsFold *string + DescriptionEqualFold *string + DescriptionGT *string + DescriptionGTE *string + DescriptionHasPrefix *string + DescriptionHasSuffix *string + DescriptionIn []string + DescriptionLT *string + DescriptionLTE *string + DescriptionNEQ *string + DescriptionNotIn []string + HasCountries *bool + HasCountriesWith []*CountryWhereInput + HasCoverImage *bool + HasCoverImageWith []*ImageWhereInput + HasEmails *bool + HasEmailsWith []*EmailWhereInput + HasGalleryImages *bool + HasGalleryImagesWith []*ImageWhereInput + HasLocations *bool + HasLocationsWith []*LocationWhereInput + HasLogoImage *bool + HasLogoImageWith []*ImageWhereInput + HasPhones *bool + HasPhonesWith []*PhoneWhereInput + HasWebsites *bool + HasWebsitesWith []*WebsiteWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *CompanyWhereInput + Or []*CompanyWhereInput + Predicates []predicate.Company + func (cwi *CompanyWhereInput) ApplySearchQuery(q *string) *CompanyWhereInput + func (i *CompanyWhereInput) AddPredicates(predicates ...predicate.Company) + func (i *CompanyWhereInput) Filter(q *CompanyQuery) (*CompanyQuery, error) + func (i *CompanyWhereInput) P() (predicate.Company, error) + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Countries []*Country + type Country struct + Code string + Edges CountryEdges + ID uuid.UUID + Name string + func (c *Country) Companies(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*CompanyConnection, error) + func (c *Country) Emails(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*EmailConnection, error) + func (c *Country) Locations(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*LocationConnection, error) + func (c *Country) NamedCompanies(name string) ([]*Company, error) + func (c *Country) NamedEmails(name string) ([]*Email, error) + func (c *Country) NamedLocations(name string) ([]*Location, error) + func (c *Country) NamedPhones(name string) ([]*Phone, error) + func (c *Country) NamedWebsites(name string) ([]*Website, error) + func (c *Country) Phones(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*PhoneConnection, error) + func (c *Country) QueryCompanies() *CompanyQuery + func (c *Country) QueryEmails() *EmailQuery + func (c *Country) QueryLocations() *LocationQuery + func (c *Country) QueryPhones() *PhoneQuery + func (c *Country) QueryWebsites() *WebsiteQuery + func (c *Country) String() string + func (c *Country) ToEdge(order *CountryOrder) *CountryEdge + func (c *Country) Unwrap() *Country + func (c *Country) Update() *CountryUpdateOne + func (c *Country) Websites(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*WebsiteConnection, error) + func (n *Country) IsNode() + type CountryClient struct + func NewCountryClient(c config) *CountryClient + func (c *CountryClient) Create() *CountryCreate + func (c *CountryClient) CreateBulk(builders ...*CountryCreate) *CountryCreateBulk + func (c *CountryClient) Delete() *CountryDelete + func (c *CountryClient) DeleteOne(co *Country) *CountryDeleteOne + func (c *CountryClient) DeleteOneID(id uuid.UUID) *CountryDeleteOne + func (c *CountryClient) Get(ctx context.Context, id uuid.UUID) (*Country, error) + func (c *CountryClient) GetX(ctx context.Context, id uuid.UUID) *Country + func (c *CountryClient) Hooks() []Hook + func (c *CountryClient) Intercept(interceptors ...Interceptor) + func (c *CountryClient) Interceptors() []Interceptor + func (c *CountryClient) Query() *CountryQuery + func (c *CountryClient) QueryCompanies(co *Country) *CompanyQuery + func (c *CountryClient) QueryEmails(co *Country) *EmailQuery + func (c *CountryClient) QueryLocations(co *Country) *LocationQuery + func (c *CountryClient) QueryPhones(co *Country) *PhoneQuery + func (c *CountryClient) QueryWebsites(co *Country) *WebsiteQuery + func (c *CountryClient) Update() *CountryUpdate + func (c *CountryClient) UpdateOne(co *Country) *CountryUpdateOne + func (c *CountryClient) UpdateOneID(id uuid.UUID) *CountryUpdateOne + func (c *CountryClient) Use(hooks ...Hook) + type CountryConnection struct + Edges []*CountryEdge + PageInfo PageInfo + TotalCount int + type CountryCreate struct + func (c *CountryCreate) SetInput(i CreateCountryInput) *CountryCreate + func (cc *CountryCreate) AddCompanies(c ...*Company) *CountryCreate + func (cc *CountryCreate) AddCompanyIDs(ids ...uuid.UUID) *CountryCreate + func (cc *CountryCreate) AddEmailIDs(ids ...uuid.UUID) *CountryCreate + func (cc *CountryCreate) AddEmails(e ...*Email) *CountryCreate + func (cc *CountryCreate) AddLocationIDs(ids ...uuid.UUID) *CountryCreate + func (cc *CountryCreate) AddLocations(l ...*Location) *CountryCreate + func (cc *CountryCreate) AddPhoneIDs(ids ...uuid.UUID) *CountryCreate + func (cc *CountryCreate) AddPhones(p ...*Phone) *CountryCreate + func (cc *CountryCreate) AddWebsiteIDs(ids ...uuid.UUID) *CountryCreate + func (cc *CountryCreate) AddWebsites(w ...*Website) *CountryCreate + func (cc *CountryCreate) Exec(ctx context.Context) error + func (cc *CountryCreate) ExecX(ctx context.Context) + func (cc *CountryCreate) Mutation() *CountryMutation + func (cc *CountryCreate) Save(ctx context.Context) (*Country, error) + func (cc *CountryCreate) SaveX(ctx context.Context) *Country + func (cc *CountryCreate) SetCode(s string) *CountryCreate + func (cc *CountryCreate) SetID(u uuid.UUID) *CountryCreate + func (cc *CountryCreate) SetName(s string) *CountryCreate + func (cc *CountryCreate) SetNillableID(u *uuid.UUID) *CountryCreate + type CountryCreateBulk struct + func (ccb *CountryCreateBulk) Exec(ctx context.Context) error + func (ccb *CountryCreateBulk) ExecX(ctx context.Context) + func (ccb *CountryCreateBulk) Save(ctx context.Context) ([]*Country, error) + func (ccb *CountryCreateBulk) SaveX(ctx context.Context) []*Country + type CountryDelete struct + func (cd *CountryDelete) Exec(ctx context.Context) (int, error) + func (cd *CountryDelete) ExecX(ctx context.Context) int + func (cd *CountryDelete) Where(ps ...predicate.Country) *CountryDelete + type CountryDeleteOne struct + func (cdo *CountryDeleteOne) Exec(ctx context.Context) error + func (cdo *CountryDeleteOne) ExecX(ctx context.Context) + type CountryEdge struct + Cursor Cursor + Node *Country + type CountryEdges struct + Companies []*Company + Emails []*Email + Locations []*Location + Phones []*Phone + Websites []*Website + func (e CountryEdges) CompaniesOrErr() ([]*Company, error) + func (e CountryEdges) EmailsOrErr() ([]*Email, error) + func (e CountryEdges) LocationsOrErr() ([]*Location, error) + func (e CountryEdges) PhonesOrErr() ([]*Phone, error) + func (e CountryEdges) WebsitesOrErr() ([]*Website, error) + type CountryGroupBy struct + func (cgb *CountryGroupBy) Aggregate(fns ...AggregateFunc) *CountryGroupBy + func (cgb *CountryGroupBy) Scan(ctx context.Context, v any) error + func (s *CountryGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CountryGroupBy) BoolX(ctx context.Context) bool + func (s *CountryGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CountryGroupBy) BoolsX(ctx context.Context) []bool + func (s *CountryGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CountryGroupBy) Float64X(ctx context.Context) float64 + func (s *CountryGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CountryGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CountryGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CountryGroupBy) IntX(ctx context.Context) int + func (s *CountryGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CountryGroupBy) IntsX(ctx context.Context) []int + func (s *CountryGroupBy) ScanX(ctx context.Context, v any) + func (s *CountryGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CountryGroupBy) StringX(ctx context.Context) string + func (s *CountryGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CountryGroupBy) StringsX(ctx context.Context) []string + type CountryMutation struct + func (m *CountryMutation) AddCompanyIDs(ids ...uuid.UUID) + func (m *CountryMutation) AddEmailIDs(ids ...uuid.UUID) + func (m *CountryMutation) AddField(name string, value ent.Value) error + func (m *CountryMutation) AddLocationIDs(ids ...uuid.UUID) + func (m *CountryMutation) AddPhoneIDs(ids ...uuid.UUID) + func (m *CountryMutation) AddWebsiteIDs(ids ...uuid.UUID) + func (m *CountryMutation) AddedEdges() []string + func (m *CountryMutation) AddedField(name string) (ent.Value, bool) + func (m *CountryMutation) AddedFields() []string + func (m *CountryMutation) AddedIDs(name string) []ent.Value + func (m *CountryMutation) ClearCompanies() + func (m *CountryMutation) ClearEdge(name string) error + func (m *CountryMutation) ClearEmails() + func (m *CountryMutation) ClearField(name string) error + func (m *CountryMutation) ClearLocations() + func (m *CountryMutation) ClearPhones() + func (m *CountryMutation) ClearWebsites() + func (m *CountryMutation) ClearedEdges() []string + func (m *CountryMutation) ClearedFields() []string + func (m *CountryMutation) Code() (r string, exists bool) + func (m *CountryMutation) CompaniesCleared() bool + func (m *CountryMutation) CompaniesIDs() (ids []uuid.UUID) + func (m *CountryMutation) EdgeCleared(name string) bool + func (m *CountryMutation) EmailsCleared() bool + func (m *CountryMutation) EmailsIDs() (ids []uuid.UUID) + func (m *CountryMutation) Field(name string) (ent.Value, bool) + func (m *CountryMutation) FieldCleared(name string) bool + func (m *CountryMutation) Fields() []string + func (m *CountryMutation) ID() (id uuid.UUID, exists bool) + func (m *CountryMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *CountryMutation) LocationsCleared() bool + func (m *CountryMutation) LocationsIDs() (ids []uuid.UUID) + func (m *CountryMutation) Name() (r string, exists bool) + func (m *CountryMutation) OldCode(ctx context.Context) (v string, err error) + func (m *CountryMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CountryMutation) OldName(ctx context.Context) (v string, err error) + func (m *CountryMutation) Op() Op + func (m *CountryMutation) PhonesCleared() bool + func (m *CountryMutation) PhonesIDs() (ids []uuid.UUID) + func (m *CountryMutation) RemoveCompanyIDs(ids ...uuid.UUID) + func (m *CountryMutation) RemoveEmailIDs(ids ...uuid.UUID) + func (m *CountryMutation) RemoveLocationIDs(ids ...uuid.UUID) + func (m *CountryMutation) RemovePhoneIDs(ids ...uuid.UUID) + func (m *CountryMutation) RemoveWebsiteIDs(ids ...uuid.UUID) + func (m *CountryMutation) RemovedCompaniesIDs() (ids []uuid.UUID) + func (m *CountryMutation) RemovedEdges() []string + func (m *CountryMutation) RemovedEmailsIDs() (ids []uuid.UUID) + func (m *CountryMutation) RemovedIDs(name string) []ent.Value + func (m *CountryMutation) RemovedLocationsIDs() (ids []uuid.UUID) + func (m *CountryMutation) RemovedPhonesIDs() (ids []uuid.UUID) + func (m *CountryMutation) RemovedWebsitesIDs() (ids []uuid.UUID) + func (m *CountryMutation) ResetCode() + func (m *CountryMutation) ResetCompanies() + func (m *CountryMutation) ResetEdge(name string) error + func (m *CountryMutation) ResetEmails() + func (m *CountryMutation) ResetField(name string) error + func (m *CountryMutation) ResetLocations() + func (m *CountryMutation) ResetName() + func (m *CountryMutation) ResetPhones() + func (m *CountryMutation) ResetWebsites() + func (m *CountryMutation) SetCode(s string) + func (m *CountryMutation) SetField(name string, value ent.Value) error + func (m *CountryMutation) SetID(id uuid.UUID) + func (m *CountryMutation) SetName(s string) + func (m *CountryMutation) SetOp(op Op) + func (m *CountryMutation) Type() string + func (m *CountryMutation) WebsitesCleared() bool + func (m *CountryMutation) WebsitesIDs() (ids []uuid.UUID) + func (m *CountryMutation) Where(ps ...predicate.Country) + func (m *CountryMutation) WhereP(ps ...func(*sql.Selector)) + func (m CountryMutation) Client() *Client + func (m CountryMutation) Tx() (*Tx, error) + type CountryOrder struct + Direction OrderDirection + Field *CountryOrderField + type CountryOrderField struct + func (f *CountryOrderField) UnmarshalGQL(v interface{}) error + func (f CountryOrderField) MarshalGQL(w io.Writer) + func (f CountryOrderField) String() string + type CountryPaginateOption func(*countryPager) error + func WithCountryFilter(filter func(*CountryQuery) (*CountryQuery, error)) CountryPaginateOption + func WithCountryOrder(order *CountryOrder) CountryPaginateOption + type CountryQuery struct + func (c *CountryQuery) CollectFields(ctx context.Context, satisfies ...string) (*CountryQuery, error) + func (c *CountryQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*CountryConnection, error) + func (cq *CountryQuery) Aggregate(fns ...AggregateFunc) *CountrySelect + func (cq *CountryQuery) All(ctx context.Context) ([]*Country, error) + func (cq *CountryQuery) AllX(ctx context.Context) []*Country + func (cq *CountryQuery) Clone() *CountryQuery + func (cq *CountryQuery) Count(ctx context.Context) (int, error) + func (cq *CountryQuery) CountX(ctx context.Context) int + func (cq *CountryQuery) Exist(ctx context.Context) (bool, error) + func (cq *CountryQuery) ExistX(ctx context.Context) bool + func (cq *CountryQuery) First(ctx context.Context) (*Country, error) + func (cq *CountryQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (cq *CountryQuery) FirstIDX(ctx context.Context) uuid.UUID + func (cq *CountryQuery) FirstX(ctx context.Context) *Country + func (cq *CountryQuery) GroupBy(field string, fields ...string) *CountryGroupBy + func (cq *CountryQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (cq *CountryQuery) IDsX(ctx context.Context) []uuid.UUID + func (cq *CountryQuery) Limit(limit int) *CountryQuery + func (cq *CountryQuery) Offset(offset int) *CountryQuery + func (cq *CountryQuery) Only(ctx context.Context) (*Country, error) + func (cq *CountryQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (cq *CountryQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (cq *CountryQuery) OnlyX(ctx context.Context) *Country + func (cq *CountryQuery) Order(o ...OrderFunc) *CountryQuery + func (cq *CountryQuery) QueryCompanies() *CompanyQuery + func (cq *CountryQuery) QueryEmails() *EmailQuery + func (cq *CountryQuery) QueryLocations() *LocationQuery + func (cq *CountryQuery) QueryPhones() *PhoneQuery + func (cq *CountryQuery) QueryWebsites() *WebsiteQuery + func (cq *CountryQuery) Select(fields ...string) *CountrySelect + func (cq *CountryQuery) Unique(unique bool) *CountryQuery + func (cq *CountryQuery) Where(ps ...predicate.Country) *CountryQuery + func (cq *CountryQuery) WithCompanies(opts ...func(*CompanyQuery)) *CountryQuery + func (cq *CountryQuery) WithEmails(opts ...func(*EmailQuery)) *CountryQuery + func (cq *CountryQuery) WithLocations(opts ...func(*LocationQuery)) *CountryQuery + func (cq *CountryQuery) WithNamedCompanies(name string, opts ...func(*CompanyQuery)) *CountryQuery + func (cq *CountryQuery) WithNamedEmails(name string, opts ...func(*EmailQuery)) *CountryQuery + func (cq *CountryQuery) WithNamedLocations(name string, opts ...func(*LocationQuery)) *CountryQuery + func (cq *CountryQuery) WithNamedPhones(name string, opts ...func(*PhoneQuery)) *CountryQuery + func (cq *CountryQuery) WithNamedWebsites(name string, opts ...func(*WebsiteQuery)) *CountryQuery + func (cq *CountryQuery) WithPhones(opts ...func(*PhoneQuery)) *CountryQuery + func (cq *CountryQuery) WithWebsites(opts ...func(*WebsiteQuery)) *CountryQuery + type CountrySelect struct + func (cs *CountrySelect) Aggregate(fns ...AggregateFunc) *CountrySelect + func (cs *CountrySelect) Scan(ctx context.Context, v any) error + func (s *CountrySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CountrySelect) BoolX(ctx context.Context) bool + func (s *CountrySelect) Bools(ctx context.Context) ([]bool, error) + func (s *CountrySelect) BoolsX(ctx context.Context) []bool + func (s *CountrySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CountrySelect) Float64X(ctx context.Context) float64 + func (s *CountrySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CountrySelect) Float64sX(ctx context.Context) []float64 + func (s *CountrySelect) Int(ctx context.Context) (_ int, err error) + func (s *CountrySelect) IntX(ctx context.Context) int + func (s *CountrySelect) Ints(ctx context.Context) ([]int, error) + func (s *CountrySelect) IntsX(ctx context.Context) []int + func (s *CountrySelect) ScanX(ctx context.Context, v any) + func (s *CountrySelect) String(ctx context.Context) (_ string, err error) + func (s *CountrySelect) StringX(ctx context.Context) string + func (s *CountrySelect) Strings(ctx context.Context) ([]string, error) + func (s *CountrySelect) StringsX(ctx context.Context) []string + type CountryUpdate struct + func (c *CountryUpdate) SetInput(i UpdateCountryInput) *CountryUpdate + func (cu *CountryUpdate) AddCompanies(c ...*Company) *CountryUpdate + func (cu *CountryUpdate) AddCompanyIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) AddEmailIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) AddEmails(e ...*Email) *CountryUpdate + func (cu *CountryUpdate) AddLocationIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) AddLocations(l ...*Location) *CountryUpdate + func (cu *CountryUpdate) AddPhoneIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) AddPhones(p ...*Phone) *CountryUpdate + func (cu *CountryUpdate) AddWebsiteIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) AddWebsites(w ...*Website) *CountryUpdate + func (cu *CountryUpdate) ClearCompanies() *CountryUpdate + func (cu *CountryUpdate) ClearEmails() *CountryUpdate + func (cu *CountryUpdate) ClearLocations() *CountryUpdate + func (cu *CountryUpdate) ClearPhones() *CountryUpdate + func (cu *CountryUpdate) ClearWebsites() *CountryUpdate + func (cu *CountryUpdate) Exec(ctx context.Context) error + func (cu *CountryUpdate) ExecX(ctx context.Context) + func (cu *CountryUpdate) Mutation() *CountryMutation + func (cu *CountryUpdate) RemoveCompanies(c ...*Company) *CountryUpdate + func (cu *CountryUpdate) RemoveCompanyIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) RemoveEmailIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) RemoveEmails(e ...*Email) *CountryUpdate + func (cu *CountryUpdate) RemoveLocationIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) RemoveLocations(l ...*Location) *CountryUpdate + func (cu *CountryUpdate) RemovePhoneIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) RemovePhones(p ...*Phone) *CountryUpdate + func (cu *CountryUpdate) RemoveWebsiteIDs(ids ...uuid.UUID) *CountryUpdate + func (cu *CountryUpdate) RemoveWebsites(w ...*Website) *CountryUpdate + func (cu *CountryUpdate) Save(ctx context.Context) (int, error) + func (cu *CountryUpdate) SaveX(ctx context.Context) int + func (cu *CountryUpdate) SetCode(s string) *CountryUpdate + func (cu *CountryUpdate) SetName(s string) *CountryUpdate + func (cu *CountryUpdate) Where(ps ...predicate.Country) *CountryUpdate + type CountryUpdateOne struct + func (c *CountryUpdateOne) SetInput(i UpdateCountryInput) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddCompanies(c ...*Company) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddCompanyIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddEmailIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddEmails(e ...*Email) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddLocationIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddLocations(l ...*Location) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddPhoneIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddPhones(p ...*Phone) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddWebsiteIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) AddWebsites(w ...*Website) *CountryUpdateOne + func (cuo *CountryUpdateOne) ClearCompanies() *CountryUpdateOne + func (cuo *CountryUpdateOne) ClearEmails() *CountryUpdateOne + func (cuo *CountryUpdateOne) ClearLocations() *CountryUpdateOne + func (cuo *CountryUpdateOne) ClearPhones() *CountryUpdateOne + func (cuo *CountryUpdateOne) ClearWebsites() *CountryUpdateOne + func (cuo *CountryUpdateOne) Exec(ctx context.Context) error + func (cuo *CountryUpdateOne) ExecX(ctx context.Context) + func (cuo *CountryUpdateOne) Mutation() *CountryMutation + func (cuo *CountryUpdateOne) RemoveCompanies(c ...*Company) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveCompanyIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveEmailIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveEmails(e ...*Email) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveLocationIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveLocations(l ...*Location) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemovePhoneIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemovePhones(p ...*Phone) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveWebsiteIDs(ids ...uuid.UUID) *CountryUpdateOne + func (cuo *CountryUpdateOne) RemoveWebsites(w ...*Website) *CountryUpdateOne + func (cuo *CountryUpdateOne) Save(ctx context.Context) (*Country, error) + func (cuo *CountryUpdateOne) SaveX(ctx context.Context) *Country + func (cuo *CountryUpdateOne) Select(field string, fields ...string) *CountryUpdateOne + func (cuo *CountryUpdateOne) SetCode(s string) *CountryUpdateOne + func (cuo *CountryUpdateOne) SetName(s string) *CountryUpdateOne + type CountryWhereInput struct + And []*CountryWhereInput + Code *string + CodeContains *string + CodeContainsFold *string + CodeEqualFold *string + CodeGT *string + CodeGTE *string + CodeHasPrefix *string + CodeHasSuffix *string + CodeIn []string + CodeLT *string + CodeLTE *string + CodeNEQ *string + CodeNotIn []string + HasCompanies *bool + HasCompaniesWith []*CompanyWhereInput + HasEmails *bool + HasEmailsWith []*EmailWhereInput + HasLocations *bool + HasLocationsWith []*LocationWhereInput + HasPhones *bool + HasPhonesWith []*PhoneWhereInput + HasWebsites *bool + HasWebsitesWith []*WebsiteWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *CountryWhereInput + Or []*CountryWhereInput + Predicates []predicate.Country + func (cwi *CountryWhereInput) ApplySearchQuery(q *string) *CountryWhereInput + func (i *CountryWhereInput) AddPredicates(predicates ...predicate.Country) + func (i *CountryWhereInput) Filter(q *CountryQuery) (*CountryQuery, error) + func (i *CountryWhereInput) P() (predicate.Country, error) + type CreateCompanyInput struct + CountryIDs []uuid.UUID + CoverImageID *uuid.UUID + Description string + EmailIDs []uuid.UUID + GalleryImageIDs []uuid.UUID + LocationIDs []uuid.UUID + LogoImageID *uuid.UUID + Name string + PhoneIDs []uuid.UUID + WebsiteIDs []uuid.UUID + func (i *CreateCompanyInput) Mutate(m *CompanyMutation) + type CreateCountryInput struct + Code string + CompanyIDs []uuid.UUID + EmailIDs []uuid.UUID + LocationIDs []uuid.UUID + Name string + PhoneIDs []uuid.UUID + WebsiteIDs []uuid.UUID + func (i *CreateCountryInput) Mutate(m *CountryMutation) + type CreateEmailInput struct + Address string + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description string + Title string + func (i *CreateEmailInput) Mutate(m *EmailMutation) + type CreateImageInput struct + CoverCompanyID *uuid.UUID + GalleryCompanyID *uuid.UUID + LogoCompanyID *uuid.UUID + OriginalURL string + Title string + func (i *CreateImageInput) Mutate(m *ImageMutation) + type CreateLocationInput struct + Address string + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description string + Latitude float64 + Longitude float64 + Postcode string + State string + StreetName string + StreetType string + Suburb string + Title string + Type string + func (i *CreateLocationInput) Mutate(m *LocationMutation) + type CreatePhoneInput struct + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description string + Number string + Title string + Type string + func (i *CreatePhoneInput) Mutate(m *PhoneMutation) + type CreateProductInput struct + BuildStatus *enums.ProcessStatus + Description string + Image string + Name string + Status *enums.ProcessStatus + URL string + VendorID *uuid.UUID + WarehouseID *uuid.UUID + func (i *CreateProductInput) Mutate(m *ProductMutation) + type CreateVendorInput struct + Name string + ProductIDs []uuid.UUID + Schema string + WarehouseIDs []uuid.UUID + func (i *CreateVendorInput) Mutate(m *VendorMutation) + type CreateWarehouseInput struct + Enabled *bool + Filters []string + Name string + OriginalData *string + ProductIDs []uuid.UUID + VendorID *uuid.UUID + func (i *CreateWarehouseInput) Mutate(m *WarehouseMutation) + type CreateWebsiteInput struct + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description string + Title string + URL string + func (i *CreateWebsiteInput) Mutate(m *WebsiteMutation) + type Cursor struct + ID uuid.UUID + Value Value + func (c *Cursor) UnmarshalGQL(v interface{}) error + func (c Cursor) MarshalGQL(w io.Writer) + type Email struct + Address string + Description string + Edges EmailEdges + ID uuid.UUID + Title string + func (e *Email) Company(ctx context.Context) (*Company, error) + func (e *Email) Country(ctx context.Context) (*Country, error) + func (e *Email) QueryCompany() *CompanyQuery + func (e *Email) QueryCountry() *CountryQuery + func (e *Email) String() string + func (e *Email) ToEdge(order *EmailOrder) *EmailEdge + func (e *Email) Unwrap() *Email + func (e *Email) Update() *EmailUpdateOne + func (n *Email) IsNode() + type EmailClient struct + func NewEmailClient(c config) *EmailClient + func (c *EmailClient) Create() *EmailCreate + func (c *EmailClient) CreateBulk(builders ...*EmailCreate) *EmailCreateBulk + func (c *EmailClient) Delete() *EmailDelete + func (c *EmailClient) DeleteOne(e *Email) *EmailDeleteOne + func (c *EmailClient) DeleteOneID(id uuid.UUID) *EmailDeleteOne + func (c *EmailClient) Get(ctx context.Context, id uuid.UUID) (*Email, error) + func (c *EmailClient) GetX(ctx context.Context, id uuid.UUID) *Email + func (c *EmailClient) Hooks() []Hook + func (c *EmailClient) Intercept(interceptors ...Interceptor) + func (c *EmailClient) Interceptors() []Interceptor + func (c *EmailClient) Query() *EmailQuery + func (c *EmailClient) QueryCompany(e *Email) *CompanyQuery + func (c *EmailClient) QueryCountry(e *Email) *CountryQuery + func (c *EmailClient) Update() *EmailUpdate + func (c *EmailClient) UpdateOne(e *Email) *EmailUpdateOne + func (c *EmailClient) UpdateOneID(id uuid.UUID) *EmailUpdateOne + func (c *EmailClient) Use(hooks ...Hook) + type EmailConnection struct + Edges []*EmailEdge + PageInfo PageInfo + TotalCount int + type EmailCreate struct + func (c *EmailCreate) SetInput(i CreateEmailInput) *EmailCreate + func (ec *EmailCreate) Exec(ctx context.Context) error + func (ec *EmailCreate) ExecX(ctx context.Context) + func (ec *EmailCreate) Mutation() *EmailMutation + func (ec *EmailCreate) Save(ctx context.Context) (*Email, error) + func (ec *EmailCreate) SaveX(ctx context.Context) *Email + func (ec *EmailCreate) SetAddress(s string) *EmailCreate + func (ec *EmailCreate) SetCompany(c *Company) *EmailCreate + func (ec *EmailCreate) SetCompanyID(id uuid.UUID) *EmailCreate + func (ec *EmailCreate) SetCountry(c *Country) *EmailCreate + func (ec *EmailCreate) SetCountryID(id uuid.UUID) *EmailCreate + func (ec *EmailCreate) SetDescription(s string) *EmailCreate + func (ec *EmailCreate) SetID(u uuid.UUID) *EmailCreate + func (ec *EmailCreate) SetNillableCompanyID(id *uuid.UUID) *EmailCreate + func (ec *EmailCreate) SetNillableCountryID(id *uuid.UUID) *EmailCreate + func (ec *EmailCreate) SetNillableID(u *uuid.UUID) *EmailCreate + func (ec *EmailCreate) SetTitle(s string) *EmailCreate + type EmailCreateBulk struct + func (ecb *EmailCreateBulk) Exec(ctx context.Context) error + func (ecb *EmailCreateBulk) ExecX(ctx context.Context) + func (ecb *EmailCreateBulk) Save(ctx context.Context) ([]*Email, error) + func (ecb *EmailCreateBulk) SaveX(ctx context.Context) []*Email + type EmailDelete struct + func (ed *EmailDelete) Exec(ctx context.Context) (int, error) + func (ed *EmailDelete) ExecX(ctx context.Context) int + func (ed *EmailDelete) Where(ps ...predicate.Email) *EmailDelete + type EmailDeleteOne struct + func (edo *EmailDeleteOne) Exec(ctx context.Context) error + func (edo *EmailDeleteOne) ExecX(ctx context.Context) + type EmailEdge struct + Cursor Cursor + Node *Email + type EmailEdges struct + Company *Company + Country *Country + func (e EmailEdges) CompanyOrErr() (*Company, error) + func (e EmailEdges) CountryOrErr() (*Country, error) + type EmailGroupBy struct + func (egb *EmailGroupBy) Aggregate(fns ...AggregateFunc) *EmailGroupBy + func (egb *EmailGroupBy) Scan(ctx context.Context, v any) error + func (s *EmailGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *EmailGroupBy) BoolX(ctx context.Context) bool + func (s *EmailGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *EmailGroupBy) BoolsX(ctx context.Context) []bool + func (s *EmailGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *EmailGroupBy) Float64X(ctx context.Context) float64 + func (s *EmailGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *EmailGroupBy) Float64sX(ctx context.Context) []float64 + func (s *EmailGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *EmailGroupBy) IntX(ctx context.Context) int + func (s *EmailGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *EmailGroupBy) IntsX(ctx context.Context) []int + func (s *EmailGroupBy) ScanX(ctx context.Context, v any) + func (s *EmailGroupBy) String(ctx context.Context) (_ string, err error) + func (s *EmailGroupBy) StringX(ctx context.Context) string + func (s *EmailGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *EmailGroupBy) StringsX(ctx context.Context) []string + type EmailMutation struct + func (m *EmailMutation) AddField(name string, value ent.Value) error + func (m *EmailMutation) AddedEdges() []string + func (m *EmailMutation) AddedField(name string) (ent.Value, bool) + func (m *EmailMutation) AddedFields() []string + func (m *EmailMutation) AddedIDs(name string) []ent.Value + func (m *EmailMutation) Address() (r string, exists bool) + func (m *EmailMutation) ClearCompany() + func (m *EmailMutation) ClearCountry() + func (m *EmailMutation) ClearEdge(name string) error + func (m *EmailMutation) ClearField(name string) error + func (m *EmailMutation) ClearedEdges() []string + func (m *EmailMutation) ClearedFields() []string + func (m *EmailMutation) CompanyCleared() bool + func (m *EmailMutation) CompanyID() (id uuid.UUID, exists bool) + func (m *EmailMutation) CompanyIDs() (ids []uuid.UUID) + func (m *EmailMutation) CountryCleared() bool + func (m *EmailMutation) CountryID() (id uuid.UUID, exists bool) + func (m *EmailMutation) CountryIDs() (ids []uuid.UUID) + func (m *EmailMutation) Description() (r string, exists bool) + func (m *EmailMutation) EdgeCleared(name string) bool + func (m *EmailMutation) Field(name string) (ent.Value, bool) + func (m *EmailMutation) FieldCleared(name string) bool + func (m *EmailMutation) Fields() []string + func (m *EmailMutation) ID() (id uuid.UUID, exists bool) + func (m *EmailMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *EmailMutation) OldAddress(ctx context.Context) (v string, err error) + func (m *EmailMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *EmailMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *EmailMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *EmailMutation) Op() Op + func (m *EmailMutation) RemovedEdges() []string + func (m *EmailMutation) RemovedIDs(name string) []ent.Value + func (m *EmailMutation) ResetAddress() + func (m *EmailMutation) ResetCompany() + func (m *EmailMutation) ResetCountry() + func (m *EmailMutation) ResetDescription() + func (m *EmailMutation) ResetEdge(name string) error + func (m *EmailMutation) ResetField(name string) error + func (m *EmailMutation) ResetTitle() + func (m *EmailMutation) SetAddress(s string) + func (m *EmailMutation) SetCompanyID(id uuid.UUID) + func (m *EmailMutation) SetCountryID(id uuid.UUID) + func (m *EmailMutation) SetDescription(s string) + func (m *EmailMutation) SetField(name string, value ent.Value) error + func (m *EmailMutation) SetID(id uuid.UUID) + func (m *EmailMutation) SetOp(op Op) + func (m *EmailMutation) SetTitle(s string) + func (m *EmailMutation) Title() (r string, exists bool) + func (m *EmailMutation) Type() string + func (m *EmailMutation) Where(ps ...predicate.Email) + func (m *EmailMutation) WhereP(ps ...func(*sql.Selector)) + func (m EmailMutation) Client() *Client + func (m EmailMutation) Tx() (*Tx, error) + type EmailOrder struct + Direction OrderDirection + Field *EmailOrderField + type EmailOrderField struct + func (f *EmailOrderField) UnmarshalGQL(v interface{}) error + func (f EmailOrderField) MarshalGQL(w io.Writer) + func (f EmailOrderField) String() string + type EmailPaginateOption func(*emailPager) error + func WithEmailFilter(filter func(*EmailQuery) (*EmailQuery, error)) EmailPaginateOption + func WithEmailOrder(order *EmailOrder) EmailPaginateOption + type EmailQuery struct + func (e *EmailQuery) CollectFields(ctx context.Context, satisfies ...string) (*EmailQuery, error) + func (e *EmailQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*EmailConnection, error) + func (eq *EmailQuery) Aggregate(fns ...AggregateFunc) *EmailSelect + func (eq *EmailQuery) All(ctx context.Context) ([]*Email, error) + func (eq *EmailQuery) AllX(ctx context.Context) []*Email + func (eq *EmailQuery) Clone() *EmailQuery + func (eq *EmailQuery) Count(ctx context.Context) (int, error) + func (eq *EmailQuery) CountX(ctx context.Context) int + func (eq *EmailQuery) Exist(ctx context.Context) (bool, error) + func (eq *EmailQuery) ExistX(ctx context.Context) bool + func (eq *EmailQuery) First(ctx context.Context) (*Email, error) + func (eq *EmailQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (eq *EmailQuery) FirstIDX(ctx context.Context) uuid.UUID + func (eq *EmailQuery) FirstX(ctx context.Context) *Email + func (eq *EmailQuery) GroupBy(field string, fields ...string) *EmailGroupBy + func (eq *EmailQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (eq *EmailQuery) IDsX(ctx context.Context) []uuid.UUID + func (eq *EmailQuery) Limit(limit int) *EmailQuery + func (eq *EmailQuery) Offset(offset int) *EmailQuery + func (eq *EmailQuery) Only(ctx context.Context) (*Email, error) + func (eq *EmailQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (eq *EmailQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (eq *EmailQuery) OnlyX(ctx context.Context) *Email + func (eq *EmailQuery) Order(o ...OrderFunc) *EmailQuery + func (eq *EmailQuery) QueryCompany() *CompanyQuery + func (eq *EmailQuery) QueryCountry() *CountryQuery + func (eq *EmailQuery) Select(fields ...string) *EmailSelect + func (eq *EmailQuery) Unique(unique bool) *EmailQuery + func (eq *EmailQuery) Where(ps ...predicate.Email) *EmailQuery + func (eq *EmailQuery) WithCompany(opts ...func(*CompanyQuery)) *EmailQuery + func (eq *EmailQuery) WithCountry(opts ...func(*CountryQuery)) *EmailQuery + type EmailSelect struct + func (es *EmailSelect) Aggregate(fns ...AggregateFunc) *EmailSelect + func (es *EmailSelect) Scan(ctx context.Context, v any) error + func (s *EmailSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *EmailSelect) BoolX(ctx context.Context) bool + func (s *EmailSelect) Bools(ctx context.Context) ([]bool, error) + func (s *EmailSelect) BoolsX(ctx context.Context) []bool + func (s *EmailSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *EmailSelect) Float64X(ctx context.Context) float64 + func (s *EmailSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *EmailSelect) Float64sX(ctx context.Context) []float64 + func (s *EmailSelect) Int(ctx context.Context) (_ int, err error) + func (s *EmailSelect) IntX(ctx context.Context) int + func (s *EmailSelect) Ints(ctx context.Context) ([]int, error) + func (s *EmailSelect) IntsX(ctx context.Context) []int + func (s *EmailSelect) ScanX(ctx context.Context, v any) + func (s *EmailSelect) String(ctx context.Context) (_ string, err error) + func (s *EmailSelect) StringX(ctx context.Context) string + func (s *EmailSelect) Strings(ctx context.Context) ([]string, error) + func (s *EmailSelect) StringsX(ctx context.Context) []string + type EmailUpdate struct + func (c *EmailUpdate) SetInput(i UpdateEmailInput) *EmailUpdate + func (eu *EmailUpdate) ClearCompany() *EmailUpdate + func (eu *EmailUpdate) ClearCountry() *EmailUpdate + func (eu *EmailUpdate) Exec(ctx context.Context) error + func (eu *EmailUpdate) ExecX(ctx context.Context) + func (eu *EmailUpdate) Mutation() *EmailMutation + func (eu *EmailUpdate) Save(ctx context.Context) (int, error) + func (eu *EmailUpdate) SaveX(ctx context.Context) int + func (eu *EmailUpdate) SetAddress(s string) *EmailUpdate + func (eu *EmailUpdate) SetCompany(c *Company) *EmailUpdate + func (eu *EmailUpdate) SetCompanyID(id uuid.UUID) *EmailUpdate + func (eu *EmailUpdate) SetCountry(c *Country) *EmailUpdate + func (eu *EmailUpdate) SetCountryID(id uuid.UUID) *EmailUpdate + func (eu *EmailUpdate) SetDescription(s string) *EmailUpdate + func (eu *EmailUpdate) SetNillableCompanyID(id *uuid.UUID) *EmailUpdate + func (eu *EmailUpdate) SetNillableCountryID(id *uuid.UUID) *EmailUpdate + func (eu *EmailUpdate) SetTitle(s string) *EmailUpdate + func (eu *EmailUpdate) Where(ps ...predicate.Email) *EmailUpdate + type EmailUpdateOne struct + func (c *EmailUpdateOne) SetInput(i UpdateEmailInput) *EmailUpdateOne + func (euo *EmailUpdateOne) ClearCompany() *EmailUpdateOne + func (euo *EmailUpdateOne) ClearCountry() *EmailUpdateOne + func (euo *EmailUpdateOne) Exec(ctx context.Context) error + func (euo *EmailUpdateOne) ExecX(ctx context.Context) + func (euo *EmailUpdateOne) Mutation() *EmailMutation + func (euo *EmailUpdateOne) Save(ctx context.Context) (*Email, error) + func (euo *EmailUpdateOne) SaveX(ctx context.Context) *Email + func (euo *EmailUpdateOne) Select(field string, fields ...string) *EmailUpdateOne + func (euo *EmailUpdateOne) SetAddress(s string) *EmailUpdateOne + func (euo *EmailUpdateOne) SetCompany(c *Company) *EmailUpdateOne + func (euo *EmailUpdateOne) SetCompanyID(id uuid.UUID) *EmailUpdateOne + func (euo *EmailUpdateOne) SetCountry(c *Country) *EmailUpdateOne + func (euo *EmailUpdateOne) SetCountryID(id uuid.UUID) *EmailUpdateOne + func (euo *EmailUpdateOne) SetDescription(s string) *EmailUpdateOne + func (euo *EmailUpdateOne) SetNillableCompanyID(id *uuid.UUID) *EmailUpdateOne + func (euo *EmailUpdateOne) SetNillableCountryID(id *uuid.UUID) *EmailUpdateOne + func (euo *EmailUpdateOne) SetTitle(s string) *EmailUpdateOne + type EmailWhereInput struct + Address *string + AddressContains *string + AddressContainsFold *string + AddressEqualFold *string + AddressGT *string + AddressGTE *string + AddressHasPrefix *string + AddressHasSuffix *string + AddressIn []string + AddressLT *string + AddressLTE *string + AddressNEQ *string + AddressNotIn []string + And []*EmailWhereInput + Description *string + DescriptionContains *string + DescriptionContainsFold *string + DescriptionEqualFold *string + DescriptionGT *string + DescriptionGTE *string + DescriptionHasPrefix *string + DescriptionHasSuffix *string + DescriptionIn []string + DescriptionLT *string + DescriptionLTE *string + DescriptionNEQ *string + DescriptionNotIn []string + HasCompany *bool + HasCompanyWith []*CompanyWhereInput + HasCountry *bool + HasCountryWith []*CountryWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Not *EmailWhereInput + Or []*EmailWhereInput + Predicates []predicate.Email + Title *string + TitleContains *string + TitleContainsFold *string + TitleEqualFold *string + TitleGT *string + TitleGTE *string + TitleHasPrefix *string + TitleHasSuffix *string + TitleIn []string + TitleLT *string + TitleLTE *string + TitleNEQ *string + TitleNotIn []string + func (ewi *EmailWhereInput) ApplySearchQuery(q *string) *EmailWhereInput + func (i *EmailWhereInput) AddPredicates(predicates ...predicate.Email) + func (i *EmailWhereInput) Filter(q *EmailQuery) (*EmailQuery, error) + func (i *EmailWhereInput) P() (predicate.Email, error) + type Emails []*Email + type Hook = ent.Hook + type Image struct + Edges ImageEdges + ID uuid.UUID + OriginalURL string + Title string + func (i *Image) CoverCompany(ctx context.Context) (*Company, error) + func (i *Image) GalleryCompany(ctx context.Context) (*Company, error) + func (i *Image) LogoCompany(ctx context.Context) (*Company, error) + func (i *Image) QueryCoverCompany() *CompanyQuery + func (i *Image) QueryGalleryCompany() *CompanyQuery + func (i *Image) QueryLogoCompany() *CompanyQuery + func (i *Image) String() string + func (i *Image) ToEdge(order *ImageOrder) *ImageEdge + func (i *Image) Unwrap() *Image + func (i *Image) Update() *ImageUpdateOne + func (n *Image) IsNode() + type ImageClient struct + func NewImageClient(c config) *ImageClient + func (c *ImageClient) Create() *ImageCreate + func (c *ImageClient) CreateBulk(builders ...*ImageCreate) *ImageCreateBulk + func (c *ImageClient) Delete() *ImageDelete + func (c *ImageClient) DeleteOne(i *Image) *ImageDeleteOne + func (c *ImageClient) DeleteOneID(id uuid.UUID) *ImageDeleteOne + func (c *ImageClient) Get(ctx context.Context, id uuid.UUID) (*Image, error) + func (c *ImageClient) GetX(ctx context.Context, id uuid.UUID) *Image + func (c *ImageClient) Hooks() []Hook + func (c *ImageClient) Intercept(interceptors ...Interceptor) + func (c *ImageClient) Interceptors() []Interceptor + func (c *ImageClient) Query() *ImageQuery + func (c *ImageClient) QueryCoverCompany(i *Image) *CompanyQuery + func (c *ImageClient) QueryGalleryCompany(i *Image) *CompanyQuery + func (c *ImageClient) QueryLogoCompany(i *Image) *CompanyQuery + func (c *ImageClient) Update() *ImageUpdate + func (c *ImageClient) UpdateOne(i *Image) *ImageUpdateOne + func (c *ImageClient) UpdateOneID(id uuid.UUID) *ImageUpdateOne + func (c *ImageClient) Use(hooks ...Hook) + type ImageConnection struct + Edges []*ImageEdge + PageInfo PageInfo + TotalCount int + type ImageCreate struct + func (c *ImageCreate) SetInput(i CreateImageInput) *ImageCreate + func (ic *ImageCreate) Exec(ctx context.Context) error + func (ic *ImageCreate) ExecX(ctx context.Context) + func (ic *ImageCreate) Mutation() *ImageMutation + func (ic *ImageCreate) Save(ctx context.Context) (*Image, error) + func (ic *ImageCreate) SaveX(ctx context.Context) *Image + func (ic *ImageCreate) SetCoverCompany(c *Company) *ImageCreate + func (ic *ImageCreate) SetCoverCompanyID(id uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetGalleryCompany(c *Company) *ImageCreate + func (ic *ImageCreate) SetGalleryCompanyID(id uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetID(u uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetLogoCompany(c *Company) *ImageCreate + func (ic *ImageCreate) SetLogoCompanyID(id uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetNillableCoverCompanyID(id *uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetNillableGalleryCompanyID(id *uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetNillableID(u *uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetNillableLogoCompanyID(id *uuid.UUID) *ImageCreate + func (ic *ImageCreate) SetOriginalURL(s string) *ImageCreate + func (ic *ImageCreate) SetTitle(s string) *ImageCreate + type ImageCreateBulk struct + func (icb *ImageCreateBulk) Exec(ctx context.Context) error + func (icb *ImageCreateBulk) ExecX(ctx context.Context) + func (icb *ImageCreateBulk) Save(ctx context.Context) ([]*Image, error) + func (icb *ImageCreateBulk) SaveX(ctx context.Context) []*Image + type ImageDelete struct + func (id *ImageDelete) Exec(ctx context.Context) (int, error) + func (id *ImageDelete) ExecX(ctx context.Context) int + func (id *ImageDelete) Where(ps ...predicate.Image) *ImageDelete + type ImageDeleteOne struct + func (ido *ImageDeleteOne) Exec(ctx context.Context) error + func (ido *ImageDeleteOne) ExecX(ctx context.Context) + type ImageEdge struct + Cursor Cursor + Node *Image + type ImageEdges struct + CoverCompany *Company + GalleryCompany *Company + LogoCompany *Company + func (e ImageEdges) CoverCompanyOrErr() (*Company, error) + func (e ImageEdges) GalleryCompanyOrErr() (*Company, error) + func (e ImageEdges) LogoCompanyOrErr() (*Company, error) + type ImageGroupBy struct + func (igb *ImageGroupBy) Aggregate(fns ...AggregateFunc) *ImageGroupBy + func (igb *ImageGroupBy) Scan(ctx context.Context, v any) error + func (s *ImageGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ImageGroupBy) BoolX(ctx context.Context) bool + func (s *ImageGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ImageGroupBy) BoolsX(ctx context.Context) []bool + func (s *ImageGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ImageGroupBy) Float64X(ctx context.Context) float64 + func (s *ImageGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ImageGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ImageGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ImageGroupBy) IntX(ctx context.Context) int + func (s *ImageGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ImageGroupBy) IntsX(ctx context.Context) []int + func (s *ImageGroupBy) ScanX(ctx context.Context, v any) + func (s *ImageGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ImageGroupBy) StringX(ctx context.Context) string + func (s *ImageGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ImageGroupBy) StringsX(ctx context.Context) []string + type ImageMutation struct + func (m *ImageMutation) AddField(name string, value ent.Value) error + func (m *ImageMutation) AddedEdges() []string + func (m *ImageMutation) AddedField(name string) (ent.Value, bool) + func (m *ImageMutation) AddedFields() []string + func (m *ImageMutation) AddedIDs(name string) []ent.Value + func (m *ImageMutation) ClearCoverCompany() + func (m *ImageMutation) ClearEdge(name string) error + func (m *ImageMutation) ClearField(name string) error + func (m *ImageMutation) ClearGalleryCompany() + func (m *ImageMutation) ClearLogoCompany() + func (m *ImageMutation) ClearedEdges() []string + func (m *ImageMutation) ClearedFields() []string + func (m *ImageMutation) CoverCompanyCleared() bool + func (m *ImageMutation) CoverCompanyID() (id uuid.UUID, exists bool) + func (m *ImageMutation) CoverCompanyIDs() (ids []uuid.UUID) + func (m *ImageMutation) EdgeCleared(name string) bool + func (m *ImageMutation) Field(name string) (ent.Value, bool) + func (m *ImageMutation) FieldCleared(name string) bool + func (m *ImageMutation) Fields() []string + func (m *ImageMutation) GalleryCompanyCleared() bool + func (m *ImageMutation) GalleryCompanyID() (id uuid.UUID, exists bool) + func (m *ImageMutation) GalleryCompanyIDs() (ids []uuid.UUID) + func (m *ImageMutation) ID() (id uuid.UUID, exists bool) + func (m *ImageMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ImageMutation) LogoCompanyCleared() bool + func (m *ImageMutation) LogoCompanyID() (id uuid.UUID, exists bool) + func (m *ImageMutation) LogoCompanyIDs() (ids []uuid.UUID) + func (m *ImageMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ImageMutation) OldOriginalURL(ctx context.Context) (v string, err error) + func (m *ImageMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *ImageMutation) Op() Op + func (m *ImageMutation) OriginalURL() (r string, exists bool) + func (m *ImageMutation) RemovedEdges() []string + func (m *ImageMutation) RemovedIDs(name string) []ent.Value + func (m *ImageMutation) ResetCoverCompany() + func (m *ImageMutation) ResetEdge(name string) error + func (m *ImageMutation) ResetField(name string) error + func (m *ImageMutation) ResetGalleryCompany() + func (m *ImageMutation) ResetLogoCompany() + func (m *ImageMutation) ResetOriginalURL() + func (m *ImageMutation) ResetTitle() + func (m *ImageMutation) SetCoverCompanyID(id uuid.UUID) + func (m *ImageMutation) SetField(name string, value ent.Value) error + func (m *ImageMutation) SetGalleryCompanyID(id uuid.UUID) + func (m *ImageMutation) SetID(id uuid.UUID) + func (m *ImageMutation) SetLogoCompanyID(id uuid.UUID) + func (m *ImageMutation) SetOp(op Op) + func (m *ImageMutation) SetOriginalURL(s string) + func (m *ImageMutation) SetTitle(s string) + func (m *ImageMutation) Title() (r string, exists bool) + func (m *ImageMutation) Type() string + func (m *ImageMutation) Where(ps ...predicate.Image) + func (m *ImageMutation) WhereP(ps ...func(*sql.Selector)) + func (m ImageMutation) Client() *Client + func (m ImageMutation) Tx() (*Tx, error) + type ImageOrder struct + Direction OrderDirection + Field *ImageOrderField + type ImageOrderField struct + func (f *ImageOrderField) UnmarshalGQL(v interface{}) error + func (f ImageOrderField) MarshalGQL(w io.Writer) + func (f ImageOrderField) String() string + type ImagePaginateOption func(*imagePager) error + func WithImageFilter(filter func(*ImageQuery) (*ImageQuery, error)) ImagePaginateOption + func WithImageOrder(order *ImageOrder) ImagePaginateOption + type ImageQuery struct + func (i *ImageQuery) CollectFields(ctx context.Context, satisfies ...string) (*ImageQuery, error) + func (i *ImageQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*ImageConnection, error) + func (iq *ImageQuery) Aggregate(fns ...AggregateFunc) *ImageSelect + func (iq *ImageQuery) All(ctx context.Context) ([]*Image, error) + func (iq *ImageQuery) AllX(ctx context.Context) []*Image + func (iq *ImageQuery) Clone() *ImageQuery + func (iq *ImageQuery) Count(ctx context.Context) (int, error) + func (iq *ImageQuery) CountX(ctx context.Context) int + func (iq *ImageQuery) Exist(ctx context.Context) (bool, error) + func (iq *ImageQuery) ExistX(ctx context.Context) bool + func (iq *ImageQuery) First(ctx context.Context) (*Image, error) + func (iq *ImageQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (iq *ImageQuery) FirstIDX(ctx context.Context) uuid.UUID + func (iq *ImageQuery) FirstX(ctx context.Context) *Image + func (iq *ImageQuery) GroupBy(field string, fields ...string) *ImageGroupBy + func (iq *ImageQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (iq *ImageQuery) IDsX(ctx context.Context) []uuid.UUID + func (iq *ImageQuery) Limit(limit int) *ImageQuery + func (iq *ImageQuery) Offset(offset int) *ImageQuery + func (iq *ImageQuery) Only(ctx context.Context) (*Image, error) + func (iq *ImageQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (iq *ImageQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (iq *ImageQuery) OnlyX(ctx context.Context) *Image + func (iq *ImageQuery) Order(o ...OrderFunc) *ImageQuery + func (iq *ImageQuery) QueryCoverCompany() *CompanyQuery + func (iq *ImageQuery) QueryGalleryCompany() *CompanyQuery + func (iq *ImageQuery) QueryLogoCompany() *CompanyQuery + func (iq *ImageQuery) Select(fields ...string) *ImageSelect + func (iq *ImageQuery) Unique(unique bool) *ImageQuery + func (iq *ImageQuery) Where(ps ...predicate.Image) *ImageQuery + func (iq *ImageQuery) WithCoverCompany(opts ...func(*CompanyQuery)) *ImageQuery + func (iq *ImageQuery) WithGalleryCompany(opts ...func(*CompanyQuery)) *ImageQuery + func (iq *ImageQuery) WithLogoCompany(opts ...func(*CompanyQuery)) *ImageQuery + type ImageSelect struct + func (is *ImageSelect) Aggregate(fns ...AggregateFunc) *ImageSelect + func (is *ImageSelect) Scan(ctx context.Context, v any) error + func (s *ImageSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ImageSelect) BoolX(ctx context.Context) bool + func (s *ImageSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ImageSelect) BoolsX(ctx context.Context) []bool + func (s *ImageSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ImageSelect) Float64X(ctx context.Context) float64 + func (s *ImageSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ImageSelect) Float64sX(ctx context.Context) []float64 + func (s *ImageSelect) Int(ctx context.Context) (_ int, err error) + func (s *ImageSelect) IntX(ctx context.Context) int + func (s *ImageSelect) Ints(ctx context.Context) ([]int, error) + func (s *ImageSelect) IntsX(ctx context.Context) []int + func (s *ImageSelect) ScanX(ctx context.Context, v any) + func (s *ImageSelect) String(ctx context.Context) (_ string, err error) + func (s *ImageSelect) StringX(ctx context.Context) string + func (s *ImageSelect) Strings(ctx context.Context) ([]string, error) + func (s *ImageSelect) StringsX(ctx context.Context) []string + type ImageUpdate struct + func (c *ImageUpdate) SetInput(i UpdateImageInput) *ImageUpdate + func (iu *ImageUpdate) ClearCoverCompany() *ImageUpdate + func (iu *ImageUpdate) ClearGalleryCompany() *ImageUpdate + func (iu *ImageUpdate) ClearLogoCompany() *ImageUpdate + func (iu *ImageUpdate) Exec(ctx context.Context) error + func (iu *ImageUpdate) ExecX(ctx context.Context) + func (iu *ImageUpdate) Mutation() *ImageMutation + func (iu *ImageUpdate) Save(ctx context.Context) (int, error) + func (iu *ImageUpdate) SaveX(ctx context.Context) int + func (iu *ImageUpdate) SetCoverCompany(c *Company) *ImageUpdate + func (iu *ImageUpdate) SetCoverCompanyID(id uuid.UUID) *ImageUpdate + func (iu *ImageUpdate) SetGalleryCompany(c *Company) *ImageUpdate + func (iu *ImageUpdate) SetGalleryCompanyID(id uuid.UUID) *ImageUpdate + func (iu *ImageUpdate) SetLogoCompany(c *Company) *ImageUpdate + func (iu *ImageUpdate) SetLogoCompanyID(id uuid.UUID) *ImageUpdate + func (iu *ImageUpdate) SetNillableCoverCompanyID(id *uuid.UUID) *ImageUpdate + func (iu *ImageUpdate) SetNillableGalleryCompanyID(id *uuid.UUID) *ImageUpdate + func (iu *ImageUpdate) SetNillableLogoCompanyID(id *uuid.UUID) *ImageUpdate + func (iu *ImageUpdate) SetOriginalURL(s string) *ImageUpdate + func (iu *ImageUpdate) SetTitle(s string) *ImageUpdate + func (iu *ImageUpdate) Where(ps ...predicate.Image) *ImageUpdate + type ImageUpdateOne struct + func (c *ImageUpdateOne) SetInput(i UpdateImageInput) *ImageUpdateOne + func (iuo *ImageUpdateOne) ClearCoverCompany() *ImageUpdateOne + func (iuo *ImageUpdateOne) ClearGalleryCompany() *ImageUpdateOne + func (iuo *ImageUpdateOne) ClearLogoCompany() *ImageUpdateOne + func (iuo *ImageUpdateOne) Exec(ctx context.Context) error + func (iuo *ImageUpdateOne) ExecX(ctx context.Context) + func (iuo *ImageUpdateOne) Mutation() *ImageMutation + func (iuo *ImageUpdateOne) Save(ctx context.Context) (*Image, error) + func (iuo *ImageUpdateOne) SaveX(ctx context.Context) *Image + func (iuo *ImageUpdateOne) Select(field string, fields ...string) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetCoverCompany(c *Company) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetCoverCompanyID(id uuid.UUID) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetGalleryCompany(c *Company) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetGalleryCompanyID(id uuid.UUID) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetLogoCompany(c *Company) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetLogoCompanyID(id uuid.UUID) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetNillableCoverCompanyID(id *uuid.UUID) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetNillableGalleryCompanyID(id *uuid.UUID) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetNillableLogoCompanyID(id *uuid.UUID) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetOriginalURL(s string) *ImageUpdateOne + func (iuo *ImageUpdateOne) SetTitle(s string) *ImageUpdateOne + type ImageWhereInput struct + And []*ImageWhereInput + HasCoverCompany *bool + HasCoverCompanyWith []*CompanyWhereInput + HasGalleryCompany *bool + HasGalleryCompanyWith []*CompanyWhereInput + HasLogoCompany *bool + HasLogoCompanyWith []*CompanyWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Not *ImageWhereInput + Or []*ImageWhereInput + OriginalURL *string + OriginalURLContains *string + OriginalURLContainsFold *string + OriginalURLEqualFold *string + OriginalURLGT *string + OriginalURLGTE *string + OriginalURLHasPrefix *string + OriginalURLHasSuffix *string + OriginalURLIn []string + OriginalURLLT *string + OriginalURLLTE *string + OriginalURLNEQ *string + OriginalURLNotIn []string + Predicates []predicate.Image + Title *string + TitleContains *string + TitleContainsFold *string + TitleEqualFold *string + TitleGT *string + TitleGTE *string + TitleHasPrefix *string + TitleHasSuffix *string + TitleIn []string + TitleLT *string + TitleLTE *string + TitleNEQ *string + TitleNotIn []string + func (i *ImageWhereInput) AddPredicates(predicates ...predicate.Image) + func (i *ImageWhereInput) Filter(q *ImageQuery) (*ImageQuery, error) + func (i *ImageWhereInput) P() (predicate.Image, error) + func (iwi *ImageWhereInput) ApplySearchQuery(q *string) *ImageWhereInput + type Images []*Image + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type Location struct + Address string + Description string + Edges LocationEdges + ID uuid.UUID + Latitude float64 + Longitude float64 + Postcode string + State string + StreetName string + StreetType string + Suburb string + Title string + Type string + func (l *Location) Company(ctx context.Context) (*Company, error) + func (l *Location) Country(ctx context.Context) (*Country, error) + func (l *Location) QueryCompany() *CompanyQuery + func (l *Location) QueryCountry() *CountryQuery + func (l *Location) String() string + func (l *Location) ToEdge(order *LocationOrder) *LocationEdge + func (l *Location) Unwrap() *Location + func (l *Location) Update() *LocationUpdateOne + func (n *Location) IsNode() + type LocationClient struct + func NewLocationClient(c config) *LocationClient + func (c *LocationClient) Create() *LocationCreate + func (c *LocationClient) CreateBulk(builders ...*LocationCreate) *LocationCreateBulk + func (c *LocationClient) Delete() *LocationDelete + func (c *LocationClient) DeleteOne(l *Location) *LocationDeleteOne + func (c *LocationClient) DeleteOneID(id uuid.UUID) *LocationDeleteOne + func (c *LocationClient) Get(ctx context.Context, id uuid.UUID) (*Location, error) + func (c *LocationClient) GetX(ctx context.Context, id uuid.UUID) *Location + func (c *LocationClient) Hooks() []Hook + func (c *LocationClient) Intercept(interceptors ...Interceptor) + func (c *LocationClient) Interceptors() []Interceptor + func (c *LocationClient) Query() *LocationQuery + func (c *LocationClient) QueryCompany(l *Location) *CompanyQuery + func (c *LocationClient) QueryCountry(l *Location) *CountryQuery + func (c *LocationClient) Update() *LocationUpdate + func (c *LocationClient) UpdateOne(l *Location) *LocationUpdateOne + func (c *LocationClient) UpdateOneID(id uuid.UUID) *LocationUpdateOne + func (c *LocationClient) Use(hooks ...Hook) + type LocationConnection struct + Edges []*LocationEdge + PageInfo PageInfo + TotalCount int + type LocationCreate struct + func (c *LocationCreate) SetInput(i CreateLocationInput) *LocationCreate + func (lc *LocationCreate) Exec(ctx context.Context) error + func (lc *LocationCreate) ExecX(ctx context.Context) + func (lc *LocationCreate) Mutation() *LocationMutation + func (lc *LocationCreate) Save(ctx context.Context) (*Location, error) + func (lc *LocationCreate) SaveX(ctx context.Context) *Location + func (lc *LocationCreate) SetAddress(s string) *LocationCreate + func (lc *LocationCreate) SetCompany(c *Company) *LocationCreate + func (lc *LocationCreate) SetCompanyID(id uuid.UUID) *LocationCreate + func (lc *LocationCreate) SetCountry(c *Country) *LocationCreate + func (lc *LocationCreate) SetCountryID(id uuid.UUID) *LocationCreate + func (lc *LocationCreate) SetDescription(s string) *LocationCreate + func (lc *LocationCreate) SetID(u uuid.UUID) *LocationCreate + func (lc *LocationCreate) SetLatitude(f float64) *LocationCreate + func (lc *LocationCreate) SetLongitude(f float64) *LocationCreate + func (lc *LocationCreate) SetNillableCompanyID(id *uuid.UUID) *LocationCreate + func (lc *LocationCreate) SetNillableCountryID(id *uuid.UUID) *LocationCreate + func (lc *LocationCreate) SetNillableID(u *uuid.UUID) *LocationCreate + func (lc *LocationCreate) SetPostcode(s string) *LocationCreate + func (lc *LocationCreate) SetState(s string) *LocationCreate + func (lc *LocationCreate) SetStreetName(s string) *LocationCreate + func (lc *LocationCreate) SetStreetType(s string) *LocationCreate + func (lc *LocationCreate) SetSuburb(s string) *LocationCreate + func (lc *LocationCreate) SetTitle(s string) *LocationCreate + func (lc *LocationCreate) SetType(s string) *LocationCreate + type LocationCreateBulk struct + func (lcb *LocationCreateBulk) Exec(ctx context.Context) error + func (lcb *LocationCreateBulk) ExecX(ctx context.Context) + func (lcb *LocationCreateBulk) Save(ctx context.Context) ([]*Location, error) + func (lcb *LocationCreateBulk) SaveX(ctx context.Context) []*Location + type LocationDelete struct + func (ld *LocationDelete) Exec(ctx context.Context) (int, error) + func (ld *LocationDelete) ExecX(ctx context.Context) int + func (ld *LocationDelete) Where(ps ...predicate.Location) *LocationDelete + type LocationDeleteOne struct + func (ldo *LocationDeleteOne) Exec(ctx context.Context) error + func (ldo *LocationDeleteOne) ExecX(ctx context.Context) + type LocationEdge struct + Cursor Cursor + Node *Location + type LocationEdges struct + Company *Company + Country *Country + func (e LocationEdges) CompanyOrErr() (*Company, error) + func (e LocationEdges) CountryOrErr() (*Country, error) + type LocationGroupBy struct + func (lgb *LocationGroupBy) Aggregate(fns ...AggregateFunc) *LocationGroupBy + func (lgb *LocationGroupBy) Scan(ctx context.Context, v any) error + func (s *LocationGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *LocationGroupBy) BoolX(ctx context.Context) bool + func (s *LocationGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *LocationGroupBy) BoolsX(ctx context.Context) []bool + func (s *LocationGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *LocationGroupBy) Float64X(ctx context.Context) float64 + func (s *LocationGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *LocationGroupBy) Float64sX(ctx context.Context) []float64 + func (s *LocationGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *LocationGroupBy) IntX(ctx context.Context) int + func (s *LocationGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *LocationGroupBy) IntsX(ctx context.Context) []int + func (s *LocationGroupBy) ScanX(ctx context.Context, v any) + func (s *LocationGroupBy) String(ctx context.Context) (_ string, err error) + func (s *LocationGroupBy) StringX(ctx context.Context) string + func (s *LocationGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *LocationGroupBy) StringsX(ctx context.Context) []string + type LocationMutation struct + func (m *LocationMutation) AddField(name string, value ent.Value) error + func (m *LocationMutation) AddLatitude(f float64) + func (m *LocationMutation) AddLongitude(f float64) + func (m *LocationMutation) AddedEdges() []string + func (m *LocationMutation) AddedField(name string) (ent.Value, bool) + func (m *LocationMutation) AddedFields() []string + func (m *LocationMutation) AddedIDs(name string) []ent.Value + func (m *LocationMutation) AddedLatitude() (r float64, exists bool) + func (m *LocationMutation) AddedLongitude() (r float64, exists bool) + func (m *LocationMutation) Address() (r string, exists bool) + func (m *LocationMutation) ClearCompany() + func (m *LocationMutation) ClearCountry() + func (m *LocationMutation) ClearEdge(name string) error + func (m *LocationMutation) ClearField(name string) error + func (m *LocationMutation) ClearedEdges() []string + func (m *LocationMutation) ClearedFields() []string + func (m *LocationMutation) CompanyCleared() bool + func (m *LocationMutation) CompanyID() (id uuid.UUID, exists bool) + func (m *LocationMutation) CompanyIDs() (ids []uuid.UUID) + func (m *LocationMutation) CountryCleared() bool + func (m *LocationMutation) CountryID() (id uuid.UUID, exists bool) + func (m *LocationMutation) CountryIDs() (ids []uuid.UUID) + func (m *LocationMutation) Description() (r string, exists bool) + func (m *LocationMutation) EdgeCleared(name string) bool + func (m *LocationMutation) Field(name string) (ent.Value, bool) + func (m *LocationMutation) FieldCleared(name string) bool + func (m *LocationMutation) Fields() []string + func (m *LocationMutation) GetType() (r string, exists bool) + func (m *LocationMutation) ID() (id uuid.UUID, exists bool) + func (m *LocationMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *LocationMutation) Latitude() (r float64, exists bool) + func (m *LocationMutation) Longitude() (r float64, exists bool) + func (m *LocationMutation) OldAddress(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *LocationMutation) OldLatitude(ctx context.Context) (v float64, err error) + func (m *LocationMutation) OldLongitude(ctx context.Context) (v float64, err error) + func (m *LocationMutation) OldPostcode(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldState(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldStreetName(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldStreetType(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldSuburb(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *LocationMutation) OldType(ctx context.Context) (v string, err error) + func (m *LocationMutation) Op() Op + func (m *LocationMutation) Postcode() (r string, exists bool) + func (m *LocationMutation) RemovedEdges() []string + func (m *LocationMutation) RemovedIDs(name string) []ent.Value + func (m *LocationMutation) ResetAddress() + func (m *LocationMutation) ResetCompany() + func (m *LocationMutation) ResetCountry() + func (m *LocationMutation) ResetDescription() + func (m *LocationMutation) ResetEdge(name string) error + func (m *LocationMutation) ResetField(name string) error + func (m *LocationMutation) ResetLatitude() + func (m *LocationMutation) ResetLongitude() + func (m *LocationMutation) ResetPostcode() + func (m *LocationMutation) ResetState() + func (m *LocationMutation) ResetStreetName() + func (m *LocationMutation) ResetStreetType() + func (m *LocationMutation) ResetSuburb() + func (m *LocationMutation) ResetTitle() + func (m *LocationMutation) ResetType() + func (m *LocationMutation) SetAddress(s string) + func (m *LocationMutation) SetCompanyID(id uuid.UUID) + func (m *LocationMutation) SetCountryID(id uuid.UUID) + func (m *LocationMutation) SetDescription(s string) + func (m *LocationMutation) SetField(name string, value ent.Value) error + func (m *LocationMutation) SetID(id uuid.UUID) + func (m *LocationMutation) SetLatitude(f float64) + func (m *LocationMutation) SetLongitude(f float64) + func (m *LocationMutation) SetOp(op Op) + func (m *LocationMutation) SetPostcode(s string) + func (m *LocationMutation) SetState(s string) + func (m *LocationMutation) SetStreetName(s string) + func (m *LocationMutation) SetStreetType(s string) + func (m *LocationMutation) SetSuburb(s string) + func (m *LocationMutation) SetTitle(s string) + func (m *LocationMutation) SetType(s string) + func (m *LocationMutation) State() (r string, exists bool) + func (m *LocationMutation) StreetName() (r string, exists bool) + func (m *LocationMutation) StreetType() (r string, exists bool) + func (m *LocationMutation) Suburb() (r string, exists bool) + func (m *LocationMutation) Title() (r string, exists bool) + func (m *LocationMutation) Type() string + func (m *LocationMutation) Where(ps ...predicate.Location) + func (m *LocationMutation) WhereP(ps ...func(*sql.Selector)) + func (m LocationMutation) Client() *Client + func (m LocationMutation) Tx() (*Tx, error) + type LocationOrder struct + Direction OrderDirection + Field *LocationOrderField + type LocationOrderField struct + func (f *LocationOrderField) UnmarshalGQL(v interface{}) error + func (f LocationOrderField) MarshalGQL(w io.Writer) + func (f LocationOrderField) String() string + type LocationPaginateOption func(*locationPager) error + func WithLocationFilter(filter func(*LocationQuery) (*LocationQuery, error)) LocationPaginateOption + func WithLocationOrder(order *LocationOrder) LocationPaginateOption + type LocationQuery struct + func (l *LocationQuery) CollectFields(ctx context.Context, satisfies ...string) (*LocationQuery, error) + func (l *LocationQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*LocationConnection, error) + func (lq *LocationQuery) Aggregate(fns ...AggregateFunc) *LocationSelect + func (lq *LocationQuery) All(ctx context.Context) ([]*Location, error) + func (lq *LocationQuery) AllX(ctx context.Context) []*Location + func (lq *LocationQuery) Clone() *LocationQuery + func (lq *LocationQuery) Count(ctx context.Context) (int, error) + func (lq *LocationQuery) CountX(ctx context.Context) int + func (lq *LocationQuery) Exist(ctx context.Context) (bool, error) + func (lq *LocationQuery) ExistX(ctx context.Context) bool + func (lq *LocationQuery) First(ctx context.Context) (*Location, error) + func (lq *LocationQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (lq *LocationQuery) FirstIDX(ctx context.Context) uuid.UUID + func (lq *LocationQuery) FirstX(ctx context.Context) *Location + func (lq *LocationQuery) GroupBy(field string, fields ...string) *LocationGroupBy + func (lq *LocationQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (lq *LocationQuery) IDsX(ctx context.Context) []uuid.UUID + func (lq *LocationQuery) Limit(limit int) *LocationQuery + func (lq *LocationQuery) Offset(offset int) *LocationQuery + func (lq *LocationQuery) Only(ctx context.Context) (*Location, error) + func (lq *LocationQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (lq *LocationQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (lq *LocationQuery) OnlyX(ctx context.Context) *Location + func (lq *LocationQuery) Order(o ...OrderFunc) *LocationQuery + func (lq *LocationQuery) QueryCompany() *CompanyQuery + func (lq *LocationQuery) QueryCountry() *CountryQuery + func (lq *LocationQuery) Select(fields ...string) *LocationSelect + func (lq *LocationQuery) Unique(unique bool) *LocationQuery + func (lq *LocationQuery) Where(ps ...predicate.Location) *LocationQuery + func (lq *LocationQuery) WithCompany(opts ...func(*CompanyQuery)) *LocationQuery + func (lq *LocationQuery) WithCountry(opts ...func(*CountryQuery)) *LocationQuery + type LocationSelect struct + func (ls *LocationSelect) Aggregate(fns ...AggregateFunc) *LocationSelect + func (ls *LocationSelect) Scan(ctx context.Context, v any) error + func (s *LocationSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *LocationSelect) BoolX(ctx context.Context) bool + func (s *LocationSelect) Bools(ctx context.Context) ([]bool, error) + func (s *LocationSelect) BoolsX(ctx context.Context) []bool + func (s *LocationSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *LocationSelect) Float64X(ctx context.Context) float64 + func (s *LocationSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *LocationSelect) Float64sX(ctx context.Context) []float64 + func (s *LocationSelect) Int(ctx context.Context) (_ int, err error) + func (s *LocationSelect) IntX(ctx context.Context) int + func (s *LocationSelect) Ints(ctx context.Context) ([]int, error) + func (s *LocationSelect) IntsX(ctx context.Context) []int + func (s *LocationSelect) ScanX(ctx context.Context, v any) + func (s *LocationSelect) String(ctx context.Context) (_ string, err error) + func (s *LocationSelect) StringX(ctx context.Context) string + func (s *LocationSelect) Strings(ctx context.Context) ([]string, error) + func (s *LocationSelect) StringsX(ctx context.Context) []string + type LocationUpdate struct + func (c *LocationUpdate) SetInput(i UpdateLocationInput) *LocationUpdate + func (lu *LocationUpdate) AddLatitude(f float64) *LocationUpdate + func (lu *LocationUpdate) AddLongitude(f float64) *LocationUpdate + func (lu *LocationUpdate) ClearCompany() *LocationUpdate + func (lu *LocationUpdate) ClearCountry() *LocationUpdate + func (lu *LocationUpdate) Exec(ctx context.Context) error + func (lu *LocationUpdate) ExecX(ctx context.Context) + func (lu *LocationUpdate) Mutation() *LocationMutation + func (lu *LocationUpdate) Save(ctx context.Context) (int, error) + func (lu *LocationUpdate) SaveX(ctx context.Context) int + func (lu *LocationUpdate) SetAddress(s string) *LocationUpdate + func (lu *LocationUpdate) SetCompany(c *Company) *LocationUpdate + func (lu *LocationUpdate) SetCompanyID(id uuid.UUID) *LocationUpdate + func (lu *LocationUpdate) SetCountry(c *Country) *LocationUpdate + func (lu *LocationUpdate) SetCountryID(id uuid.UUID) *LocationUpdate + func (lu *LocationUpdate) SetDescription(s string) *LocationUpdate + func (lu *LocationUpdate) SetLatitude(f float64) *LocationUpdate + func (lu *LocationUpdate) SetLongitude(f float64) *LocationUpdate + func (lu *LocationUpdate) SetNillableCompanyID(id *uuid.UUID) *LocationUpdate + func (lu *LocationUpdate) SetNillableCountryID(id *uuid.UUID) *LocationUpdate + func (lu *LocationUpdate) SetPostcode(s string) *LocationUpdate + func (lu *LocationUpdate) SetState(s string) *LocationUpdate + func (lu *LocationUpdate) SetStreetName(s string) *LocationUpdate + func (lu *LocationUpdate) SetStreetType(s string) *LocationUpdate + func (lu *LocationUpdate) SetSuburb(s string) *LocationUpdate + func (lu *LocationUpdate) SetTitle(s string) *LocationUpdate + func (lu *LocationUpdate) SetType(s string) *LocationUpdate + func (lu *LocationUpdate) Where(ps ...predicate.Location) *LocationUpdate + type LocationUpdateOne struct + func (c *LocationUpdateOne) SetInput(i UpdateLocationInput) *LocationUpdateOne + func (luo *LocationUpdateOne) AddLatitude(f float64) *LocationUpdateOne + func (luo *LocationUpdateOne) AddLongitude(f float64) *LocationUpdateOne + func (luo *LocationUpdateOne) ClearCompany() *LocationUpdateOne + func (luo *LocationUpdateOne) ClearCountry() *LocationUpdateOne + func (luo *LocationUpdateOne) Exec(ctx context.Context) error + func (luo *LocationUpdateOne) ExecX(ctx context.Context) + func (luo *LocationUpdateOne) Mutation() *LocationMutation + func (luo *LocationUpdateOne) Save(ctx context.Context) (*Location, error) + func (luo *LocationUpdateOne) SaveX(ctx context.Context) *Location + func (luo *LocationUpdateOne) Select(field string, fields ...string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetAddress(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetCompany(c *Company) *LocationUpdateOne + func (luo *LocationUpdateOne) SetCompanyID(id uuid.UUID) *LocationUpdateOne + func (luo *LocationUpdateOne) SetCountry(c *Country) *LocationUpdateOne + func (luo *LocationUpdateOne) SetCountryID(id uuid.UUID) *LocationUpdateOne + func (luo *LocationUpdateOne) SetDescription(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetLatitude(f float64) *LocationUpdateOne + func (luo *LocationUpdateOne) SetLongitude(f float64) *LocationUpdateOne + func (luo *LocationUpdateOne) SetNillableCompanyID(id *uuid.UUID) *LocationUpdateOne + func (luo *LocationUpdateOne) SetNillableCountryID(id *uuid.UUID) *LocationUpdateOne + func (luo *LocationUpdateOne) SetPostcode(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetState(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetStreetName(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetStreetType(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetSuburb(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetTitle(s string) *LocationUpdateOne + func (luo *LocationUpdateOne) SetType(s string) *LocationUpdateOne + type LocationWhereInput struct + Address *string + AddressContains *string + AddressContainsFold *string + AddressEqualFold *string + AddressGT *string + AddressGTE *string + AddressHasPrefix *string + AddressHasSuffix *string + AddressIn []string + AddressLT *string + AddressLTE *string + AddressNEQ *string + AddressNotIn []string + And []*LocationWhereInput + Description *string + DescriptionContains *string + DescriptionContainsFold *string + DescriptionEqualFold *string + DescriptionGT *string + DescriptionGTE *string + DescriptionHasPrefix *string + DescriptionHasSuffix *string + DescriptionIn []string + DescriptionLT *string + DescriptionLTE *string + DescriptionNEQ *string + DescriptionNotIn []string + HasCompany *bool + HasCompanyWith []*CompanyWhereInput + HasCountry *bool + HasCountryWith []*CountryWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Latitude *float64 + LatitudeGT *float64 + LatitudeGTE *float64 + LatitudeIn []float64 + LatitudeLT *float64 + LatitudeLTE *float64 + LatitudeNEQ *float64 + LatitudeNotIn []float64 + Longitude *float64 + LongitudeGT *float64 + LongitudeGTE *float64 + LongitudeIn []float64 + LongitudeLT *float64 + LongitudeLTE *float64 + LongitudeNEQ *float64 + LongitudeNotIn []float64 + Not *LocationWhereInput + Or []*LocationWhereInput + Postcode *string + PostcodeContains *string + PostcodeContainsFold *string + PostcodeEqualFold *string + PostcodeGT *string + PostcodeGTE *string + PostcodeHasPrefix *string + PostcodeHasSuffix *string + PostcodeIn []string + PostcodeLT *string + PostcodeLTE *string + PostcodeNEQ *string + PostcodeNotIn []string + Predicates []predicate.Location + State *string + StateContains *string + StateContainsFold *string + StateEqualFold *string + StateGT *string + StateGTE *string + StateHasPrefix *string + StateHasSuffix *string + StateIn []string + StateLT *string + StateLTE *string + StateNEQ *string + StateNotIn []string + StreetName *string + StreetNameContains *string + StreetNameContainsFold *string + StreetNameEqualFold *string + StreetNameGT *string + StreetNameGTE *string + StreetNameHasPrefix *string + StreetNameHasSuffix *string + StreetNameIn []string + StreetNameLT *string + StreetNameLTE *string + StreetNameNEQ *string + StreetNameNotIn []string + StreetType *string + StreetTypeContains *string + StreetTypeContainsFold *string + StreetTypeEqualFold *string + StreetTypeGT *string + StreetTypeGTE *string + StreetTypeHasPrefix *string + StreetTypeHasSuffix *string + StreetTypeIn []string + StreetTypeLT *string + StreetTypeLTE *string + StreetTypeNEQ *string + StreetTypeNotIn []string + Suburb *string + SuburbContains *string + SuburbContainsFold *string + SuburbEqualFold *string + SuburbGT *string + SuburbGTE *string + SuburbHasPrefix *string + SuburbHasSuffix *string + SuburbIn []string + SuburbLT *string + SuburbLTE *string + SuburbNEQ *string + SuburbNotIn []string + Title *string + TitleContains *string + TitleContainsFold *string + TitleEqualFold *string + TitleGT *string + TitleGTE *string + TitleHasPrefix *string + TitleHasSuffix *string + TitleIn []string + TitleLT *string + TitleLTE *string + TitleNEQ *string + TitleNotIn []string + Type *string + TypeContains *string + TypeContainsFold *string + TypeEqualFold *string + TypeGT *string + TypeGTE *string + TypeHasPrefix *string + TypeHasSuffix *string + TypeIn []string + TypeLT *string + TypeLTE *string + TypeNEQ *string + TypeNotIn []string + func (i *LocationWhereInput) AddPredicates(predicates ...predicate.Location) + func (i *LocationWhereInput) Filter(q *LocationQuery) (*LocationQuery, error) + func (i *LocationWhereInput) P() (predicate.Location, error) + func (lwi *LocationWhereInput) ApplySearchQuery(q *string) *LocationWhereInput + type Locations []*Location + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NodeOption func(*nodeOptions) + func WithFixedNodeType(t string) NodeOption + func WithNodeType(f func(context.Context, uuid.UUID) (string, error)) NodeOption + type Noder interface + IsNode func() + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderDirection string + const OrderDirectionAsc + const OrderDirectionDesc + func (o *OrderDirection) UnmarshalGQL(val interface{}) error + func (o OrderDirection) MarshalGQL(w io.Writer) + func (o OrderDirection) String() string + func (o OrderDirection) Validate() error + type OrderFunc func(*sql.Selector) + func Asc(fields ...string) OrderFunc + func Desc(fields ...string) OrderFunc + type PageInfo struct + EndCursor *Cursor + HasNextPage bool + HasPreviousPage bool + StartCursor *Cursor + type Phone struct + Description string + Edges PhoneEdges + ID uuid.UUID + Number string + Title string + Type string + func (n *Phone) IsNode() + func (ph *Phone) Company(ctx context.Context) (*Company, error) + func (ph *Phone) Country(ctx context.Context) (*Country, error) + func (ph *Phone) QueryCompany() *CompanyQuery + func (ph *Phone) QueryCountry() *CountryQuery + func (ph *Phone) String() string + func (ph *Phone) ToEdge(order *PhoneOrder) *PhoneEdge + func (ph *Phone) Unwrap() *Phone + func (ph *Phone) Update() *PhoneUpdateOne + type PhoneClient struct + func NewPhoneClient(c config) *PhoneClient + func (c *PhoneClient) Create() *PhoneCreate + func (c *PhoneClient) CreateBulk(builders ...*PhoneCreate) *PhoneCreateBulk + func (c *PhoneClient) Delete() *PhoneDelete + func (c *PhoneClient) DeleteOne(ph *Phone) *PhoneDeleteOne + func (c *PhoneClient) DeleteOneID(id uuid.UUID) *PhoneDeleteOne + func (c *PhoneClient) Get(ctx context.Context, id uuid.UUID) (*Phone, error) + func (c *PhoneClient) GetX(ctx context.Context, id uuid.UUID) *Phone + func (c *PhoneClient) Hooks() []Hook + func (c *PhoneClient) Intercept(interceptors ...Interceptor) + func (c *PhoneClient) Interceptors() []Interceptor + func (c *PhoneClient) Query() *PhoneQuery + func (c *PhoneClient) QueryCompany(ph *Phone) *CompanyQuery + func (c *PhoneClient) QueryCountry(ph *Phone) *CountryQuery + func (c *PhoneClient) Update() *PhoneUpdate + func (c *PhoneClient) UpdateOne(ph *Phone) *PhoneUpdateOne + func (c *PhoneClient) UpdateOneID(id uuid.UUID) *PhoneUpdateOne + func (c *PhoneClient) Use(hooks ...Hook) + type PhoneConnection struct + Edges []*PhoneEdge + PageInfo PageInfo + TotalCount int + type PhoneCreate struct + func (c *PhoneCreate) SetInput(i CreatePhoneInput) *PhoneCreate + func (pc *PhoneCreate) Exec(ctx context.Context) error + func (pc *PhoneCreate) ExecX(ctx context.Context) + func (pc *PhoneCreate) Mutation() *PhoneMutation + func (pc *PhoneCreate) Save(ctx context.Context) (*Phone, error) + func (pc *PhoneCreate) SaveX(ctx context.Context) *Phone + func (pc *PhoneCreate) SetCompany(c *Company) *PhoneCreate + func (pc *PhoneCreate) SetCompanyID(id uuid.UUID) *PhoneCreate + func (pc *PhoneCreate) SetCountry(c *Country) *PhoneCreate + func (pc *PhoneCreate) SetCountryID(id uuid.UUID) *PhoneCreate + func (pc *PhoneCreate) SetDescription(s string) *PhoneCreate + func (pc *PhoneCreate) SetID(u uuid.UUID) *PhoneCreate + func (pc *PhoneCreate) SetNillableCompanyID(id *uuid.UUID) *PhoneCreate + func (pc *PhoneCreate) SetNillableCountryID(id *uuid.UUID) *PhoneCreate + func (pc *PhoneCreate) SetNillableID(u *uuid.UUID) *PhoneCreate + func (pc *PhoneCreate) SetNumber(s string) *PhoneCreate + func (pc *PhoneCreate) SetTitle(s string) *PhoneCreate + func (pc *PhoneCreate) SetType(s string) *PhoneCreate + type PhoneCreateBulk struct + func (pcb *PhoneCreateBulk) Exec(ctx context.Context) error + func (pcb *PhoneCreateBulk) ExecX(ctx context.Context) + func (pcb *PhoneCreateBulk) Save(ctx context.Context) ([]*Phone, error) + func (pcb *PhoneCreateBulk) SaveX(ctx context.Context) []*Phone + type PhoneDelete struct + func (pd *PhoneDelete) Exec(ctx context.Context) (int, error) + func (pd *PhoneDelete) ExecX(ctx context.Context) int + func (pd *PhoneDelete) Where(ps ...predicate.Phone) *PhoneDelete + type PhoneDeleteOne struct + func (pdo *PhoneDeleteOne) Exec(ctx context.Context) error + func (pdo *PhoneDeleteOne) ExecX(ctx context.Context) + type PhoneEdge struct + Cursor Cursor + Node *Phone + type PhoneEdges struct + Company *Company + Country *Country + func (e PhoneEdges) CompanyOrErr() (*Company, error) + func (e PhoneEdges) CountryOrErr() (*Country, error) + type PhoneGroupBy struct + func (pgb *PhoneGroupBy) Aggregate(fns ...AggregateFunc) *PhoneGroupBy + func (pgb *PhoneGroupBy) Scan(ctx context.Context, v any) error + func (s *PhoneGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PhoneGroupBy) BoolX(ctx context.Context) bool + func (s *PhoneGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PhoneGroupBy) BoolsX(ctx context.Context) []bool + func (s *PhoneGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PhoneGroupBy) Float64X(ctx context.Context) float64 + func (s *PhoneGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PhoneGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PhoneGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PhoneGroupBy) IntX(ctx context.Context) int + func (s *PhoneGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PhoneGroupBy) IntsX(ctx context.Context) []int + func (s *PhoneGroupBy) ScanX(ctx context.Context, v any) + func (s *PhoneGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PhoneGroupBy) StringX(ctx context.Context) string + func (s *PhoneGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PhoneGroupBy) StringsX(ctx context.Context) []string + type PhoneMutation struct + func (m *PhoneMutation) AddField(name string, value ent.Value) error + func (m *PhoneMutation) AddedEdges() []string + func (m *PhoneMutation) AddedField(name string) (ent.Value, bool) + func (m *PhoneMutation) AddedFields() []string + func (m *PhoneMutation) AddedIDs(name string) []ent.Value + func (m *PhoneMutation) ClearCompany() + func (m *PhoneMutation) ClearCountry() + func (m *PhoneMutation) ClearEdge(name string) error + func (m *PhoneMutation) ClearField(name string) error + func (m *PhoneMutation) ClearedEdges() []string + func (m *PhoneMutation) ClearedFields() []string + func (m *PhoneMutation) CompanyCleared() bool + func (m *PhoneMutation) CompanyID() (id uuid.UUID, exists bool) + func (m *PhoneMutation) CompanyIDs() (ids []uuid.UUID) + func (m *PhoneMutation) CountryCleared() bool + func (m *PhoneMutation) CountryID() (id uuid.UUID, exists bool) + func (m *PhoneMutation) CountryIDs() (ids []uuid.UUID) + func (m *PhoneMutation) Description() (r string, exists bool) + func (m *PhoneMutation) EdgeCleared(name string) bool + func (m *PhoneMutation) Field(name string) (ent.Value, bool) + func (m *PhoneMutation) FieldCleared(name string) bool + func (m *PhoneMutation) Fields() []string + func (m *PhoneMutation) GetType() (r string, exists bool) + func (m *PhoneMutation) ID() (id uuid.UUID, exists bool) + func (m *PhoneMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *PhoneMutation) Number() (r string, exists bool) + func (m *PhoneMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *PhoneMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PhoneMutation) OldNumber(ctx context.Context) (v string, err error) + func (m *PhoneMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *PhoneMutation) OldType(ctx context.Context) (v string, err error) + func (m *PhoneMutation) Op() Op + func (m *PhoneMutation) RemovedEdges() []string + func (m *PhoneMutation) RemovedIDs(name string) []ent.Value + func (m *PhoneMutation) ResetCompany() + func (m *PhoneMutation) ResetCountry() + func (m *PhoneMutation) ResetDescription() + func (m *PhoneMutation) ResetEdge(name string) error + func (m *PhoneMutation) ResetField(name string) error + func (m *PhoneMutation) ResetNumber() + func (m *PhoneMutation) ResetTitle() + func (m *PhoneMutation) ResetType() + func (m *PhoneMutation) SetCompanyID(id uuid.UUID) + func (m *PhoneMutation) SetCountryID(id uuid.UUID) + func (m *PhoneMutation) SetDescription(s string) + func (m *PhoneMutation) SetField(name string, value ent.Value) error + func (m *PhoneMutation) SetID(id uuid.UUID) + func (m *PhoneMutation) SetNumber(s string) + func (m *PhoneMutation) SetOp(op Op) + func (m *PhoneMutation) SetTitle(s string) + func (m *PhoneMutation) SetType(s string) + func (m *PhoneMutation) Title() (r string, exists bool) + func (m *PhoneMutation) Type() string + func (m *PhoneMutation) Where(ps ...predicate.Phone) + func (m *PhoneMutation) WhereP(ps ...func(*sql.Selector)) + func (m PhoneMutation) Client() *Client + func (m PhoneMutation) Tx() (*Tx, error) + type PhoneOrder struct + Direction OrderDirection + Field *PhoneOrderField + type PhoneOrderField struct + func (f *PhoneOrderField) UnmarshalGQL(v interface{}) error + func (f PhoneOrderField) MarshalGQL(w io.Writer) + func (f PhoneOrderField) String() string + type PhonePaginateOption func(*phonePager) error + func WithPhoneFilter(filter func(*PhoneQuery) (*PhoneQuery, error)) PhonePaginateOption + func WithPhoneOrder(order *PhoneOrder) PhonePaginateOption + type PhoneQuery struct + func (ph *PhoneQuery) CollectFields(ctx context.Context, satisfies ...string) (*PhoneQuery, error) + func (ph *PhoneQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*PhoneConnection, error) + func (pq *PhoneQuery) Aggregate(fns ...AggregateFunc) *PhoneSelect + func (pq *PhoneQuery) All(ctx context.Context) ([]*Phone, error) + func (pq *PhoneQuery) AllX(ctx context.Context) []*Phone + func (pq *PhoneQuery) Clone() *PhoneQuery + func (pq *PhoneQuery) Count(ctx context.Context) (int, error) + func (pq *PhoneQuery) CountX(ctx context.Context) int + func (pq *PhoneQuery) Exist(ctx context.Context) (bool, error) + func (pq *PhoneQuery) ExistX(ctx context.Context) bool + func (pq *PhoneQuery) First(ctx context.Context) (*Phone, error) + func (pq *PhoneQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (pq *PhoneQuery) FirstIDX(ctx context.Context) uuid.UUID + func (pq *PhoneQuery) FirstX(ctx context.Context) *Phone + func (pq *PhoneQuery) GroupBy(field string, fields ...string) *PhoneGroupBy + func (pq *PhoneQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (pq *PhoneQuery) IDsX(ctx context.Context) []uuid.UUID + func (pq *PhoneQuery) Limit(limit int) *PhoneQuery + func (pq *PhoneQuery) Offset(offset int) *PhoneQuery + func (pq *PhoneQuery) Only(ctx context.Context) (*Phone, error) + func (pq *PhoneQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (pq *PhoneQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (pq *PhoneQuery) OnlyX(ctx context.Context) *Phone + func (pq *PhoneQuery) Order(o ...OrderFunc) *PhoneQuery + func (pq *PhoneQuery) QueryCompany() *CompanyQuery + func (pq *PhoneQuery) QueryCountry() *CountryQuery + func (pq *PhoneQuery) Select(fields ...string) *PhoneSelect + func (pq *PhoneQuery) Unique(unique bool) *PhoneQuery + func (pq *PhoneQuery) Where(ps ...predicate.Phone) *PhoneQuery + func (pq *PhoneQuery) WithCompany(opts ...func(*CompanyQuery)) *PhoneQuery + func (pq *PhoneQuery) WithCountry(opts ...func(*CountryQuery)) *PhoneQuery + type PhoneSelect struct + func (ps *PhoneSelect) Aggregate(fns ...AggregateFunc) *PhoneSelect + func (ps *PhoneSelect) Scan(ctx context.Context, v any) error + func (s *PhoneSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PhoneSelect) BoolX(ctx context.Context) bool + func (s *PhoneSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PhoneSelect) BoolsX(ctx context.Context) []bool + func (s *PhoneSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PhoneSelect) Float64X(ctx context.Context) float64 + func (s *PhoneSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PhoneSelect) Float64sX(ctx context.Context) []float64 + func (s *PhoneSelect) Int(ctx context.Context) (_ int, err error) + func (s *PhoneSelect) IntX(ctx context.Context) int + func (s *PhoneSelect) Ints(ctx context.Context) ([]int, error) + func (s *PhoneSelect) IntsX(ctx context.Context) []int + func (s *PhoneSelect) ScanX(ctx context.Context, v any) + func (s *PhoneSelect) String(ctx context.Context) (_ string, err error) + func (s *PhoneSelect) StringX(ctx context.Context) string + func (s *PhoneSelect) Strings(ctx context.Context) ([]string, error) + func (s *PhoneSelect) StringsX(ctx context.Context) []string + type PhoneUpdate struct + func (c *PhoneUpdate) SetInput(i UpdatePhoneInput) *PhoneUpdate + func (pu *PhoneUpdate) ClearCompany() *PhoneUpdate + func (pu *PhoneUpdate) ClearCountry() *PhoneUpdate + func (pu *PhoneUpdate) Exec(ctx context.Context) error + func (pu *PhoneUpdate) ExecX(ctx context.Context) + func (pu *PhoneUpdate) Mutation() *PhoneMutation + func (pu *PhoneUpdate) Save(ctx context.Context) (int, error) + func (pu *PhoneUpdate) SaveX(ctx context.Context) int + func (pu *PhoneUpdate) SetCompany(c *Company) *PhoneUpdate + func (pu *PhoneUpdate) SetCompanyID(id uuid.UUID) *PhoneUpdate + func (pu *PhoneUpdate) SetCountry(c *Country) *PhoneUpdate + func (pu *PhoneUpdate) SetCountryID(id uuid.UUID) *PhoneUpdate + func (pu *PhoneUpdate) SetDescription(s string) *PhoneUpdate + func (pu *PhoneUpdate) SetNillableCompanyID(id *uuid.UUID) *PhoneUpdate + func (pu *PhoneUpdate) SetNillableCountryID(id *uuid.UUID) *PhoneUpdate + func (pu *PhoneUpdate) SetNumber(s string) *PhoneUpdate + func (pu *PhoneUpdate) SetTitle(s string) *PhoneUpdate + func (pu *PhoneUpdate) SetType(s string) *PhoneUpdate + func (pu *PhoneUpdate) Where(ps ...predicate.Phone) *PhoneUpdate + type PhoneUpdateOne struct + func (c *PhoneUpdateOne) SetInput(i UpdatePhoneInput) *PhoneUpdateOne + func (puo *PhoneUpdateOne) ClearCompany() *PhoneUpdateOne + func (puo *PhoneUpdateOne) ClearCountry() *PhoneUpdateOne + func (puo *PhoneUpdateOne) Exec(ctx context.Context) error + func (puo *PhoneUpdateOne) ExecX(ctx context.Context) + func (puo *PhoneUpdateOne) Mutation() *PhoneMutation + func (puo *PhoneUpdateOne) Save(ctx context.Context) (*Phone, error) + func (puo *PhoneUpdateOne) SaveX(ctx context.Context) *Phone + func (puo *PhoneUpdateOne) Select(field string, fields ...string) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetCompany(c *Company) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetCompanyID(id uuid.UUID) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetCountry(c *Country) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetCountryID(id uuid.UUID) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetDescription(s string) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetNillableCompanyID(id *uuid.UUID) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetNillableCountryID(id *uuid.UUID) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetNumber(s string) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetTitle(s string) *PhoneUpdateOne + func (puo *PhoneUpdateOne) SetType(s string) *PhoneUpdateOne + type PhoneWhereInput struct + And []*PhoneWhereInput + Description *string + DescriptionContains *string + DescriptionContainsFold *string + DescriptionEqualFold *string + DescriptionGT *string + DescriptionGTE *string + DescriptionHasPrefix *string + DescriptionHasSuffix *string + DescriptionIn []string + DescriptionLT *string + DescriptionLTE *string + DescriptionNEQ *string + DescriptionNotIn []string + HasCompany *bool + HasCompanyWith []*CompanyWhereInput + HasCountry *bool + HasCountryWith []*CountryWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Not *PhoneWhereInput + Number *string + NumberContains *string + NumberContainsFold *string + NumberEqualFold *string + NumberGT *string + NumberGTE *string + NumberHasPrefix *string + NumberHasSuffix *string + NumberIn []string + NumberLT *string + NumberLTE *string + NumberNEQ *string + NumberNotIn []string + Or []*PhoneWhereInput + Predicates []predicate.Phone + Title *string + TitleContains *string + TitleContainsFold *string + TitleEqualFold *string + TitleGT *string + TitleGTE *string + TitleHasPrefix *string + TitleHasSuffix *string + TitleIn []string + TitleLT *string + TitleLTE *string + TitleNEQ *string + TitleNotIn []string + Type *string + TypeContains *string + TypeContainsFold *string + TypeEqualFold *string + TypeGT *string + TypeGTE *string + TypeHasPrefix *string + TypeHasSuffix *string + TypeIn []string + TypeLT *string + TypeLTE *string + TypeNEQ *string + TypeNotIn []string + func (i *PhoneWhereInput) AddPredicates(predicates ...predicate.Phone) + func (i *PhoneWhereInput) Filter(q *PhoneQuery) (*PhoneQuery, error) + func (i *PhoneWhereInput) P() (predicate.Phone, error) + func (pwi *PhoneWhereInput) ApplySearchQuery(q *string) *PhoneWhereInput + type Phones []*Phone + type Policy = ent.Policy + type Product struct + BuildStatus enums.ProcessStatus + CreatedAt *time.Time + Description string + Edges ProductEdges + ID uuid.UUID + Image string + LastSell *time.Time + Name string + Status enums.ProcessStatus + URL string + func (n *Product) IsNode() + func (pr *Product) QueryVendor() *VendorQuery + func (pr *Product) QueryWarehouse() *WarehouseQuery + func (pr *Product) String() string + func (pr *Product) ToEdge(order *ProductOrder) *ProductEdge + func (pr *Product) Unwrap() *Product + func (pr *Product) Update() *ProductUpdateOne + func (pr *Product) Vendor(ctx context.Context) (*Vendor, error) + func (pr *Product) Warehouse(ctx context.Context) (*Warehouse, error) + type ProductClient struct + func NewProductClient(c config) *ProductClient + func (c *ProductClient) Create() *ProductCreate + func (c *ProductClient) CreateBulk(builders ...*ProductCreate) *ProductCreateBulk + func (c *ProductClient) Delete() *ProductDelete + func (c *ProductClient) DeleteOne(pr *Product) *ProductDeleteOne + func (c *ProductClient) DeleteOneID(id uuid.UUID) *ProductDeleteOne + func (c *ProductClient) Get(ctx context.Context, id uuid.UUID) (*Product, error) + func (c *ProductClient) GetX(ctx context.Context, id uuid.UUID) *Product + func (c *ProductClient) Hooks() []Hook + func (c *ProductClient) Intercept(interceptors ...Interceptor) + func (c *ProductClient) Interceptors() []Interceptor + func (c *ProductClient) Query() *ProductQuery + func (c *ProductClient) QueryVendor(pr *Product) *VendorQuery + func (c *ProductClient) QueryWarehouse(pr *Product) *WarehouseQuery + func (c *ProductClient) Update() *ProductUpdate + func (c *ProductClient) UpdateOne(pr *Product) *ProductUpdateOne + func (c *ProductClient) UpdateOneID(id uuid.UUID) *ProductUpdateOne + func (c *ProductClient) Use(hooks ...Hook) + type ProductConnection struct + Edges []*ProductEdge + PageInfo PageInfo + TotalCount int + type ProductCreate struct + func (c *ProductCreate) SetInput(i CreateProductInput) *ProductCreate + func (pc *ProductCreate) Exec(ctx context.Context) error + func (pc *ProductCreate) ExecX(ctx context.Context) + func (pc *ProductCreate) Mutation() *ProductMutation + func (pc *ProductCreate) Save(ctx context.Context) (*Product, error) + func (pc *ProductCreate) SaveX(ctx context.Context) *Product + func (pc *ProductCreate) SetBuildStatus(es enums.ProcessStatus) *ProductCreate + func (pc *ProductCreate) SetCreatedAt(t time.Time) *ProductCreate + func (pc *ProductCreate) SetDescription(s string) *ProductCreate + func (pc *ProductCreate) SetID(u uuid.UUID) *ProductCreate + func (pc *ProductCreate) SetImage(s string) *ProductCreate + func (pc *ProductCreate) SetLastSell(t time.Time) *ProductCreate + func (pc *ProductCreate) SetName(s string) *ProductCreate + func (pc *ProductCreate) SetNillableBuildStatus(es *enums.ProcessStatus) *ProductCreate + func (pc *ProductCreate) SetNillableCreatedAt(t *time.Time) *ProductCreate + func (pc *ProductCreate) SetNillableID(u *uuid.UUID) *ProductCreate + func (pc *ProductCreate) SetNillableLastSell(t *time.Time) *ProductCreate + func (pc *ProductCreate) SetNillableStatus(es *enums.ProcessStatus) *ProductCreate + func (pc *ProductCreate) SetNillableVendorID(id *uuid.UUID) *ProductCreate + func (pc *ProductCreate) SetNillableWarehouseID(id *uuid.UUID) *ProductCreate + func (pc *ProductCreate) SetStatus(es enums.ProcessStatus) *ProductCreate + func (pc *ProductCreate) SetURL(s string) *ProductCreate + func (pc *ProductCreate) SetVendor(v *Vendor) *ProductCreate + func (pc *ProductCreate) SetVendorID(id uuid.UUID) *ProductCreate + func (pc *ProductCreate) SetWarehouse(w *Warehouse) *ProductCreate + func (pc *ProductCreate) SetWarehouseID(id uuid.UUID) *ProductCreate + type ProductCreateBulk struct + func (pcb *ProductCreateBulk) Exec(ctx context.Context) error + func (pcb *ProductCreateBulk) ExecX(ctx context.Context) + func (pcb *ProductCreateBulk) Save(ctx context.Context) ([]*Product, error) + func (pcb *ProductCreateBulk) SaveX(ctx context.Context) []*Product + type ProductDelete struct + func (pd *ProductDelete) Exec(ctx context.Context) (int, error) + func (pd *ProductDelete) ExecX(ctx context.Context) int + func (pd *ProductDelete) Where(ps ...predicate.Product) *ProductDelete + type ProductDeleteOne struct + func (pdo *ProductDeleteOne) Exec(ctx context.Context) error + func (pdo *ProductDeleteOne) ExecX(ctx context.Context) + type ProductEdge struct + Cursor Cursor + Node *Product + type ProductEdges struct + Vendor *Vendor + Warehouse *Warehouse + func (e ProductEdges) VendorOrErr() (*Vendor, error) + func (e ProductEdges) WarehouseOrErr() (*Warehouse, error) + type ProductGroupBy struct + func (pgb *ProductGroupBy) Aggregate(fns ...AggregateFunc) *ProductGroupBy + func (pgb *ProductGroupBy) Scan(ctx context.Context, v any) error + func (s *ProductGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ProductGroupBy) BoolX(ctx context.Context) bool + func (s *ProductGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ProductGroupBy) BoolsX(ctx context.Context) []bool + func (s *ProductGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ProductGroupBy) Float64X(ctx context.Context) float64 + func (s *ProductGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ProductGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ProductGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ProductGroupBy) IntX(ctx context.Context) int + func (s *ProductGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ProductGroupBy) IntsX(ctx context.Context) []int + func (s *ProductGroupBy) ScanX(ctx context.Context, v any) + func (s *ProductGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ProductGroupBy) StringX(ctx context.Context) string + func (s *ProductGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ProductGroupBy) StringsX(ctx context.Context) []string + type ProductMutation struct + func (m *ProductMutation) AddField(name string, value ent.Value) error + func (m *ProductMutation) AddedEdges() []string + func (m *ProductMutation) AddedField(name string) (ent.Value, bool) + func (m *ProductMutation) AddedFields() []string + func (m *ProductMutation) AddedIDs(name string) []ent.Value + func (m *ProductMutation) BuildStatus() (r enums.ProcessStatus, exists bool) + func (m *ProductMutation) ClearCreatedAt() + func (m *ProductMutation) ClearEdge(name string) error + func (m *ProductMutation) ClearField(name string) error + func (m *ProductMutation) ClearLastSell() + func (m *ProductMutation) ClearVendor() + func (m *ProductMutation) ClearWarehouse() + func (m *ProductMutation) ClearedEdges() []string + func (m *ProductMutation) ClearedFields() []string + func (m *ProductMutation) CreatedAt() (r time.Time, exists bool) + func (m *ProductMutation) CreatedAtCleared() bool + func (m *ProductMutation) Description() (r string, exists bool) + func (m *ProductMutation) EdgeCleared(name string) bool + func (m *ProductMutation) Field(name string) (ent.Value, bool) + func (m *ProductMutation) FieldCleared(name string) bool + func (m *ProductMutation) Fields() []string + func (m *ProductMutation) ID() (id uuid.UUID, exists bool) + func (m *ProductMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *ProductMutation) Image() (r string, exists bool) + func (m *ProductMutation) LastSell() (r time.Time, exists bool) + func (m *ProductMutation) LastSellCleared() bool + func (m *ProductMutation) Name() (r string, exists bool) + func (m *ProductMutation) OldBuildStatus(ctx context.Context) (v enums.ProcessStatus, err error) + func (m *ProductMutation) OldCreatedAt(ctx context.Context) (v *time.Time, err error) + func (m *ProductMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *ProductMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ProductMutation) OldImage(ctx context.Context) (v string, err error) + func (m *ProductMutation) OldLastSell(ctx context.Context) (v *time.Time, err error) + func (m *ProductMutation) OldName(ctx context.Context) (v string, err error) + func (m *ProductMutation) OldStatus(ctx context.Context) (v enums.ProcessStatus, err error) + func (m *ProductMutation) OldURL(ctx context.Context) (v string, err error) + func (m *ProductMutation) Op() Op + func (m *ProductMutation) RemovedEdges() []string + func (m *ProductMutation) RemovedIDs(name string) []ent.Value + func (m *ProductMutation) ResetBuildStatus() + func (m *ProductMutation) ResetCreatedAt() + func (m *ProductMutation) ResetDescription() + func (m *ProductMutation) ResetEdge(name string) error + func (m *ProductMutation) ResetField(name string) error + func (m *ProductMutation) ResetImage() + func (m *ProductMutation) ResetLastSell() + func (m *ProductMutation) ResetName() + func (m *ProductMutation) ResetStatus() + func (m *ProductMutation) ResetURL() + func (m *ProductMutation) ResetVendor() + func (m *ProductMutation) ResetWarehouse() + func (m *ProductMutation) SetBuildStatus(es enums.ProcessStatus) + func (m *ProductMutation) SetCreatedAt(t time.Time) + func (m *ProductMutation) SetDescription(s string) + func (m *ProductMutation) SetField(name string, value ent.Value) error + func (m *ProductMutation) SetID(id uuid.UUID) + func (m *ProductMutation) SetImage(s string) + func (m *ProductMutation) SetLastSell(t time.Time) + func (m *ProductMutation) SetName(s string) + func (m *ProductMutation) SetOp(op Op) + func (m *ProductMutation) SetStatus(es enums.ProcessStatus) + func (m *ProductMutation) SetURL(s string) + func (m *ProductMutation) SetVendorID(id uuid.UUID) + func (m *ProductMutation) SetWarehouseID(id uuid.UUID) + func (m *ProductMutation) Status() (r enums.ProcessStatus, exists bool) + func (m *ProductMutation) Type() string + func (m *ProductMutation) URL() (r string, exists bool) + func (m *ProductMutation) VendorCleared() bool + func (m *ProductMutation) VendorID() (id uuid.UUID, exists bool) + func (m *ProductMutation) VendorIDs() (ids []uuid.UUID) + func (m *ProductMutation) WarehouseCleared() bool + func (m *ProductMutation) WarehouseID() (id uuid.UUID, exists bool) + func (m *ProductMutation) WarehouseIDs() (ids []uuid.UUID) + func (m *ProductMutation) Where(ps ...predicate.Product) + func (m *ProductMutation) WhereP(ps ...func(*sql.Selector)) + func (m ProductMutation) Client() *Client + func (m ProductMutation) Tx() (*Tx, error) + type ProductOrder struct + Direction OrderDirection + Field *ProductOrderField + type ProductOrderField struct + func (f *ProductOrderField) UnmarshalGQL(v interface{}) error + func (f ProductOrderField) MarshalGQL(w io.Writer) + func (f ProductOrderField) String() string + type ProductPaginateOption func(*productPager) error + func WithProductFilter(filter func(*ProductQuery) (*ProductQuery, error)) ProductPaginateOption + func WithProductOrder(order *ProductOrder) ProductPaginateOption + type ProductQuery struct + func (pq *ProductQuery) Aggregate(fns ...AggregateFunc) *ProductSelect + func (pq *ProductQuery) All(ctx context.Context) ([]*Product, error) + func (pq *ProductQuery) AllX(ctx context.Context) []*Product + func (pq *ProductQuery) Clone() *ProductQuery + func (pq *ProductQuery) Count(ctx context.Context) (int, error) + func (pq *ProductQuery) CountX(ctx context.Context) int + func (pq *ProductQuery) Exist(ctx context.Context) (bool, error) + func (pq *ProductQuery) ExistX(ctx context.Context) bool + func (pq *ProductQuery) First(ctx context.Context) (*Product, error) + func (pq *ProductQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (pq *ProductQuery) FirstIDX(ctx context.Context) uuid.UUID + func (pq *ProductQuery) FirstX(ctx context.Context) *Product + func (pq *ProductQuery) GroupBy(field string, fields ...string) *ProductGroupBy + func (pq *ProductQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (pq *ProductQuery) IDsX(ctx context.Context) []uuid.UUID + func (pq *ProductQuery) Limit(limit int) *ProductQuery + func (pq *ProductQuery) Offset(offset int) *ProductQuery + func (pq *ProductQuery) Only(ctx context.Context) (*Product, error) + func (pq *ProductQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (pq *ProductQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (pq *ProductQuery) OnlyX(ctx context.Context) *Product + func (pq *ProductQuery) Order(o ...OrderFunc) *ProductQuery + func (pq *ProductQuery) QueryVendor() *VendorQuery + func (pq *ProductQuery) QueryWarehouse() *WarehouseQuery + func (pq *ProductQuery) Select(fields ...string) *ProductSelect + func (pq *ProductQuery) Unique(unique bool) *ProductQuery + func (pq *ProductQuery) Where(ps ...predicate.Product) *ProductQuery + func (pq *ProductQuery) WithVendor(opts ...func(*VendorQuery)) *ProductQuery + func (pq *ProductQuery) WithWarehouse(opts ...func(*WarehouseQuery)) *ProductQuery + func (pr *ProductQuery) CollectFields(ctx context.Context, satisfies ...string) (*ProductQuery, error) + func (pr *ProductQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*ProductConnection, error) + type ProductSelect struct + func (ps *ProductSelect) Aggregate(fns ...AggregateFunc) *ProductSelect + func (ps *ProductSelect) Scan(ctx context.Context, v any) error + func (s *ProductSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ProductSelect) BoolX(ctx context.Context) bool + func (s *ProductSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ProductSelect) BoolsX(ctx context.Context) []bool + func (s *ProductSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ProductSelect) Float64X(ctx context.Context) float64 + func (s *ProductSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ProductSelect) Float64sX(ctx context.Context) []float64 + func (s *ProductSelect) Int(ctx context.Context) (_ int, err error) + func (s *ProductSelect) IntX(ctx context.Context) int + func (s *ProductSelect) Ints(ctx context.Context) ([]int, error) + func (s *ProductSelect) IntsX(ctx context.Context) []int + func (s *ProductSelect) ScanX(ctx context.Context, v any) + func (s *ProductSelect) String(ctx context.Context) (_ string, err error) + func (s *ProductSelect) StringX(ctx context.Context) string + func (s *ProductSelect) Strings(ctx context.Context) ([]string, error) + func (s *ProductSelect) StringsX(ctx context.Context) []string + type ProductUpdate struct + func (c *ProductUpdate) SetInput(i UpdateProductInput) *ProductUpdate + func (pu *ProductUpdate) ClearCreatedAt() *ProductUpdate + func (pu *ProductUpdate) ClearLastSell() *ProductUpdate + func (pu *ProductUpdate) ClearVendor() *ProductUpdate + func (pu *ProductUpdate) ClearWarehouse() *ProductUpdate + func (pu *ProductUpdate) Exec(ctx context.Context) error + func (pu *ProductUpdate) ExecX(ctx context.Context) + func (pu *ProductUpdate) Mutation() *ProductMutation + func (pu *ProductUpdate) Save(ctx context.Context) (int, error) + func (pu *ProductUpdate) SaveX(ctx context.Context) int + func (pu *ProductUpdate) SetBuildStatus(es enums.ProcessStatus) *ProductUpdate + func (pu *ProductUpdate) SetCreatedAt(t time.Time) *ProductUpdate + func (pu *ProductUpdate) SetDescription(s string) *ProductUpdate + func (pu *ProductUpdate) SetImage(s string) *ProductUpdate + func (pu *ProductUpdate) SetLastSell(t time.Time) *ProductUpdate + func (pu *ProductUpdate) SetName(s string) *ProductUpdate + func (pu *ProductUpdate) SetNillableBuildStatus(es *enums.ProcessStatus) *ProductUpdate + func (pu *ProductUpdate) SetNillableCreatedAt(t *time.Time) *ProductUpdate + func (pu *ProductUpdate) SetNillableLastSell(t *time.Time) *ProductUpdate + func (pu *ProductUpdate) SetNillableStatus(es *enums.ProcessStatus) *ProductUpdate + func (pu *ProductUpdate) SetNillableVendorID(id *uuid.UUID) *ProductUpdate + func (pu *ProductUpdate) SetNillableWarehouseID(id *uuid.UUID) *ProductUpdate + func (pu *ProductUpdate) SetStatus(es enums.ProcessStatus) *ProductUpdate + func (pu *ProductUpdate) SetURL(s string) *ProductUpdate + func (pu *ProductUpdate) SetVendor(v *Vendor) *ProductUpdate + func (pu *ProductUpdate) SetVendorID(id uuid.UUID) *ProductUpdate + func (pu *ProductUpdate) SetWarehouse(w *Warehouse) *ProductUpdate + func (pu *ProductUpdate) SetWarehouseID(id uuid.UUID) *ProductUpdate + func (pu *ProductUpdate) Where(ps ...predicate.Product) *ProductUpdate + type ProductUpdateOne struct + func (c *ProductUpdateOne) SetInput(i UpdateProductInput) *ProductUpdateOne + func (puo *ProductUpdateOne) ClearCreatedAt() *ProductUpdateOne + func (puo *ProductUpdateOne) ClearLastSell() *ProductUpdateOne + func (puo *ProductUpdateOne) ClearVendor() *ProductUpdateOne + func (puo *ProductUpdateOne) ClearWarehouse() *ProductUpdateOne + func (puo *ProductUpdateOne) Exec(ctx context.Context) error + func (puo *ProductUpdateOne) ExecX(ctx context.Context) + func (puo *ProductUpdateOne) Mutation() *ProductMutation + func (puo *ProductUpdateOne) Save(ctx context.Context) (*Product, error) + func (puo *ProductUpdateOne) SaveX(ctx context.Context) *Product + func (puo *ProductUpdateOne) Select(field string, fields ...string) *ProductUpdateOne + func (puo *ProductUpdateOne) SetBuildStatus(es enums.ProcessStatus) *ProductUpdateOne + func (puo *ProductUpdateOne) SetCreatedAt(t time.Time) *ProductUpdateOne + func (puo *ProductUpdateOne) SetDescription(s string) *ProductUpdateOne + func (puo *ProductUpdateOne) SetImage(s string) *ProductUpdateOne + func (puo *ProductUpdateOne) SetLastSell(t time.Time) *ProductUpdateOne + func (puo *ProductUpdateOne) SetName(s string) *ProductUpdateOne + func (puo *ProductUpdateOne) SetNillableBuildStatus(es *enums.ProcessStatus) *ProductUpdateOne + func (puo *ProductUpdateOne) SetNillableCreatedAt(t *time.Time) *ProductUpdateOne + func (puo *ProductUpdateOne) SetNillableLastSell(t *time.Time) *ProductUpdateOne + func (puo *ProductUpdateOne) SetNillableStatus(es *enums.ProcessStatus) *ProductUpdateOne + func (puo *ProductUpdateOne) SetNillableVendorID(id *uuid.UUID) *ProductUpdateOne + func (puo *ProductUpdateOne) SetNillableWarehouseID(id *uuid.UUID) *ProductUpdateOne + func (puo *ProductUpdateOne) SetStatus(es enums.ProcessStatus) *ProductUpdateOne + func (puo *ProductUpdateOne) SetURL(s string) *ProductUpdateOne + func (puo *ProductUpdateOne) SetVendor(v *Vendor) *ProductUpdateOne + func (puo *ProductUpdateOne) SetVendorID(id uuid.UUID) *ProductUpdateOne + func (puo *ProductUpdateOne) SetWarehouse(w *Warehouse) *ProductUpdateOne + func (puo *ProductUpdateOne) SetWarehouseID(id uuid.UUID) *ProductUpdateOne + type ProductWhereInput struct + And []*ProductWhereInput + BuildStatus *enums.ProcessStatus + BuildStatusIn []enums.ProcessStatus + BuildStatusNEQ *enums.ProcessStatus + BuildStatusNotIn []enums.ProcessStatus + CreatedAt *time.Time + CreatedAtGT *time.Time + CreatedAtGTE *time.Time + CreatedAtIn []time.Time + CreatedAtIsNil bool + CreatedAtLT *time.Time + CreatedAtLTE *time.Time + CreatedAtNEQ *time.Time + CreatedAtNotIn []time.Time + CreatedAtNotNil bool + Description *string + DescriptionContains *string + DescriptionContainsFold *string + DescriptionEqualFold *string + DescriptionGT *string + DescriptionGTE *string + DescriptionHasPrefix *string + DescriptionHasSuffix *string + DescriptionIn []string + DescriptionLT *string + DescriptionLTE *string + DescriptionNEQ *string + DescriptionNotIn []string + HasVendor *bool + HasVendorWith []*VendorWhereInput + HasWarehouse *bool + HasWarehouseWith []*WarehouseWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Image *string + ImageContains *string + ImageContainsFold *string + ImageEqualFold *string + ImageGT *string + ImageGTE *string + ImageHasPrefix *string + ImageHasSuffix *string + ImageIn []string + ImageLT *string + ImageLTE *string + ImageNEQ *string + ImageNotIn []string + LastSell *time.Time + LastSellGT *time.Time + LastSellGTE *time.Time + LastSellIn []time.Time + LastSellIsNil bool + LastSellLT *time.Time + LastSellLTE *time.Time + LastSellNEQ *time.Time + LastSellNotIn []time.Time + LastSellNotNil bool + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *ProductWhereInput + Or []*ProductWhereInput + Predicates []predicate.Product + Status *enums.ProcessStatus + StatusIn []enums.ProcessStatus + StatusNEQ *enums.ProcessStatus + StatusNotIn []enums.ProcessStatus + URL *string + URLContains *string + URLContainsFold *string + URLEqualFold *string + URLGT *string + URLGTE *string + URLHasPrefix *string + URLHasSuffix *string + URLIn []string + URLLT *string + URLLTE *string + URLNEQ *string + URLNotIn []string + func (i *ProductWhereInput) AddPredicates(predicates ...predicate.Product) + func (i *ProductWhereInput) Filter(q *ProductQuery) (*ProductQuery, error) + func (i *ProductWhereInput) P() (predicate.Product, error) + func (pwi *ProductWhereInput) ApplySearchQuery(q *string) *ProductWhereInput + type Products []*Product + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + Company *CompanyClient + Country *CountryClient + Email *EmailClient + Image *ImageClient + Location *LocationClient + Phone *PhoneClient + Product *ProductClient + Vendor *VendorClient + Warehouse *WarehouseClient + Website *WebsiteClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type UpdateCompanyInput struct + AddCountryIDs []uuid.UUID + AddEmailIDs []uuid.UUID + AddGalleryImageIDs []uuid.UUID + AddLocationIDs []uuid.UUID + AddPhoneIDs []uuid.UUID + AddWebsiteIDs []uuid.UUID + ClearCountries bool + ClearCoverImage bool + ClearEmails bool + ClearGalleryImages bool + ClearLocations bool + ClearLogoImage bool + ClearPhones bool + ClearWebsites bool + CoverImageID *uuid.UUID + Description *string + LogoImageID *uuid.UUID + Name *string + RemoveCountryIDs []uuid.UUID + RemoveEmailIDs []uuid.UUID + RemoveGalleryImageIDs []uuid.UUID + RemoveLocationIDs []uuid.UUID + RemovePhoneIDs []uuid.UUID + RemoveWebsiteIDs []uuid.UUID + func (i *UpdateCompanyInput) Mutate(m *CompanyMutation) + type UpdateCountryInput struct + AddCompanyIDs []uuid.UUID + AddEmailIDs []uuid.UUID + AddLocationIDs []uuid.UUID + AddPhoneIDs []uuid.UUID + AddWebsiteIDs []uuid.UUID + ClearCompanies bool + ClearEmails bool + ClearLocations bool + ClearPhones bool + ClearWebsites bool + Code *string + Name *string + RemoveCompanyIDs []uuid.UUID + RemoveEmailIDs []uuid.UUID + RemoveLocationIDs []uuid.UUID + RemovePhoneIDs []uuid.UUID + RemoveWebsiteIDs []uuid.UUID + func (i *UpdateCountryInput) Mutate(m *CountryMutation) + type UpdateEmailInput struct + Address *string + ClearCompany bool + ClearCountry bool + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description *string + Title *string + func (i *UpdateEmailInput) Mutate(m *EmailMutation) + type UpdateImageInput struct + ClearCoverCompany bool + ClearGalleryCompany bool + ClearLogoCompany bool + CoverCompanyID *uuid.UUID + GalleryCompanyID *uuid.UUID + LogoCompanyID *uuid.UUID + OriginalURL *string + Title *string + func (i *UpdateImageInput) Mutate(m *ImageMutation) + type UpdateLocationInput struct + Address *string + ClearCompany bool + ClearCountry bool + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description *string + Latitude *float64 + Longitude *float64 + Postcode *string + State *string + StreetName *string + StreetType *string + Suburb *string + Title *string + Type *string + func (i *UpdateLocationInput) Mutate(m *LocationMutation) + type UpdatePhoneInput struct + ClearCompany bool + ClearCountry bool + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description *string + Number *string + Title *string + Type *string + func (i *UpdatePhoneInput) Mutate(m *PhoneMutation) + type UpdateProductInput struct + BuildStatus *enums.ProcessStatus + ClearCreatedAt bool + ClearLastSell bool + ClearVendor bool + ClearWarehouse bool + CreatedAt *time.Time + Description *string + Image *string + LastSell *time.Time + Name *string + Status *enums.ProcessStatus + URL *string + VendorID *uuid.UUID + WarehouseID *uuid.UUID + func (i *UpdateProductInput) Mutate(m *ProductMutation) + type UpdateVendorInput struct + AddProductIDs []uuid.UUID + AddWarehouseIDs []uuid.UUID + ClearProducts bool + ClearWarehouses bool + Name *string + RemoveProductIDs []uuid.UUID + RemoveWarehouseIDs []uuid.UUID + Schema *string + func (i *UpdateVendorInput) Mutate(m *VendorMutation) + type UpdateWarehouseInput struct + AddProductIDs []uuid.UUID + AppendFilters []string + ClearFilters bool + ClearLastUpdate bool + ClearOriginalData bool + ClearProducts bool + ClearVendor bool + Enabled *bool + Filters []string + LastUpdate *time.Time + Name *string + OriginalData *string + RemoveProductIDs []uuid.UUID + VendorID *uuid.UUID + func (i *UpdateWarehouseInput) Mutate(m *WarehouseMutation) + type UpdateWebsiteInput struct + ClearCompany bool + ClearCountry bool + CompanyID *uuid.UUID + CountryID *uuid.UUID + Description *string + Title *string + URL *string + func (i *UpdateWebsiteInput) Mutate(m *WebsiteMutation) + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value + type Vendor struct + Edges VendorEdges + ID uuid.UUID + Name string + Schema string + func (n *Vendor) IsNode() + func (v *Vendor) NamedProducts(name string) ([]*Product, error) + func (v *Vendor) NamedWarehouses(name string) ([]*Warehouse, error) + func (v *Vendor) Products(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*ProductConnection, error) + func (v *Vendor) QueryProducts() *ProductQuery + func (v *Vendor) QueryWarehouses() *WarehouseQuery + func (v *Vendor) String() string + func (v *Vendor) ToEdge(order *VendorOrder) *VendorEdge + func (v *Vendor) Unwrap() *Vendor + func (v *Vendor) Update() *VendorUpdateOne + func (v *Vendor) Warehouses(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*WarehouseConnection, error) + type VendorClient struct + func NewVendorClient(c config) *VendorClient + func (c *VendorClient) Create() *VendorCreate + func (c *VendorClient) CreateBulk(builders ...*VendorCreate) *VendorCreateBulk + func (c *VendorClient) Delete() *VendorDelete + func (c *VendorClient) DeleteOne(v *Vendor) *VendorDeleteOne + func (c *VendorClient) DeleteOneID(id uuid.UUID) *VendorDeleteOne + func (c *VendorClient) Get(ctx context.Context, id uuid.UUID) (*Vendor, error) + func (c *VendorClient) GetX(ctx context.Context, id uuid.UUID) *Vendor + func (c *VendorClient) Hooks() []Hook + func (c *VendorClient) Intercept(interceptors ...Interceptor) + func (c *VendorClient) Interceptors() []Interceptor + func (c *VendorClient) Query() *VendorQuery + func (c *VendorClient) QueryProducts(v *Vendor) *ProductQuery + func (c *VendorClient) QueryWarehouses(v *Vendor) *WarehouseQuery + func (c *VendorClient) Update() *VendorUpdate + func (c *VendorClient) UpdateOne(v *Vendor) *VendorUpdateOne + func (c *VendorClient) UpdateOneID(id uuid.UUID) *VendorUpdateOne + func (c *VendorClient) Use(hooks ...Hook) + type VendorConnection struct + Edges []*VendorEdge + PageInfo PageInfo + TotalCount int + type VendorCreate struct + func (c *VendorCreate) SetInput(i CreateVendorInput) *VendorCreate + func (vc *VendorCreate) AddProductIDs(ids ...uuid.UUID) *VendorCreate + func (vc *VendorCreate) AddProducts(p ...*Product) *VendorCreate + func (vc *VendorCreate) AddWarehouseIDs(ids ...uuid.UUID) *VendorCreate + func (vc *VendorCreate) AddWarehouses(w ...*Warehouse) *VendorCreate + func (vc *VendorCreate) Exec(ctx context.Context) error + func (vc *VendorCreate) ExecX(ctx context.Context) + func (vc *VendorCreate) Mutation() *VendorMutation + func (vc *VendorCreate) Save(ctx context.Context) (*Vendor, error) + func (vc *VendorCreate) SaveX(ctx context.Context) *Vendor + func (vc *VendorCreate) SetID(u uuid.UUID) *VendorCreate + func (vc *VendorCreate) SetName(s string) *VendorCreate + func (vc *VendorCreate) SetNillableID(u *uuid.UUID) *VendorCreate + func (vc *VendorCreate) SetSchema(s string) *VendorCreate + type VendorCreateBulk struct + func (vcb *VendorCreateBulk) Exec(ctx context.Context) error + func (vcb *VendorCreateBulk) ExecX(ctx context.Context) + func (vcb *VendorCreateBulk) Save(ctx context.Context) ([]*Vendor, error) + func (vcb *VendorCreateBulk) SaveX(ctx context.Context) []*Vendor + type VendorDelete struct + func (vd *VendorDelete) Exec(ctx context.Context) (int, error) + func (vd *VendorDelete) ExecX(ctx context.Context) int + func (vd *VendorDelete) Where(ps ...predicate.Vendor) *VendorDelete + type VendorDeleteOne struct + func (vdo *VendorDeleteOne) Exec(ctx context.Context) error + func (vdo *VendorDeleteOne) ExecX(ctx context.Context) + type VendorEdge struct + Cursor Cursor + Node *Vendor + type VendorEdges struct + Products []*Product + Warehouses []*Warehouse + func (e VendorEdges) ProductsOrErr() ([]*Product, error) + func (e VendorEdges) WarehousesOrErr() ([]*Warehouse, error) + type VendorGroupBy struct + func (s *VendorGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *VendorGroupBy) BoolX(ctx context.Context) bool + func (s *VendorGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *VendorGroupBy) BoolsX(ctx context.Context) []bool + func (s *VendorGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *VendorGroupBy) Float64X(ctx context.Context) float64 + func (s *VendorGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *VendorGroupBy) Float64sX(ctx context.Context) []float64 + func (s *VendorGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *VendorGroupBy) IntX(ctx context.Context) int + func (s *VendorGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *VendorGroupBy) IntsX(ctx context.Context) []int + func (s *VendorGroupBy) ScanX(ctx context.Context, v any) + func (s *VendorGroupBy) String(ctx context.Context) (_ string, err error) + func (s *VendorGroupBy) StringX(ctx context.Context) string + func (s *VendorGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *VendorGroupBy) StringsX(ctx context.Context) []string + func (vgb *VendorGroupBy) Aggregate(fns ...AggregateFunc) *VendorGroupBy + func (vgb *VendorGroupBy) Scan(ctx context.Context, v any) error + type VendorMutation struct + func (m *VendorMutation) AddField(name string, value ent.Value) error + func (m *VendorMutation) AddProductIDs(ids ...uuid.UUID) + func (m *VendorMutation) AddWarehouseIDs(ids ...uuid.UUID) + func (m *VendorMutation) AddedEdges() []string + func (m *VendorMutation) AddedField(name string) (ent.Value, bool) + func (m *VendorMutation) AddedFields() []string + func (m *VendorMutation) AddedIDs(name string) []ent.Value + func (m *VendorMutation) ClearEdge(name string) error + func (m *VendorMutation) ClearField(name string) error + func (m *VendorMutation) ClearProducts() + func (m *VendorMutation) ClearWarehouses() + func (m *VendorMutation) ClearedEdges() []string + func (m *VendorMutation) ClearedFields() []string + func (m *VendorMutation) EdgeCleared(name string) bool + func (m *VendorMutation) Field(name string) (ent.Value, bool) + func (m *VendorMutation) FieldCleared(name string) bool + func (m *VendorMutation) Fields() []string + func (m *VendorMutation) ID() (id uuid.UUID, exists bool) + func (m *VendorMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *VendorMutation) Name() (r string, exists bool) + func (m *VendorMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *VendorMutation) OldName(ctx context.Context) (v string, err error) + func (m *VendorMutation) OldSchema(ctx context.Context) (v string, err error) + func (m *VendorMutation) Op() Op + func (m *VendorMutation) ProductsCleared() bool + func (m *VendorMutation) ProductsIDs() (ids []uuid.UUID) + func (m *VendorMutation) RemoveProductIDs(ids ...uuid.UUID) + func (m *VendorMutation) RemoveWarehouseIDs(ids ...uuid.UUID) + func (m *VendorMutation) RemovedEdges() []string + func (m *VendorMutation) RemovedIDs(name string) []ent.Value + func (m *VendorMutation) RemovedProductsIDs() (ids []uuid.UUID) + func (m *VendorMutation) RemovedWarehousesIDs() (ids []uuid.UUID) + func (m *VendorMutation) ResetEdge(name string) error + func (m *VendorMutation) ResetField(name string) error + func (m *VendorMutation) ResetName() + func (m *VendorMutation) ResetProducts() + func (m *VendorMutation) ResetSchema() + func (m *VendorMutation) ResetWarehouses() + func (m *VendorMutation) Schema() (r string, exists bool) + func (m *VendorMutation) SetField(name string, value ent.Value) error + func (m *VendorMutation) SetID(id uuid.UUID) + func (m *VendorMutation) SetName(s string) + func (m *VendorMutation) SetOp(op Op) + func (m *VendorMutation) SetSchema(s string) + func (m *VendorMutation) Type() string + func (m *VendorMutation) WarehousesCleared() bool + func (m *VendorMutation) WarehousesIDs() (ids []uuid.UUID) + func (m *VendorMutation) Where(ps ...predicate.Vendor) + func (m *VendorMutation) WhereP(ps ...func(*sql.Selector)) + func (m VendorMutation) Client() *Client + func (m VendorMutation) Tx() (*Tx, error) + type VendorOrder struct + Direction OrderDirection + Field *VendorOrderField + type VendorOrderField struct + func (f *VendorOrderField) UnmarshalGQL(v interface{}) error + func (f VendorOrderField) MarshalGQL(w io.Writer) + func (f VendorOrderField) String() string + type VendorPaginateOption func(*vendorPager) error + func WithVendorFilter(filter func(*VendorQuery) (*VendorQuery, error)) VendorPaginateOption + func WithVendorOrder(order *VendorOrder) VendorPaginateOption + type VendorQuery struct + func (v *VendorQuery) CollectFields(ctx context.Context, satisfies ...string) (*VendorQuery, error) + func (v *VendorQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*VendorConnection, error) + func (vq *VendorQuery) Aggregate(fns ...AggregateFunc) *VendorSelect + func (vq *VendorQuery) All(ctx context.Context) ([]*Vendor, error) + func (vq *VendorQuery) AllX(ctx context.Context) []*Vendor + func (vq *VendorQuery) Clone() *VendorQuery + func (vq *VendorQuery) Count(ctx context.Context) (int, error) + func (vq *VendorQuery) CountX(ctx context.Context) int + func (vq *VendorQuery) Exist(ctx context.Context) (bool, error) + func (vq *VendorQuery) ExistX(ctx context.Context) bool + func (vq *VendorQuery) First(ctx context.Context) (*Vendor, error) + func (vq *VendorQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (vq *VendorQuery) FirstIDX(ctx context.Context) uuid.UUID + func (vq *VendorQuery) FirstX(ctx context.Context) *Vendor + func (vq *VendorQuery) GroupBy(field string, fields ...string) *VendorGroupBy + func (vq *VendorQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (vq *VendorQuery) IDsX(ctx context.Context) []uuid.UUID + func (vq *VendorQuery) Limit(limit int) *VendorQuery + func (vq *VendorQuery) Offset(offset int) *VendorQuery + func (vq *VendorQuery) Only(ctx context.Context) (*Vendor, error) + func (vq *VendorQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (vq *VendorQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (vq *VendorQuery) OnlyX(ctx context.Context) *Vendor + func (vq *VendorQuery) Order(o ...OrderFunc) *VendorQuery + func (vq *VendorQuery) QueryProducts() *ProductQuery + func (vq *VendorQuery) QueryWarehouses() *WarehouseQuery + func (vq *VendorQuery) Select(fields ...string) *VendorSelect + func (vq *VendorQuery) Unique(unique bool) *VendorQuery + func (vq *VendorQuery) Where(ps ...predicate.Vendor) *VendorQuery + func (vq *VendorQuery) WithNamedProducts(name string, opts ...func(*ProductQuery)) *VendorQuery + func (vq *VendorQuery) WithNamedWarehouses(name string, opts ...func(*WarehouseQuery)) *VendorQuery + func (vq *VendorQuery) WithProducts(opts ...func(*ProductQuery)) *VendorQuery + func (vq *VendorQuery) WithWarehouses(opts ...func(*WarehouseQuery)) *VendorQuery + type VendorSelect struct + func (s *VendorSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *VendorSelect) BoolX(ctx context.Context) bool + func (s *VendorSelect) Bools(ctx context.Context) ([]bool, error) + func (s *VendorSelect) BoolsX(ctx context.Context) []bool + func (s *VendorSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *VendorSelect) Float64X(ctx context.Context) float64 + func (s *VendorSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *VendorSelect) Float64sX(ctx context.Context) []float64 + func (s *VendorSelect) Int(ctx context.Context) (_ int, err error) + func (s *VendorSelect) IntX(ctx context.Context) int + func (s *VendorSelect) Ints(ctx context.Context) ([]int, error) + func (s *VendorSelect) IntsX(ctx context.Context) []int + func (s *VendorSelect) ScanX(ctx context.Context, v any) + func (s *VendorSelect) String(ctx context.Context) (_ string, err error) + func (s *VendorSelect) StringX(ctx context.Context) string + func (s *VendorSelect) Strings(ctx context.Context) ([]string, error) + func (s *VendorSelect) StringsX(ctx context.Context) []string + func (vs *VendorSelect) Aggregate(fns ...AggregateFunc) *VendorSelect + func (vs *VendorSelect) Scan(ctx context.Context, v any) error + type VendorUpdate struct + func (c *VendorUpdate) SetInput(i UpdateVendorInput) *VendorUpdate + func (vu *VendorUpdate) AddProductIDs(ids ...uuid.UUID) *VendorUpdate + func (vu *VendorUpdate) AddProducts(p ...*Product) *VendorUpdate + func (vu *VendorUpdate) AddWarehouseIDs(ids ...uuid.UUID) *VendorUpdate + func (vu *VendorUpdate) AddWarehouses(w ...*Warehouse) *VendorUpdate + func (vu *VendorUpdate) ClearProducts() *VendorUpdate + func (vu *VendorUpdate) ClearWarehouses() *VendorUpdate + func (vu *VendorUpdate) Exec(ctx context.Context) error + func (vu *VendorUpdate) ExecX(ctx context.Context) + func (vu *VendorUpdate) Mutation() *VendorMutation + func (vu *VendorUpdate) RemoveProductIDs(ids ...uuid.UUID) *VendorUpdate + func (vu *VendorUpdate) RemoveProducts(p ...*Product) *VendorUpdate + func (vu *VendorUpdate) RemoveWarehouseIDs(ids ...uuid.UUID) *VendorUpdate + func (vu *VendorUpdate) RemoveWarehouses(w ...*Warehouse) *VendorUpdate + func (vu *VendorUpdate) Save(ctx context.Context) (int, error) + func (vu *VendorUpdate) SaveX(ctx context.Context) int + func (vu *VendorUpdate) SetName(s string) *VendorUpdate + func (vu *VendorUpdate) SetSchema(s string) *VendorUpdate + func (vu *VendorUpdate) Where(ps ...predicate.Vendor) *VendorUpdate + type VendorUpdateOne struct + func (c *VendorUpdateOne) SetInput(i UpdateVendorInput) *VendorUpdateOne + func (vuo *VendorUpdateOne) AddProductIDs(ids ...uuid.UUID) *VendorUpdateOne + func (vuo *VendorUpdateOne) AddProducts(p ...*Product) *VendorUpdateOne + func (vuo *VendorUpdateOne) AddWarehouseIDs(ids ...uuid.UUID) *VendorUpdateOne + func (vuo *VendorUpdateOne) AddWarehouses(w ...*Warehouse) *VendorUpdateOne + func (vuo *VendorUpdateOne) ClearProducts() *VendorUpdateOne + func (vuo *VendorUpdateOne) ClearWarehouses() *VendorUpdateOne + func (vuo *VendorUpdateOne) Exec(ctx context.Context) error + func (vuo *VendorUpdateOne) ExecX(ctx context.Context) + func (vuo *VendorUpdateOne) Mutation() *VendorMutation + func (vuo *VendorUpdateOne) RemoveProductIDs(ids ...uuid.UUID) *VendorUpdateOne + func (vuo *VendorUpdateOne) RemoveProducts(p ...*Product) *VendorUpdateOne + func (vuo *VendorUpdateOne) RemoveWarehouseIDs(ids ...uuid.UUID) *VendorUpdateOne + func (vuo *VendorUpdateOne) RemoveWarehouses(w ...*Warehouse) *VendorUpdateOne + func (vuo *VendorUpdateOne) Save(ctx context.Context) (*Vendor, error) + func (vuo *VendorUpdateOne) SaveX(ctx context.Context) *Vendor + func (vuo *VendorUpdateOne) Select(field string, fields ...string) *VendorUpdateOne + func (vuo *VendorUpdateOne) SetName(s string) *VendorUpdateOne + func (vuo *VendorUpdateOne) SetSchema(s string) *VendorUpdateOne + type VendorWhereInput struct + And []*VendorWhereInput + HasProducts *bool + HasProductsWith []*ProductWhereInput + HasWarehouses *bool + HasWarehousesWith []*WarehouseWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *VendorWhereInput + Or []*VendorWhereInput + Predicates []predicate.Vendor + Schema *string + SchemaContains *string + SchemaContainsFold *string + SchemaEqualFold *string + SchemaGT *string + SchemaGTE *string + SchemaHasPrefix *string + SchemaHasSuffix *string + SchemaIn []string + SchemaLT *string + SchemaLTE *string + SchemaNEQ *string + SchemaNotIn []string + func (i *VendorWhereInput) AddPredicates(predicates ...predicate.Vendor) + func (i *VendorWhereInput) Filter(q *VendorQuery) (*VendorQuery, error) + func (i *VendorWhereInput) P() (predicate.Vendor, error) + func (vwi *VendorWhereInput) ApplySearchQuery(q *string) *VendorWhereInput + type Vendors []*Vendor + type Warehouse struct + Edges WarehouseEdges + Enabled bool + Filters []string + ID uuid.UUID + LastUpdate *time.Time + Name string + OriginalData *string + func (n *Warehouse) IsNode() + func (w *Warehouse) NamedProducts(name string) ([]*Product, error) + func (w *Warehouse) Products(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*ProductConnection, error) + func (w *Warehouse) QueryProducts() *ProductQuery + func (w *Warehouse) QueryVendor() *VendorQuery + func (w *Warehouse) String() string + func (w *Warehouse) ToEdge(order *WarehouseOrder) *WarehouseEdge + func (w *Warehouse) Unwrap() *Warehouse + func (w *Warehouse) Update() *WarehouseUpdateOne + func (w *Warehouse) Vendor(ctx context.Context) (*Vendor, error) + type WarehouseClient struct + func NewWarehouseClient(c config) *WarehouseClient + func (c *WarehouseClient) Create() *WarehouseCreate + func (c *WarehouseClient) CreateBulk(builders ...*WarehouseCreate) *WarehouseCreateBulk + func (c *WarehouseClient) Delete() *WarehouseDelete + func (c *WarehouseClient) DeleteOne(w *Warehouse) *WarehouseDeleteOne + func (c *WarehouseClient) DeleteOneID(id uuid.UUID) *WarehouseDeleteOne + func (c *WarehouseClient) Get(ctx context.Context, id uuid.UUID) (*Warehouse, error) + func (c *WarehouseClient) GetX(ctx context.Context, id uuid.UUID) *Warehouse + func (c *WarehouseClient) Hooks() []Hook + func (c *WarehouseClient) Intercept(interceptors ...Interceptor) + func (c *WarehouseClient) Interceptors() []Interceptor + func (c *WarehouseClient) Query() *WarehouseQuery + func (c *WarehouseClient) QueryProducts(w *Warehouse) *ProductQuery + func (c *WarehouseClient) QueryVendor(w *Warehouse) *VendorQuery + func (c *WarehouseClient) Update() *WarehouseUpdate + func (c *WarehouseClient) UpdateOne(w *Warehouse) *WarehouseUpdateOne + func (c *WarehouseClient) UpdateOneID(id uuid.UUID) *WarehouseUpdateOne + func (c *WarehouseClient) Use(hooks ...Hook) + type WarehouseConnection struct + Edges []*WarehouseEdge + PageInfo PageInfo + TotalCount int + type WarehouseCreate struct + func (c *WarehouseCreate) SetInput(i CreateWarehouseInput) *WarehouseCreate + func (wc *WarehouseCreate) AddProductIDs(ids ...uuid.UUID) *WarehouseCreate + func (wc *WarehouseCreate) AddProducts(p ...*Product) *WarehouseCreate + func (wc *WarehouseCreate) Exec(ctx context.Context) error + func (wc *WarehouseCreate) ExecX(ctx context.Context) + func (wc *WarehouseCreate) Mutation() *WarehouseMutation + func (wc *WarehouseCreate) Save(ctx context.Context) (*Warehouse, error) + func (wc *WarehouseCreate) SaveX(ctx context.Context) *Warehouse + func (wc *WarehouseCreate) SetEnabled(b bool) *WarehouseCreate + func (wc *WarehouseCreate) SetFilters(s []string) *WarehouseCreate + func (wc *WarehouseCreate) SetID(u uuid.UUID) *WarehouseCreate + func (wc *WarehouseCreate) SetLastUpdate(t time.Time) *WarehouseCreate + func (wc *WarehouseCreate) SetName(s string) *WarehouseCreate + func (wc *WarehouseCreate) SetNillableEnabled(b *bool) *WarehouseCreate + func (wc *WarehouseCreate) SetNillableID(u *uuid.UUID) *WarehouseCreate + func (wc *WarehouseCreate) SetNillableLastUpdate(t *time.Time) *WarehouseCreate + func (wc *WarehouseCreate) SetNillableOriginalData(s *string) *WarehouseCreate + func (wc *WarehouseCreate) SetNillableVendorID(id *uuid.UUID) *WarehouseCreate + func (wc *WarehouseCreate) SetOriginalData(s string) *WarehouseCreate + func (wc *WarehouseCreate) SetVendor(v *Vendor) *WarehouseCreate + func (wc *WarehouseCreate) SetVendorID(id uuid.UUID) *WarehouseCreate + type WarehouseCreateBulk struct + func (wcb *WarehouseCreateBulk) Exec(ctx context.Context) error + func (wcb *WarehouseCreateBulk) ExecX(ctx context.Context) + func (wcb *WarehouseCreateBulk) Save(ctx context.Context) ([]*Warehouse, error) + func (wcb *WarehouseCreateBulk) SaveX(ctx context.Context) []*Warehouse + type WarehouseDelete struct + func (wd *WarehouseDelete) Exec(ctx context.Context) (int, error) + func (wd *WarehouseDelete) ExecX(ctx context.Context) int + func (wd *WarehouseDelete) Where(ps ...predicate.Warehouse) *WarehouseDelete + type WarehouseDeleteOne struct + func (wdo *WarehouseDeleteOne) Exec(ctx context.Context) error + func (wdo *WarehouseDeleteOne) ExecX(ctx context.Context) + type WarehouseEdge struct + Cursor Cursor + Node *Warehouse + type WarehouseEdges struct + Products []*Product + Vendor *Vendor + func (e WarehouseEdges) ProductsOrErr() ([]*Product, error) + func (e WarehouseEdges) VendorOrErr() (*Vendor, error) + type WarehouseGroupBy struct + func (s *WarehouseGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *WarehouseGroupBy) BoolX(ctx context.Context) bool + func (s *WarehouseGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *WarehouseGroupBy) BoolsX(ctx context.Context) []bool + func (s *WarehouseGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *WarehouseGroupBy) Float64X(ctx context.Context) float64 + func (s *WarehouseGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *WarehouseGroupBy) Float64sX(ctx context.Context) []float64 + func (s *WarehouseGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *WarehouseGroupBy) IntX(ctx context.Context) int + func (s *WarehouseGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *WarehouseGroupBy) IntsX(ctx context.Context) []int + func (s *WarehouseGroupBy) ScanX(ctx context.Context, v any) + func (s *WarehouseGroupBy) String(ctx context.Context) (_ string, err error) + func (s *WarehouseGroupBy) StringX(ctx context.Context) string + func (s *WarehouseGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *WarehouseGroupBy) StringsX(ctx context.Context) []string + func (wgb *WarehouseGroupBy) Aggregate(fns ...AggregateFunc) *WarehouseGroupBy + func (wgb *WarehouseGroupBy) Scan(ctx context.Context, v any) error + type WarehouseMutation struct + func (m *WarehouseMutation) AddField(name string, value ent.Value) error + func (m *WarehouseMutation) AddProductIDs(ids ...uuid.UUID) + func (m *WarehouseMutation) AddedEdges() []string + func (m *WarehouseMutation) AddedField(name string) (ent.Value, bool) + func (m *WarehouseMutation) AddedFields() []string + func (m *WarehouseMutation) AddedIDs(name string) []ent.Value + func (m *WarehouseMutation) AppendFilters(s []string) + func (m *WarehouseMutation) AppendedFilters() ([]string, bool) + func (m *WarehouseMutation) ClearEdge(name string) error + func (m *WarehouseMutation) ClearField(name string) error + func (m *WarehouseMutation) ClearFilters() + func (m *WarehouseMutation) ClearLastUpdate() + func (m *WarehouseMutation) ClearOriginalData() + func (m *WarehouseMutation) ClearProducts() + func (m *WarehouseMutation) ClearVendor() + func (m *WarehouseMutation) ClearedEdges() []string + func (m *WarehouseMutation) ClearedFields() []string + func (m *WarehouseMutation) EdgeCleared(name string) bool + func (m *WarehouseMutation) Enabled() (r bool, exists bool) + func (m *WarehouseMutation) Field(name string) (ent.Value, bool) + func (m *WarehouseMutation) FieldCleared(name string) bool + func (m *WarehouseMutation) Fields() []string + func (m *WarehouseMutation) Filters() (r []string, exists bool) + func (m *WarehouseMutation) FiltersCleared() bool + func (m *WarehouseMutation) ID() (id uuid.UUID, exists bool) + func (m *WarehouseMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *WarehouseMutation) LastUpdate() (r time.Time, exists bool) + func (m *WarehouseMutation) LastUpdateCleared() bool + func (m *WarehouseMutation) Name() (r string, exists bool) + func (m *WarehouseMutation) OldEnabled(ctx context.Context) (v bool, err error) + func (m *WarehouseMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *WarehouseMutation) OldFilters(ctx context.Context) (v []string, err error) + func (m *WarehouseMutation) OldLastUpdate(ctx context.Context) (v *time.Time, err error) + func (m *WarehouseMutation) OldName(ctx context.Context) (v string, err error) + func (m *WarehouseMutation) OldOriginalData(ctx context.Context) (v *string, err error) + func (m *WarehouseMutation) Op() Op + func (m *WarehouseMutation) OriginalData() (r string, exists bool) + func (m *WarehouseMutation) OriginalDataCleared() bool + func (m *WarehouseMutation) ProductsCleared() bool + func (m *WarehouseMutation) ProductsIDs() (ids []uuid.UUID) + func (m *WarehouseMutation) RemoveProductIDs(ids ...uuid.UUID) + func (m *WarehouseMutation) RemovedEdges() []string + func (m *WarehouseMutation) RemovedIDs(name string) []ent.Value + func (m *WarehouseMutation) RemovedProductsIDs() (ids []uuid.UUID) + func (m *WarehouseMutation) ResetEdge(name string) error + func (m *WarehouseMutation) ResetEnabled() + func (m *WarehouseMutation) ResetField(name string) error + func (m *WarehouseMutation) ResetFilters() + func (m *WarehouseMutation) ResetLastUpdate() + func (m *WarehouseMutation) ResetName() + func (m *WarehouseMutation) ResetOriginalData() + func (m *WarehouseMutation) ResetProducts() + func (m *WarehouseMutation) ResetVendor() + func (m *WarehouseMutation) SetEnabled(b bool) + func (m *WarehouseMutation) SetField(name string, value ent.Value) error + func (m *WarehouseMutation) SetFilters(s []string) + func (m *WarehouseMutation) SetID(id uuid.UUID) + func (m *WarehouseMutation) SetLastUpdate(t time.Time) + func (m *WarehouseMutation) SetName(s string) + func (m *WarehouseMutation) SetOp(op Op) + func (m *WarehouseMutation) SetOriginalData(s string) + func (m *WarehouseMutation) SetVendorID(id uuid.UUID) + func (m *WarehouseMutation) Type() string + func (m *WarehouseMutation) VendorCleared() bool + func (m *WarehouseMutation) VendorID() (id uuid.UUID, exists bool) + func (m *WarehouseMutation) VendorIDs() (ids []uuid.UUID) + func (m *WarehouseMutation) Where(ps ...predicate.Warehouse) + func (m *WarehouseMutation) WhereP(ps ...func(*sql.Selector)) + func (m WarehouseMutation) Client() *Client + func (m WarehouseMutation) Tx() (*Tx, error) + type WarehouseOrder struct + Direction OrderDirection + Field *WarehouseOrderField + type WarehouseOrderField struct + func (f *WarehouseOrderField) UnmarshalGQL(v interface{}) error + func (f WarehouseOrderField) MarshalGQL(w io.Writer) + func (f WarehouseOrderField) String() string + type WarehousePaginateOption func(*warehousePager) error + func WithWarehouseFilter(filter func(*WarehouseQuery) (*WarehouseQuery, error)) WarehousePaginateOption + func WithWarehouseOrder(order *WarehouseOrder) WarehousePaginateOption + type WarehouseQuery struct + func (w *WarehouseQuery) CollectFields(ctx context.Context, satisfies ...string) (*WarehouseQuery, error) + func (w *WarehouseQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*WarehouseConnection, error) + func (wq *WarehouseQuery) Aggregate(fns ...AggregateFunc) *WarehouseSelect + func (wq *WarehouseQuery) All(ctx context.Context) ([]*Warehouse, error) + func (wq *WarehouseQuery) AllX(ctx context.Context) []*Warehouse + func (wq *WarehouseQuery) Clone() *WarehouseQuery + func (wq *WarehouseQuery) Count(ctx context.Context) (int, error) + func (wq *WarehouseQuery) CountX(ctx context.Context) int + func (wq *WarehouseQuery) Exist(ctx context.Context) (bool, error) + func (wq *WarehouseQuery) ExistX(ctx context.Context) bool + func (wq *WarehouseQuery) First(ctx context.Context) (*Warehouse, error) + func (wq *WarehouseQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (wq *WarehouseQuery) FirstIDX(ctx context.Context) uuid.UUID + func (wq *WarehouseQuery) FirstX(ctx context.Context) *Warehouse + func (wq *WarehouseQuery) GroupBy(field string, fields ...string) *WarehouseGroupBy + func (wq *WarehouseQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (wq *WarehouseQuery) IDsX(ctx context.Context) []uuid.UUID + func (wq *WarehouseQuery) Limit(limit int) *WarehouseQuery + func (wq *WarehouseQuery) Offset(offset int) *WarehouseQuery + func (wq *WarehouseQuery) Only(ctx context.Context) (*Warehouse, error) + func (wq *WarehouseQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (wq *WarehouseQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (wq *WarehouseQuery) OnlyX(ctx context.Context) *Warehouse + func (wq *WarehouseQuery) Order(o ...OrderFunc) *WarehouseQuery + func (wq *WarehouseQuery) QueryProducts() *ProductQuery + func (wq *WarehouseQuery) QueryVendor() *VendorQuery + func (wq *WarehouseQuery) Select(fields ...string) *WarehouseSelect + func (wq *WarehouseQuery) Unique(unique bool) *WarehouseQuery + func (wq *WarehouseQuery) Where(ps ...predicate.Warehouse) *WarehouseQuery + func (wq *WarehouseQuery) WithNamedProducts(name string, opts ...func(*ProductQuery)) *WarehouseQuery + func (wq *WarehouseQuery) WithProducts(opts ...func(*ProductQuery)) *WarehouseQuery + func (wq *WarehouseQuery) WithVendor(opts ...func(*VendorQuery)) *WarehouseQuery + type WarehouseSelect struct + func (s *WarehouseSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *WarehouseSelect) BoolX(ctx context.Context) bool + func (s *WarehouseSelect) Bools(ctx context.Context) ([]bool, error) + func (s *WarehouseSelect) BoolsX(ctx context.Context) []bool + func (s *WarehouseSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *WarehouseSelect) Float64X(ctx context.Context) float64 + func (s *WarehouseSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *WarehouseSelect) Float64sX(ctx context.Context) []float64 + func (s *WarehouseSelect) Int(ctx context.Context) (_ int, err error) + func (s *WarehouseSelect) IntX(ctx context.Context) int + func (s *WarehouseSelect) Ints(ctx context.Context) ([]int, error) + func (s *WarehouseSelect) IntsX(ctx context.Context) []int + func (s *WarehouseSelect) ScanX(ctx context.Context, v any) + func (s *WarehouseSelect) String(ctx context.Context) (_ string, err error) + func (s *WarehouseSelect) StringX(ctx context.Context) string + func (s *WarehouseSelect) Strings(ctx context.Context) ([]string, error) + func (s *WarehouseSelect) StringsX(ctx context.Context) []string + func (ws *WarehouseSelect) Aggregate(fns ...AggregateFunc) *WarehouseSelect + func (ws *WarehouseSelect) Scan(ctx context.Context, v any) error + type WarehouseUpdate struct + func (c *WarehouseUpdate) SetInput(i UpdateWarehouseInput) *WarehouseUpdate + func (wu *WarehouseUpdate) AddProductIDs(ids ...uuid.UUID) *WarehouseUpdate + func (wu *WarehouseUpdate) AddProducts(p ...*Product) *WarehouseUpdate + func (wu *WarehouseUpdate) AppendFilters(s []string) *WarehouseUpdate + func (wu *WarehouseUpdate) ClearFilters() *WarehouseUpdate + func (wu *WarehouseUpdate) ClearLastUpdate() *WarehouseUpdate + func (wu *WarehouseUpdate) ClearOriginalData() *WarehouseUpdate + func (wu *WarehouseUpdate) ClearProducts() *WarehouseUpdate + func (wu *WarehouseUpdate) ClearVendor() *WarehouseUpdate + func (wu *WarehouseUpdate) Exec(ctx context.Context) error + func (wu *WarehouseUpdate) ExecX(ctx context.Context) + func (wu *WarehouseUpdate) Mutation() *WarehouseMutation + func (wu *WarehouseUpdate) RemoveProductIDs(ids ...uuid.UUID) *WarehouseUpdate + func (wu *WarehouseUpdate) RemoveProducts(p ...*Product) *WarehouseUpdate + func (wu *WarehouseUpdate) Save(ctx context.Context) (int, error) + func (wu *WarehouseUpdate) SaveX(ctx context.Context) int + func (wu *WarehouseUpdate) SetEnabled(b bool) *WarehouseUpdate + func (wu *WarehouseUpdate) SetFilters(s []string) *WarehouseUpdate + func (wu *WarehouseUpdate) SetLastUpdate(t time.Time) *WarehouseUpdate + func (wu *WarehouseUpdate) SetName(s string) *WarehouseUpdate + func (wu *WarehouseUpdate) SetNillableEnabled(b *bool) *WarehouseUpdate + func (wu *WarehouseUpdate) SetNillableLastUpdate(t *time.Time) *WarehouseUpdate + func (wu *WarehouseUpdate) SetNillableOriginalData(s *string) *WarehouseUpdate + func (wu *WarehouseUpdate) SetNillableVendorID(id *uuid.UUID) *WarehouseUpdate + func (wu *WarehouseUpdate) SetOriginalData(s string) *WarehouseUpdate + func (wu *WarehouseUpdate) SetVendor(v *Vendor) *WarehouseUpdate + func (wu *WarehouseUpdate) SetVendorID(id uuid.UUID) *WarehouseUpdate + func (wu *WarehouseUpdate) Where(ps ...predicate.Warehouse) *WarehouseUpdate + type WarehouseUpdateOne struct + func (c *WarehouseUpdateOne) SetInput(i UpdateWarehouseInput) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) AddProductIDs(ids ...uuid.UUID) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) AddProducts(p ...*Product) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) AppendFilters(s []string) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) ClearFilters() *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) ClearLastUpdate() *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) ClearOriginalData() *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) ClearProducts() *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) ClearVendor() *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) Exec(ctx context.Context) error + func (wuo *WarehouseUpdateOne) ExecX(ctx context.Context) + func (wuo *WarehouseUpdateOne) Mutation() *WarehouseMutation + func (wuo *WarehouseUpdateOne) RemoveProductIDs(ids ...uuid.UUID) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) RemoveProducts(p ...*Product) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) Save(ctx context.Context) (*Warehouse, error) + func (wuo *WarehouseUpdateOne) SaveX(ctx context.Context) *Warehouse + func (wuo *WarehouseUpdateOne) Select(field string, fields ...string) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetEnabled(b bool) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetFilters(s []string) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetLastUpdate(t time.Time) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetName(s string) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetNillableEnabled(b *bool) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetNillableLastUpdate(t *time.Time) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetNillableOriginalData(s *string) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetNillableVendorID(id *uuid.UUID) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetOriginalData(s string) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetVendor(v *Vendor) *WarehouseUpdateOne + func (wuo *WarehouseUpdateOne) SetVendorID(id uuid.UUID) *WarehouseUpdateOne + type WarehouseWhereInput struct + And []*WarehouseWhereInput + Enabled *bool + EnabledNEQ *bool + HasProducts *bool + HasProductsWith []*ProductWhereInput + HasVendor *bool + HasVendorWith []*VendorWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + LastUpdate *time.Time + LastUpdateGT *time.Time + LastUpdateGTE *time.Time + LastUpdateIn []time.Time + LastUpdateIsNil bool + LastUpdateLT *time.Time + LastUpdateLTE *time.Time + LastUpdateNEQ *time.Time + LastUpdateNotIn []time.Time + LastUpdateNotNil bool + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *WarehouseWhereInput + Or []*WarehouseWhereInput + OriginalData *string + OriginalDataContains *string + OriginalDataContainsFold *string + OriginalDataEqualFold *string + OriginalDataGT *string + OriginalDataGTE *string + OriginalDataHasPrefix *string + OriginalDataHasSuffix *string + OriginalDataIn []string + OriginalDataIsNil bool + OriginalDataLT *string + OriginalDataLTE *string + OriginalDataNEQ *string + OriginalDataNotIn []string + OriginalDataNotNil bool + Predicates []predicate.Warehouse + func (i *WarehouseWhereInput) AddPredicates(predicates ...predicate.Warehouse) + func (i *WarehouseWhereInput) Filter(q *WarehouseQuery) (*WarehouseQuery, error) + func (i *WarehouseWhereInput) P() (predicate.Warehouse, error) + func (wwi *WarehouseWhereInput) ApplySearchQuery(q *string) *WarehouseWhereInput + type Warehouses []*Warehouse + type Website struct + Description string + Edges WebsiteEdges + ID uuid.UUID + Title string + URL string + func (n *Website) IsNode() + func (w *Website) Company(ctx context.Context) (*Company, error) + func (w *Website) Country(ctx context.Context) (*Country, error) + func (w *Website) QueryCompany() *CompanyQuery + func (w *Website) QueryCountry() *CountryQuery + func (w *Website) String() string + func (w *Website) ToEdge(order *WebsiteOrder) *WebsiteEdge + func (w *Website) Unwrap() *Website + func (w *Website) Update() *WebsiteUpdateOne + type WebsiteClient struct + func NewWebsiteClient(c config) *WebsiteClient + func (c *WebsiteClient) Create() *WebsiteCreate + func (c *WebsiteClient) CreateBulk(builders ...*WebsiteCreate) *WebsiteCreateBulk + func (c *WebsiteClient) Delete() *WebsiteDelete + func (c *WebsiteClient) DeleteOne(w *Website) *WebsiteDeleteOne + func (c *WebsiteClient) DeleteOneID(id uuid.UUID) *WebsiteDeleteOne + func (c *WebsiteClient) Get(ctx context.Context, id uuid.UUID) (*Website, error) + func (c *WebsiteClient) GetX(ctx context.Context, id uuid.UUID) *Website + func (c *WebsiteClient) Hooks() []Hook + func (c *WebsiteClient) Intercept(interceptors ...Interceptor) + func (c *WebsiteClient) Interceptors() []Interceptor + func (c *WebsiteClient) Query() *WebsiteQuery + func (c *WebsiteClient) QueryCompany(w *Website) *CompanyQuery + func (c *WebsiteClient) QueryCountry(w *Website) *CountryQuery + func (c *WebsiteClient) Update() *WebsiteUpdate + func (c *WebsiteClient) UpdateOne(w *Website) *WebsiteUpdateOne + func (c *WebsiteClient) UpdateOneID(id uuid.UUID) *WebsiteUpdateOne + func (c *WebsiteClient) Use(hooks ...Hook) + type WebsiteConnection struct + Edges []*WebsiteEdge + PageInfo PageInfo + TotalCount int + type WebsiteCreate struct + func (c *WebsiteCreate) SetInput(i CreateWebsiteInput) *WebsiteCreate + func (wc *WebsiteCreate) Exec(ctx context.Context) error + func (wc *WebsiteCreate) ExecX(ctx context.Context) + func (wc *WebsiteCreate) Mutation() *WebsiteMutation + func (wc *WebsiteCreate) Save(ctx context.Context) (*Website, error) + func (wc *WebsiteCreate) SaveX(ctx context.Context) *Website + func (wc *WebsiteCreate) SetCompany(c *Company) *WebsiteCreate + func (wc *WebsiteCreate) SetCompanyID(id uuid.UUID) *WebsiteCreate + func (wc *WebsiteCreate) SetCountry(c *Country) *WebsiteCreate + func (wc *WebsiteCreate) SetCountryID(id uuid.UUID) *WebsiteCreate + func (wc *WebsiteCreate) SetDescription(s string) *WebsiteCreate + func (wc *WebsiteCreate) SetID(u uuid.UUID) *WebsiteCreate + func (wc *WebsiteCreate) SetNillableCompanyID(id *uuid.UUID) *WebsiteCreate + func (wc *WebsiteCreate) SetNillableCountryID(id *uuid.UUID) *WebsiteCreate + func (wc *WebsiteCreate) SetNillableID(u *uuid.UUID) *WebsiteCreate + func (wc *WebsiteCreate) SetTitle(s string) *WebsiteCreate + func (wc *WebsiteCreate) SetURL(s string) *WebsiteCreate + type WebsiteCreateBulk struct + func (wcb *WebsiteCreateBulk) Exec(ctx context.Context) error + func (wcb *WebsiteCreateBulk) ExecX(ctx context.Context) + func (wcb *WebsiteCreateBulk) Save(ctx context.Context) ([]*Website, error) + func (wcb *WebsiteCreateBulk) SaveX(ctx context.Context) []*Website + type WebsiteDelete struct + func (wd *WebsiteDelete) Exec(ctx context.Context) (int, error) + func (wd *WebsiteDelete) ExecX(ctx context.Context) int + func (wd *WebsiteDelete) Where(ps ...predicate.Website) *WebsiteDelete + type WebsiteDeleteOne struct + func (wdo *WebsiteDeleteOne) Exec(ctx context.Context) error + func (wdo *WebsiteDeleteOne) ExecX(ctx context.Context) + type WebsiteEdge struct + Cursor Cursor + Node *Website + type WebsiteEdges struct + Company *Company + Country *Country + func (e WebsiteEdges) CompanyOrErr() (*Company, error) + func (e WebsiteEdges) CountryOrErr() (*Country, error) + type WebsiteGroupBy struct + func (s *WebsiteGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *WebsiteGroupBy) BoolX(ctx context.Context) bool + func (s *WebsiteGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *WebsiteGroupBy) BoolsX(ctx context.Context) []bool + func (s *WebsiteGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *WebsiteGroupBy) Float64X(ctx context.Context) float64 + func (s *WebsiteGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *WebsiteGroupBy) Float64sX(ctx context.Context) []float64 + func (s *WebsiteGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *WebsiteGroupBy) IntX(ctx context.Context) int + func (s *WebsiteGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *WebsiteGroupBy) IntsX(ctx context.Context) []int + func (s *WebsiteGroupBy) ScanX(ctx context.Context, v any) + func (s *WebsiteGroupBy) String(ctx context.Context) (_ string, err error) + func (s *WebsiteGroupBy) StringX(ctx context.Context) string + func (s *WebsiteGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *WebsiteGroupBy) StringsX(ctx context.Context) []string + func (wgb *WebsiteGroupBy) Aggregate(fns ...AggregateFunc) *WebsiteGroupBy + func (wgb *WebsiteGroupBy) Scan(ctx context.Context, v any) error + type WebsiteMutation struct + func (m *WebsiteMutation) AddField(name string, value ent.Value) error + func (m *WebsiteMutation) AddedEdges() []string + func (m *WebsiteMutation) AddedField(name string) (ent.Value, bool) + func (m *WebsiteMutation) AddedFields() []string + func (m *WebsiteMutation) AddedIDs(name string) []ent.Value + func (m *WebsiteMutation) ClearCompany() + func (m *WebsiteMutation) ClearCountry() + func (m *WebsiteMutation) ClearEdge(name string) error + func (m *WebsiteMutation) ClearField(name string) error + func (m *WebsiteMutation) ClearedEdges() []string + func (m *WebsiteMutation) ClearedFields() []string + func (m *WebsiteMutation) CompanyCleared() bool + func (m *WebsiteMutation) CompanyID() (id uuid.UUID, exists bool) + func (m *WebsiteMutation) CompanyIDs() (ids []uuid.UUID) + func (m *WebsiteMutation) CountryCleared() bool + func (m *WebsiteMutation) CountryID() (id uuid.UUID, exists bool) + func (m *WebsiteMutation) CountryIDs() (ids []uuid.UUID) + func (m *WebsiteMutation) Description() (r string, exists bool) + func (m *WebsiteMutation) EdgeCleared(name string) bool + func (m *WebsiteMutation) Field(name string) (ent.Value, bool) + func (m *WebsiteMutation) FieldCleared(name string) bool + func (m *WebsiteMutation) Fields() []string + func (m *WebsiteMutation) ID() (id uuid.UUID, exists bool) + func (m *WebsiteMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *WebsiteMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *WebsiteMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *WebsiteMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *WebsiteMutation) OldURL(ctx context.Context) (v string, err error) + func (m *WebsiteMutation) Op() Op + func (m *WebsiteMutation) RemovedEdges() []string + func (m *WebsiteMutation) RemovedIDs(name string) []ent.Value + func (m *WebsiteMutation) ResetCompany() + func (m *WebsiteMutation) ResetCountry() + func (m *WebsiteMutation) ResetDescription() + func (m *WebsiteMutation) ResetEdge(name string) error + func (m *WebsiteMutation) ResetField(name string) error + func (m *WebsiteMutation) ResetTitle() + func (m *WebsiteMutation) ResetURL() + func (m *WebsiteMutation) SetCompanyID(id uuid.UUID) + func (m *WebsiteMutation) SetCountryID(id uuid.UUID) + func (m *WebsiteMutation) SetDescription(s string) + func (m *WebsiteMutation) SetField(name string, value ent.Value) error + func (m *WebsiteMutation) SetID(id uuid.UUID) + func (m *WebsiteMutation) SetOp(op Op) + func (m *WebsiteMutation) SetTitle(s string) + func (m *WebsiteMutation) SetURL(s string) + func (m *WebsiteMutation) Title() (r string, exists bool) + func (m *WebsiteMutation) Type() string + func (m *WebsiteMutation) URL() (r string, exists bool) + func (m *WebsiteMutation) Where(ps ...predicate.Website) + func (m *WebsiteMutation) WhereP(ps ...func(*sql.Selector)) + func (m WebsiteMutation) Client() *Client + func (m WebsiteMutation) Tx() (*Tx, error) + type WebsiteOrder struct + Direction OrderDirection + Field *WebsiteOrderField + type WebsiteOrderField struct + func (f *WebsiteOrderField) UnmarshalGQL(v interface{}) error + func (f WebsiteOrderField) MarshalGQL(w io.Writer) + func (f WebsiteOrderField) String() string + type WebsitePaginateOption func(*websitePager) error + func WithWebsiteFilter(filter func(*WebsiteQuery) (*WebsiteQuery, error)) WebsitePaginateOption + func WithWebsiteOrder(order *WebsiteOrder) WebsitePaginateOption + type WebsiteQuery struct + func (w *WebsiteQuery) CollectFields(ctx context.Context, satisfies ...string) (*WebsiteQuery, error) + func (w *WebsiteQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*WebsiteConnection, error) + func (wq *WebsiteQuery) Aggregate(fns ...AggregateFunc) *WebsiteSelect + func (wq *WebsiteQuery) All(ctx context.Context) ([]*Website, error) + func (wq *WebsiteQuery) AllX(ctx context.Context) []*Website + func (wq *WebsiteQuery) Clone() *WebsiteQuery + func (wq *WebsiteQuery) Count(ctx context.Context) (int, error) + func (wq *WebsiteQuery) CountX(ctx context.Context) int + func (wq *WebsiteQuery) Exist(ctx context.Context) (bool, error) + func (wq *WebsiteQuery) ExistX(ctx context.Context) bool + func (wq *WebsiteQuery) First(ctx context.Context) (*Website, error) + func (wq *WebsiteQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (wq *WebsiteQuery) FirstIDX(ctx context.Context) uuid.UUID + func (wq *WebsiteQuery) FirstX(ctx context.Context) *Website + func (wq *WebsiteQuery) GroupBy(field string, fields ...string) *WebsiteGroupBy + func (wq *WebsiteQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (wq *WebsiteQuery) IDsX(ctx context.Context) []uuid.UUID + func (wq *WebsiteQuery) Limit(limit int) *WebsiteQuery + func (wq *WebsiteQuery) Offset(offset int) *WebsiteQuery + func (wq *WebsiteQuery) Only(ctx context.Context) (*Website, error) + func (wq *WebsiteQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (wq *WebsiteQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (wq *WebsiteQuery) OnlyX(ctx context.Context) *Website + func (wq *WebsiteQuery) Order(o ...OrderFunc) *WebsiteQuery + func (wq *WebsiteQuery) QueryCompany() *CompanyQuery + func (wq *WebsiteQuery) QueryCountry() *CountryQuery + func (wq *WebsiteQuery) Select(fields ...string) *WebsiteSelect + func (wq *WebsiteQuery) Unique(unique bool) *WebsiteQuery + func (wq *WebsiteQuery) Where(ps ...predicate.Website) *WebsiteQuery + func (wq *WebsiteQuery) WithCompany(opts ...func(*CompanyQuery)) *WebsiteQuery + func (wq *WebsiteQuery) WithCountry(opts ...func(*CountryQuery)) *WebsiteQuery + type WebsiteSelect struct + func (s *WebsiteSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *WebsiteSelect) BoolX(ctx context.Context) bool + func (s *WebsiteSelect) Bools(ctx context.Context) ([]bool, error) + func (s *WebsiteSelect) BoolsX(ctx context.Context) []bool + func (s *WebsiteSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *WebsiteSelect) Float64X(ctx context.Context) float64 + func (s *WebsiteSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *WebsiteSelect) Float64sX(ctx context.Context) []float64 + func (s *WebsiteSelect) Int(ctx context.Context) (_ int, err error) + func (s *WebsiteSelect) IntX(ctx context.Context) int + func (s *WebsiteSelect) Ints(ctx context.Context) ([]int, error) + func (s *WebsiteSelect) IntsX(ctx context.Context) []int + func (s *WebsiteSelect) ScanX(ctx context.Context, v any) + func (s *WebsiteSelect) String(ctx context.Context) (_ string, err error) + func (s *WebsiteSelect) StringX(ctx context.Context) string + func (s *WebsiteSelect) Strings(ctx context.Context) ([]string, error) + func (s *WebsiteSelect) StringsX(ctx context.Context) []string + func (ws *WebsiteSelect) Aggregate(fns ...AggregateFunc) *WebsiteSelect + func (ws *WebsiteSelect) Scan(ctx context.Context, v any) error + type WebsiteUpdate struct + func (c *WebsiteUpdate) SetInput(i UpdateWebsiteInput) *WebsiteUpdate + func (wu *WebsiteUpdate) ClearCompany() *WebsiteUpdate + func (wu *WebsiteUpdate) ClearCountry() *WebsiteUpdate + func (wu *WebsiteUpdate) Exec(ctx context.Context) error + func (wu *WebsiteUpdate) ExecX(ctx context.Context) + func (wu *WebsiteUpdate) Mutation() *WebsiteMutation + func (wu *WebsiteUpdate) Save(ctx context.Context) (int, error) + func (wu *WebsiteUpdate) SaveX(ctx context.Context) int + func (wu *WebsiteUpdate) SetCompany(c *Company) *WebsiteUpdate + func (wu *WebsiteUpdate) SetCompanyID(id uuid.UUID) *WebsiteUpdate + func (wu *WebsiteUpdate) SetCountry(c *Country) *WebsiteUpdate + func (wu *WebsiteUpdate) SetCountryID(id uuid.UUID) *WebsiteUpdate + func (wu *WebsiteUpdate) SetDescription(s string) *WebsiteUpdate + func (wu *WebsiteUpdate) SetNillableCompanyID(id *uuid.UUID) *WebsiteUpdate + func (wu *WebsiteUpdate) SetNillableCountryID(id *uuid.UUID) *WebsiteUpdate + func (wu *WebsiteUpdate) SetTitle(s string) *WebsiteUpdate + func (wu *WebsiteUpdate) SetURL(s string) *WebsiteUpdate + func (wu *WebsiteUpdate) Where(ps ...predicate.Website) *WebsiteUpdate + type WebsiteUpdateOne struct + func (c *WebsiteUpdateOne) SetInput(i UpdateWebsiteInput) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) ClearCompany() *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) ClearCountry() *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) Exec(ctx context.Context) error + func (wuo *WebsiteUpdateOne) ExecX(ctx context.Context) + func (wuo *WebsiteUpdateOne) Mutation() *WebsiteMutation + func (wuo *WebsiteUpdateOne) Save(ctx context.Context) (*Website, error) + func (wuo *WebsiteUpdateOne) SaveX(ctx context.Context) *Website + func (wuo *WebsiteUpdateOne) Select(field string, fields ...string) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetCompany(c *Company) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetCompanyID(id uuid.UUID) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetCountry(c *Country) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetCountryID(id uuid.UUID) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetDescription(s string) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetNillableCompanyID(id *uuid.UUID) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetNillableCountryID(id *uuid.UUID) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetTitle(s string) *WebsiteUpdateOne + func (wuo *WebsiteUpdateOne) SetURL(s string) *WebsiteUpdateOne + type WebsiteWhereInput struct + And []*WebsiteWhereInput + Description *string + DescriptionContains *string + DescriptionContainsFold *string + DescriptionEqualFold *string + DescriptionGT *string + DescriptionGTE *string + DescriptionHasPrefix *string + DescriptionHasSuffix *string + DescriptionIn []string + DescriptionLT *string + DescriptionLTE *string + DescriptionNEQ *string + DescriptionNotIn []string + HasCompany *bool + HasCompanyWith []*CompanyWhereInput + HasCountry *bool + HasCountryWith []*CountryWhereInput + ID *uuid.UUID + IDGT *uuid.UUID + IDGTE *uuid.UUID + IDIn []uuid.UUID + IDLT *uuid.UUID + IDLTE *uuid.UUID + IDNEQ *uuid.UUID + IDNotIn []uuid.UUID + Not *WebsiteWhereInput + Or []*WebsiteWhereInput + Predicates []predicate.Website + Title *string + TitleContains *string + TitleContainsFold *string + TitleEqualFold *string + TitleGT *string + TitleGTE *string + TitleHasPrefix *string + TitleHasSuffix *string + TitleIn []string + TitleLT *string + TitleLTE *string + TitleNEQ *string + TitleNotIn []string + URL *string + URLContains *string + URLContainsFold *string + URLEqualFold *string + URLGT *string + URLGTE *string + URLHasPrefix *string + URLHasSuffix *string + URLIn []string + URLLT *string + URLLTE *string + URLNEQ *string + URLNotIn []string + func (i *WebsiteWhereInput) AddPredicates(predicates ...predicate.Website) + func (i *WebsiteWhereInput) Filter(q *WebsiteQuery) (*WebsiteQuery, error) + func (i *WebsiteWhereInput) P() (predicate.Website, error) + func (wwi *WebsiteWhereInput) ApplySearchQuery(q *string) *WebsiteWhereInput + type Websites []*Website