Versions in this module Expand all Collapse all v0 v0.1.1 Mar 23, 2023 v0.1.0 Mar 23, 2023 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeBarGroup + const TypeBarRecord + const TypeBarTimeRange + const TypeDataSource + const TypeDividend + const TypeEntity + const TypeExchange + const TypeFinancial + const TypeInterval + const TypeMarketHours + const TypeMarketInfo + const TypeSplit + const TypeTradeCondition + const TypeTradeCorrection + const TypeTradeRecord + const TypeTradeTimeRange + 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 + 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 BarGroup struct + Count int + Edges BarGroupEdges + First time.Time + ID int + Last time.Time + TimeRangeID int + func (bg *BarGroup) QueryRecords() *BarRecordQuery + func (bg *BarGroup) QueryTimeRange() *BarTimeRangeQuery + func (bg *BarGroup) String() string + func (bg *BarGroup) Unwrap() *BarGroup + func (bg *BarGroup) Update() *BarGroupUpdateOne + type BarGroupClient struct + func NewBarGroupClient(c config) *BarGroupClient + func (c *BarGroupClient) Create() *BarGroupCreate + func (c *BarGroupClient) CreateBulk(builders ...*BarGroupCreate) *BarGroupCreateBulk + func (c *BarGroupClient) Delete() *BarGroupDelete + func (c *BarGroupClient) DeleteOne(bg *BarGroup) *BarGroupDeleteOne + func (c *BarGroupClient) DeleteOneID(id int) *BarGroupDeleteOne + func (c *BarGroupClient) Get(ctx context.Context, id int) (*BarGroup, error) + func (c *BarGroupClient) GetX(ctx context.Context, id int) *BarGroup + func (c *BarGroupClient) Hooks() []Hook + func (c *BarGroupClient) Intercept(interceptors ...Interceptor) + func (c *BarGroupClient) Interceptors() []Interceptor + func (c *BarGroupClient) Query() *BarGroupQuery + func (c *BarGroupClient) QueryRecords(bg *BarGroup) *BarRecordQuery + func (c *BarGroupClient) QueryTimeRange(bg *BarGroup) *BarTimeRangeQuery + func (c *BarGroupClient) Update() *BarGroupUpdate + func (c *BarGroupClient) UpdateOne(bg *BarGroup) *BarGroupUpdateOne + func (c *BarGroupClient) UpdateOneID(id int) *BarGroupUpdateOne + func (c *BarGroupClient) Use(hooks ...Hook) + type BarGroupCreate struct + func (bgc *BarGroupCreate) AddRecordIDs(ids ...int) *BarGroupCreate + func (bgc *BarGroupCreate) AddRecords(b ...*BarRecord) *BarGroupCreate + func (bgc *BarGroupCreate) Exec(ctx context.Context) error + func (bgc *BarGroupCreate) ExecX(ctx context.Context) + func (bgc *BarGroupCreate) Mutation() *BarGroupMutation + func (bgc *BarGroupCreate) Save(ctx context.Context) (*BarGroup, error) + func (bgc *BarGroupCreate) SaveX(ctx context.Context) *BarGroup + func (bgc *BarGroupCreate) SetCount(i int) *BarGroupCreate + func (bgc *BarGroupCreate) SetFirst(t time.Time) *BarGroupCreate + func (bgc *BarGroupCreate) SetLast(t time.Time) *BarGroupCreate + func (bgc *BarGroupCreate) SetTimeRange(b *BarTimeRange) *BarGroupCreate + func (bgc *BarGroupCreate) SetTimeRangeID(i int) *BarGroupCreate + type BarGroupCreateBulk struct + func (bgcb *BarGroupCreateBulk) Exec(ctx context.Context) error + func (bgcb *BarGroupCreateBulk) ExecX(ctx context.Context) + func (bgcb *BarGroupCreateBulk) Save(ctx context.Context) ([]*BarGroup, error) + func (bgcb *BarGroupCreateBulk) SaveX(ctx context.Context) []*BarGroup + type BarGroupDelete struct + func (bgd *BarGroupDelete) Exec(ctx context.Context) (int, error) + func (bgd *BarGroupDelete) ExecX(ctx context.Context) int + func (bgd *BarGroupDelete) Where(ps ...predicate.BarGroup) *BarGroupDelete + type BarGroupDeleteOne struct + func (bgdo *BarGroupDeleteOne) Exec(ctx context.Context) error + func (bgdo *BarGroupDeleteOne) ExecX(ctx context.Context) + type BarGroupEdges struct + Records []*BarRecord + TimeRange *BarTimeRange + func (e BarGroupEdges) RecordsOrErr() ([]*BarRecord, error) + func (e BarGroupEdges) TimeRangeOrErr() (*BarTimeRange, error) + type BarGroupGroupBy struct + func (bggb *BarGroupGroupBy) Aggregate(fns ...AggregateFunc) *BarGroupGroupBy + func (bggb *BarGroupGroupBy) Scan(ctx context.Context, v any) error + func (s *BarGroupGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *BarGroupGroupBy) BoolX(ctx context.Context) bool + func (s *BarGroupGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *BarGroupGroupBy) BoolsX(ctx context.Context) []bool + func (s *BarGroupGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *BarGroupGroupBy) Float64X(ctx context.Context) float64 + func (s *BarGroupGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *BarGroupGroupBy) Float64sX(ctx context.Context) []float64 + func (s *BarGroupGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *BarGroupGroupBy) IntX(ctx context.Context) int + func (s *BarGroupGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *BarGroupGroupBy) IntsX(ctx context.Context) []int + func (s *BarGroupGroupBy) ScanX(ctx context.Context, v any) + func (s *BarGroupGroupBy) String(ctx context.Context) (_ string, err error) + func (s *BarGroupGroupBy) StringX(ctx context.Context) string + func (s *BarGroupGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *BarGroupGroupBy) StringsX(ctx context.Context) []string + type BarGroupMutation struct + func (m *BarGroupMutation) AddCount(i int) + func (m *BarGroupMutation) AddField(name string, value ent.Value) error + func (m *BarGroupMutation) AddRecordIDs(ids ...int) + func (m *BarGroupMutation) AddedCount() (r int, exists bool) + func (m *BarGroupMutation) AddedEdges() []string + func (m *BarGroupMutation) AddedField(name string) (ent.Value, bool) + func (m *BarGroupMutation) AddedFields() []string + func (m *BarGroupMutation) AddedIDs(name string) []ent.Value + func (m *BarGroupMutation) ClearEdge(name string) error + func (m *BarGroupMutation) ClearField(name string) error + func (m *BarGroupMutation) ClearRecords() + func (m *BarGroupMutation) ClearTimeRange() + func (m *BarGroupMutation) ClearedEdges() []string + func (m *BarGroupMutation) ClearedFields() []string + func (m *BarGroupMutation) Count() (r int, exists bool) + func (m *BarGroupMutation) EdgeCleared(name string) bool + func (m *BarGroupMutation) Field(name string) (ent.Value, bool) + func (m *BarGroupMutation) FieldCleared(name string) bool + func (m *BarGroupMutation) Fields() []string + func (m *BarGroupMutation) First() (r time.Time, exists bool) + func (m *BarGroupMutation) ID() (id int, exists bool) + func (m *BarGroupMutation) IDs(ctx context.Context) ([]int, error) + func (m *BarGroupMutation) Last() (r time.Time, exists bool) + func (m *BarGroupMutation) OldCount(ctx context.Context) (v int, err error) + func (m *BarGroupMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *BarGroupMutation) OldFirst(ctx context.Context) (v time.Time, err error) + func (m *BarGroupMutation) OldLast(ctx context.Context) (v time.Time, err error) + func (m *BarGroupMutation) OldTimeRangeID(ctx context.Context) (v int, err error) + func (m *BarGroupMutation) Op() Op + func (m *BarGroupMutation) RecordsCleared() bool + func (m *BarGroupMutation) RecordsIDs() (ids []int) + func (m *BarGroupMutation) RemoveRecordIDs(ids ...int) + func (m *BarGroupMutation) RemovedEdges() []string + func (m *BarGroupMutation) RemovedIDs(name string) []ent.Value + func (m *BarGroupMutation) RemovedRecordsIDs() (ids []int) + func (m *BarGroupMutation) ResetCount() + func (m *BarGroupMutation) ResetEdge(name string) error + func (m *BarGroupMutation) ResetField(name string) error + func (m *BarGroupMutation) ResetFirst() + func (m *BarGroupMutation) ResetLast() + func (m *BarGroupMutation) ResetRecords() + func (m *BarGroupMutation) ResetTimeRange() + func (m *BarGroupMutation) ResetTimeRangeID() + func (m *BarGroupMutation) SetCount(i int) + func (m *BarGroupMutation) SetField(name string, value ent.Value) error + func (m *BarGroupMutation) SetFirst(t time.Time) + func (m *BarGroupMutation) SetLast(t time.Time) + func (m *BarGroupMutation) SetOp(op Op) + func (m *BarGroupMutation) SetTimeRangeID(i int) + func (m *BarGroupMutation) TimeRangeCleared() bool + func (m *BarGroupMutation) TimeRangeID() (r int, exists bool) + func (m *BarGroupMutation) TimeRangeIDs() (ids []int) + func (m *BarGroupMutation) Type() string + func (m *BarGroupMutation) Where(ps ...predicate.BarGroup) + func (m *BarGroupMutation) WhereP(ps ...func(*sql.Selector)) + func (m BarGroupMutation) Client() *Client + func (m BarGroupMutation) Tx() (*Tx, error) + type BarGroupQuery struct + func (bgq *BarGroupQuery) Aggregate(fns ...AggregateFunc) *BarGroupSelect + func (bgq *BarGroupQuery) All(ctx context.Context) ([]*BarGroup, error) + func (bgq *BarGroupQuery) AllX(ctx context.Context) []*BarGroup + func (bgq *BarGroupQuery) Clone() *BarGroupQuery + func (bgq *BarGroupQuery) Count(ctx context.Context) (int, error) + func (bgq *BarGroupQuery) CountX(ctx context.Context) int + func (bgq *BarGroupQuery) Exist(ctx context.Context) (bool, error) + func (bgq *BarGroupQuery) ExistX(ctx context.Context) bool + func (bgq *BarGroupQuery) First(ctx context.Context) (*BarGroup, error) + func (bgq *BarGroupQuery) FirstID(ctx context.Context) (id int, err error) + func (bgq *BarGroupQuery) FirstIDX(ctx context.Context) int + func (bgq *BarGroupQuery) FirstX(ctx context.Context) *BarGroup + func (bgq *BarGroupQuery) GroupBy(field string, fields ...string) *BarGroupGroupBy + func (bgq *BarGroupQuery) IDs(ctx context.Context) ([]int, error) + func (bgq *BarGroupQuery) IDsX(ctx context.Context) []int + func (bgq *BarGroupQuery) Limit(limit int) *BarGroupQuery + func (bgq *BarGroupQuery) Offset(offset int) *BarGroupQuery + func (bgq *BarGroupQuery) Only(ctx context.Context) (*BarGroup, error) + func (bgq *BarGroupQuery) OnlyID(ctx context.Context) (id int, err error) + func (bgq *BarGroupQuery) OnlyIDX(ctx context.Context) int + func (bgq *BarGroupQuery) OnlyX(ctx context.Context) *BarGroup + func (bgq *BarGroupQuery) Order(o ...OrderFunc) *BarGroupQuery + func (bgq *BarGroupQuery) QueryRecords() *BarRecordQuery + func (bgq *BarGroupQuery) QueryTimeRange() *BarTimeRangeQuery + func (bgq *BarGroupQuery) Select(fields ...string) *BarGroupSelect + func (bgq *BarGroupQuery) Unique(unique bool) *BarGroupQuery + func (bgq *BarGroupQuery) Where(ps ...predicate.BarGroup) *BarGroupQuery + func (bgq *BarGroupQuery) WithRecords(opts ...func(*BarRecordQuery)) *BarGroupQuery + func (bgq *BarGroupQuery) WithTimeRange(opts ...func(*BarTimeRangeQuery)) *BarGroupQuery + type BarGroupSelect struct + func (bgs *BarGroupSelect) Aggregate(fns ...AggregateFunc) *BarGroupSelect + func (bgs *BarGroupSelect) Scan(ctx context.Context, v any) error + func (s *BarGroupSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *BarGroupSelect) BoolX(ctx context.Context) bool + func (s *BarGroupSelect) Bools(ctx context.Context) ([]bool, error) + func (s *BarGroupSelect) BoolsX(ctx context.Context) []bool + func (s *BarGroupSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *BarGroupSelect) Float64X(ctx context.Context) float64 + func (s *BarGroupSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *BarGroupSelect) Float64sX(ctx context.Context) []float64 + func (s *BarGroupSelect) Int(ctx context.Context) (_ int, err error) + func (s *BarGroupSelect) IntX(ctx context.Context) int + func (s *BarGroupSelect) Ints(ctx context.Context) ([]int, error) + func (s *BarGroupSelect) IntsX(ctx context.Context) []int + func (s *BarGroupSelect) ScanX(ctx context.Context, v any) + func (s *BarGroupSelect) String(ctx context.Context) (_ string, err error) + func (s *BarGroupSelect) StringX(ctx context.Context) string + func (s *BarGroupSelect) Strings(ctx context.Context) ([]string, error) + func (s *BarGroupSelect) StringsX(ctx context.Context) []string + type BarGroupUpdate struct + func (bgu *BarGroupUpdate) AddCount(i int) *BarGroupUpdate + func (bgu *BarGroupUpdate) AddRecordIDs(ids ...int) *BarGroupUpdate + func (bgu *BarGroupUpdate) AddRecords(b ...*BarRecord) *BarGroupUpdate + func (bgu *BarGroupUpdate) ClearRecords() *BarGroupUpdate + func (bgu *BarGroupUpdate) ClearTimeRange() *BarGroupUpdate + func (bgu *BarGroupUpdate) Exec(ctx context.Context) error + func (bgu *BarGroupUpdate) ExecX(ctx context.Context) + func (bgu *BarGroupUpdate) Mutation() *BarGroupMutation + func (bgu *BarGroupUpdate) RemoveRecordIDs(ids ...int) *BarGroupUpdate + func (bgu *BarGroupUpdate) RemoveRecords(b ...*BarRecord) *BarGroupUpdate + func (bgu *BarGroupUpdate) Save(ctx context.Context) (int, error) + func (bgu *BarGroupUpdate) SaveX(ctx context.Context) int + func (bgu *BarGroupUpdate) SetCount(i int) *BarGroupUpdate + func (bgu *BarGroupUpdate) SetFirst(t time.Time) *BarGroupUpdate + func (bgu *BarGroupUpdate) SetLast(t time.Time) *BarGroupUpdate + func (bgu *BarGroupUpdate) SetTimeRange(b *BarTimeRange) *BarGroupUpdate + func (bgu *BarGroupUpdate) SetTimeRangeID(i int) *BarGroupUpdate + func (bgu *BarGroupUpdate) Where(ps ...predicate.BarGroup) *BarGroupUpdate + type BarGroupUpdateOne struct + func (bguo *BarGroupUpdateOne) AddCount(i int) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) AddRecordIDs(ids ...int) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) AddRecords(b ...*BarRecord) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) ClearRecords() *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) ClearTimeRange() *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) Exec(ctx context.Context) error + func (bguo *BarGroupUpdateOne) ExecX(ctx context.Context) + func (bguo *BarGroupUpdateOne) Mutation() *BarGroupMutation + func (bguo *BarGroupUpdateOne) RemoveRecordIDs(ids ...int) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) RemoveRecords(b ...*BarRecord) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) Save(ctx context.Context) (*BarGroup, error) + func (bguo *BarGroupUpdateOne) SaveX(ctx context.Context) *BarGroup + func (bguo *BarGroupUpdateOne) Select(field string, fields ...string) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) SetCount(i int) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) SetFirst(t time.Time) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) SetLast(t time.Time) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) SetTimeRange(b *BarTimeRange) *BarGroupUpdateOne + func (bguo *BarGroupUpdateOne) SetTimeRangeID(i int) *BarGroupUpdateOne + type BarGroups []*BarGroup + type BarRecord struct + Close float64 + Edges BarRecordEdges + High float64 + ID int + Low float64 + Open float64 + Timestamp time.Time + Transactions int32 + Volume float64 + func (br *BarRecord) QueryGroup() *BarGroupQuery + func (br *BarRecord) String() string + func (br *BarRecord) Unwrap() *BarRecord + func (br *BarRecord) Update() *BarRecordUpdateOne + type BarRecordClient struct + func NewBarRecordClient(c config) *BarRecordClient + func (c *BarRecordClient) Create() *BarRecordCreate + func (c *BarRecordClient) CreateBulk(builders ...*BarRecordCreate) *BarRecordCreateBulk + func (c *BarRecordClient) Delete() *BarRecordDelete + func (c *BarRecordClient) DeleteOne(br *BarRecord) *BarRecordDeleteOne + func (c *BarRecordClient) DeleteOneID(id int) *BarRecordDeleteOne + func (c *BarRecordClient) Get(ctx context.Context, id int) (*BarRecord, error) + func (c *BarRecordClient) GetX(ctx context.Context, id int) *BarRecord + func (c *BarRecordClient) Hooks() []Hook + func (c *BarRecordClient) Intercept(interceptors ...Interceptor) + func (c *BarRecordClient) Interceptors() []Interceptor + func (c *BarRecordClient) Query() *BarRecordQuery + func (c *BarRecordClient) QueryGroup(br *BarRecord) *BarGroupQuery + func (c *BarRecordClient) Update() *BarRecordUpdate + func (c *BarRecordClient) UpdateOne(br *BarRecord) *BarRecordUpdateOne + func (c *BarRecordClient) UpdateOneID(id int) *BarRecordUpdateOne + func (c *BarRecordClient) Use(hooks ...Hook) + type BarRecordCreate struct + func (brc *BarRecordCreate) Exec(ctx context.Context) error + func (brc *BarRecordCreate) ExecX(ctx context.Context) + func (brc *BarRecordCreate) Mutation() *BarRecordMutation + func (brc *BarRecordCreate) Save(ctx context.Context) (*BarRecord, error) + func (brc *BarRecordCreate) SaveX(ctx context.Context) *BarRecord + func (brc *BarRecordCreate) SetClose(f float64) *BarRecordCreate + func (brc *BarRecordCreate) SetGroup(b *BarGroup) *BarRecordCreate + func (brc *BarRecordCreate) SetGroupID(id int) *BarRecordCreate + func (brc *BarRecordCreate) SetHigh(f float64) *BarRecordCreate + func (brc *BarRecordCreate) SetLow(f float64) *BarRecordCreate + func (brc *BarRecordCreate) SetNillableGroupID(id *int) *BarRecordCreate + func (brc *BarRecordCreate) SetOpen(f float64) *BarRecordCreate + func (brc *BarRecordCreate) SetTimestamp(t time.Time) *BarRecordCreate + func (brc *BarRecordCreate) SetTransactions(i int32) *BarRecordCreate + func (brc *BarRecordCreate) SetVolume(f float64) *BarRecordCreate + type BarRecordCreateBulk struct + func (brcb *BarRecordCreateBulk) Exec(ctx context.Context) error + func (brcb *BarRecordCreateBulk) ExecX(ctx context.Context) + func (brcb *BarRecordCreateBulk) Save(ctx context.Context) ([]*BarRecord, error) + func (brcb *BarRecordCreateBulk) SaveX(ctx context.Context) []*BarRecord + type BarRecordDelete struct + func (brd *BarRecordDelete) Exec(ctx context.Context) (int, error) + func (brd *BarRecordDelete) ExecX(ctx context.Context) int + func (brd *BarRecordDelete) Where(ps ...predicate.BarRecord) *BarRecordDelete + type BarRecordDeleteOne struct + func (brdo *BarRecordDeleteOne) Exec(ctx context.Context) error + func (brdo *BarRecordDeleteOne) ExecX(ctx context.Context) + type BarRecordEdges struct + Group *BarGroup + func (e BarRecordEdges) GroupOrErr() (*BarGroup, error) + type BarRecordGroupBy struct + func (brgb *BarRecordGroupBy) Aggregate(fns ...AggregateFunc) *BarRecordGroupBy + func (brgb *BarRecordGroupBy) Scan(ctx context.Context, v any) error + func (s *BarRecordGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *BarRecordGroupBy) BoolX(ctx context.Context) bool + func (s *BarRecordGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *BarRecordGroupBy) BoolsX(ctx context.Context) []bool + func (s *BarRecordGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *BarRecordGroupBy) Float64X(ctx context.Context) float64 + func (s *BarRecordGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *BarRecordGroupBy) Float64sX(ctx context.Context) []float64 + func (s *BarRecordGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *BarRecordGroupBy) IntX(ctx context.Context) int + func (s *BarRecordGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *BarRecordGroupBy) IntsX(ctx context.Context) []int + func (s *BarRecordGroupBy) ScanX(ctx context.Context, v any) + func (s *BarRecordGroupBy) String(ctx context.Context) (_ string, err error) + func (s *BarRecordGroupBy) StringX(ctx context.Context) string + func (s *BarRecordGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *BarRecordGroupBy) StringsX(ctx context.Context) []string + type BarRecordMutation struct + func (m *BarRecordMutation) AddClose(f float64) + func (m *BarRecordMutation) AddField(name string, value ent.Value) error + func (m *BarRecordMutation) AddHigh(f float64) + func (m *BarRecordMutation) AddLow(f float64) + func (m *BarRecordMutation) AddOpen(f float64) + func (m *BarRecordMutation) AddTransactions(i int32) + func (m *BarRecordMutation) AddVolume(f float64) + func (m *BarRecordMutation) AddedClose() (r float64, exists bool) + func (m *BarRecordMutation) AddedEdges() []string + func (m *BarRecordMutation) AddedField(name string) (ent.Value, bool) + func (m *BarRecordMutation) AddedFields() []string + func (m *BarRecordMutation) AddedHigh() (r float64, exists bool) + func (m *BarRecordMutation) AddedIDs(name string) []ent.Value + func (m *BarRecordMutation) AddedLow() (r float64, exists bool) + func (m *BarRecordMutation) AddedOpen() (r float64, exists bool) + func (m *BarRecordMutation) AddedTransactions() (r int32, exists bool) + func (m *BarRecordMutation) AddedVolume() (r float64, exists bool) + func (m *BarRecordMutation) ClearEdge(name string) error + func (m *BarRecordMutation) ClearField(name string) error + func (m *BarRecordMutation) ClearGroup() + func (m *BarRecordMutation) ClearedEdges() []string + func (m *BarRecordMutation) ClearedFields() []string + func (m *BarRecordMutation) Close() (r float64, exists bool) + func (m *BarRecordMutation) EdgeCleared(name string) bool + func (m *BarRecordMutation) Field(name string) (ent.Value, bool) + func (m *BarRecordMutation) FieldCleared(name string) bool + func (m *BarRecordMutation) Fields() []string + func (m *BarRecordMutation) GroupCleared() bool + func (m *BarRecordMutation) GroupID() (id int, exists bool) + func (m *BarRecordMutation) GroupIDs() (ids []int) + func (m *BarRecordMutation) High() (r float64, exists bool) + func (m *BarRecordMutation) ID() (id int, exists bool) + func (m *BarRecordMutation) IDs(ctx context.Context) ([]int, error) + func (m *BarRecordMutation) Low() (r float64, exists bool) + func (m *BarRecordMutation) OldClose(ctx context.Context) (v float64, err error) + func (m *BarRecordMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *BarRecordMutation) OldHigh(ctx context.Context) (v float64, err error) + func (m *BarRecordMutation) OldLow(ctx context.Context) (v float64, err error) + func (m *BarRecordMutation) OldOpen(ctx context.Context) (v float64, err error) + func (m *BarRecordMutation) OldTimestamp(ctx context.Context) (v time.Time, err error) + func (m *BarRecordMutation) OldTransactions(ctx context.Context) (v int32, err error) + func (m *BarRecordMutation) OldVolume(ctx context.Context) (v float64, err error) + func (m *BarRecordMutation) Op() Op + func (m *BarRecordMutation) Open() (r float64, exists bool) + func (m *BarRecordMutation) RemovedEdges() []string + func (m *BarRecordMutation) RemovedIDs(name string) []ent.Value + func (m *BarRecordMutation) ResetClose() + func (m *BarRecordMutation) ResetEdge(name string) error + func (m *BarRecordMutation) ResetField(name string) error + func (m *BarRecordMutation) ResetGroup() + func (m *BarRecordMutation) ResetHigh() + func (m *BarRecordMutation) ResetLow() + func (m *BarRecordMutation) ResetOpen() + func (m *BarRecordMutation) ResetTimestamp() + func (m *BarRecordMutation) ResetTransactions() + func (m *BarRecordMutation) ResetVolume() + func (m *BarRecordMutation) SetClose(f float64) + func (m *BarRecordMutation) SetField(name string, value ent.Value) error + func (m *BarRecordMutation) SetGroupID(id int) + func (m *BarRecordMutation) SetHigh(f float64) + func (m *BarRecordMutation) SetLow(f float64) + func (m *BarRecordMutation) SetOp(op Op) + func (m *BarRecordMutation) SetOpen(f float64) + func (m *BarRecordMutation) SetTimestamp(t time.Time) + func (m *BarRecordMutation) SetTransactions(i int32) + func (m *BarRecordMutation) SetVolume(f float64) + func (m *BarRecordMutation) Timestamp() (r time.Time, exists bool) + func (m *BarRecordMutation) Transactions() (r int32, exists bool) + func (m *BarRecordMutation) Type() string + func (m *BarRecordMutation) Volume() (r float64, exists bool) + func (m *BarRecordMutation) Where(ps ...predicate.BarRecord) + func (m *BarRecordMutation) WhereP(ps ...func(*sql.Selector)) + func (m BarRecordMutation) Client() *Client + func (m BarRecordMutation) Tx() (*Tx, error) + type BarRecordQuery struct + func (brq *BarRecordQuery) Aggregate(fns ...AggregateFunc) *BarRecordSelect + func (brq *BarRecordQuery) All(ctx context.Context) ([]*BarRecord, error) + func (brq *BarRecordQuery) AllX(ctx context.Context) []*BarRecord + func (brq *BarRecordQuery) Clone() *BarRecordQuery + func (brq *BarRecordQuery) Count(ctx context.Context) (int, error) + func (brq *BarRecordQuery) CountX(ctx context.Context) int + func (brq *BarRecordQuery) Exist(ctx context.Context) (bool, error) + func (brq *BarRecordQuery) ExistX(ctx context.Context) bool + func (brq *BarRecordQuery) First(ctx context.Context) (*BarRecord, error) + func (brq *BarRecordQuery) FirstID(ctx context.Context) (id int, err error) + func (brq *BarRecordQuery) FirstIDX(ctx context.Context) int + func (brq *BarRecordQuery) FirstX(ctx context.Context) *BarRecord + func (brq *BarRecordQuery) GroupBy(field string, fields ...string) *BarRecordGroupBy + func (brq *BarRecordQuery) IDs(ctx context.Context) ([]int, error) + func (brq *BarRecordQuery) IDsX(ctx context.Context) []int + func (brq *BarRecordQuery) Limit(limit int) *BarRecordQuery + func (brq *BarRecordQuery) Offset(offset int) *BarRecordQuery + func (brq *BarRecordQuery) Only(ctx context.Context) (*BarRecord, error) + func (brq *BarRecordQuery) OnlyID(ctx context.Context) (id int, err error) + func (brq *BarRecordQuery) OnlyIDX(ctx context.Context) int + func (brq *BarRecordQuery) OnlyX(ctx context.Context) *BarRecord + func (brq *BarRecordQuery) Order(o ...OrderFunc) *BarRecordQuery + func (brq *BarRecordQuery) QueryGroup() *BarGroupQuery + func (brq *BarRecordQuery) Select(fields ...string) *BarRecordSelect + func (brq *BarRecordQuery) Unique(unique bool) *BarRecordQuery + func (brq *BarRecordQuery) Where(ps ...predicate.BarRecord) *BarRecordQuery + func (brq *BarRecordQuery) WithGroup(opts ...func(*BarGroupQuery)) *BarRecordQuery + type BarRecordSelect struct + func (brs *BarRecordSelect) Aggregate(fns ...AggregateFunc) *BarRecordSelect + func (brs *BarRecordSelect) Scan(ctx context.Context, v any) error + func (s *BarRecordSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *BarRecordSelect) BoolX(ctx context.Context) bool + func (s *BarRecordSelect) Bools(ctx context.Context) ([]bool, error) + func (s *BarRecordSelect) BoolsX(ctx context.Context) []bool + func (s *BarRecordSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *BarRecordSelect) Float64X(ctx context.Context) float64 + func (s *BarRecordSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *BarRecordSelect) Float64sX(ctx context.Context) []float64 + func (s *BarRecordSelect) Int(ctx context.Context) (_ int, err error) + func (s *BarRecordSelect) IntX(ctx context.Context) int + func (s *BarRecordSelect) Ints(ctx context.Context) ([]int, error) + func (s *BarRecordSelect) IntsX(ctx context.Context) []int + func (s *BarRecordSelect) ScanX(ctx context.Context, v any) + func (s *BarRecordSelect) String(ctx context.Context) (_ string, err error) + func (s *BarRecordSelect) StringX(ctx context.Context) string + func (s *BarRecordSelect) Strings(ctx context.Context) ([]string, error) + func (s *BarRecordSelect) StringsX(ctx context.Context) []string + type BarRecordUpdate struct + func (bru *BarRecordUpdate) AddClose(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) AddHigh(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) AddLow(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) AddOpen(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) AddTransactions(i int32) *BarRecordUpdate + func (bru *BarRecordUpdate) AddVolume(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) ClearGroup() *BarRecordUpdate + func (bru *BarRecordUpdate) Exec(ctx context.Context) error + func (bru *BarRecordUpdate) ExecX(ctx context.Context) + func (bru *BarRecordUpdate) Mutation() *BarRecordMutation + func (bru *BarRecordUpdate) Save(ctx context.Context) (int, error) + func (bru *BarRecordUpdate) SaveX(ctx context.Context) int + func (bru *BarRecordUpdate) SetClose(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) SetGroup(b *BarGroup) *BarRecordUpdate + func (bru *BarRecordUpdate) SetGroupID(id int) *BarRecordUpdate + func (bru *BarRecordUpdate) SetHigh(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) SetLow(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) SetNillableGroupID(id *int) *BarRecordUpdate + func (bru *BarRecordUpdate) SetOpen(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) SetTimestamp(t time.Time) *BarRecordUpdate + func (bru *BarRecordUpdate) SetTransactions(i int32) *BarRecordUpdate + func (bru *BarRecordUpdate) SetVolume(f float64) *BarRecordUpdate + func (bru *BarRecordUpdate) Where(ps ...predicate.BarRecord) *BarRecordUpdate + type BarRecordUpdateOne struct + func (bruo *BarRecordUpdateOne) AddClose(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) AddHigh(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) AddLow(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) AddOpen(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) AddTransactions(i int32) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) AddVolume(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) ClearGroup() *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) Exec(ctx context.Context) error + func (bruo *BarRecordUpdateOne) ExecX(ctx context.Context) + func (bruo *BarRecordUpdateOne) Mutation() *BarRecordMutation + func (bruo *BarRecordUpdateOne) Save(ctx context.Context) (*BarRecord, error) + func (bruo *BarRecordUpdateOne) SaveX(ctx context.Context) *BarRecord + func (bruo *BarRecordUpdateOne) Select(field string, fields ...string) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetClose(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetGroup(b *BarGroup) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetGroupID(id int) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetHigh(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetLow(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetNillableGroupID(id *int) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetOpen(f float64) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetTimestamp(t time.Time) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetTransactions(i int32) *BarRecordUpdateOne + func (bruo *BarRecordUpdateOne) SetVolume(f float64) *BarRecordUpdateOne + type BarRecords []*BarRecord + type BarTimeRange struct + Count int + Edges BarTimeRangeEdges + End time.Time + ID int + IntervalID int + Start time.Time + Status bartimerange.Status + UpdateTime time.Time + func (btr *BarTimeRange) QueryGroups() *BarGroupQuery + func (btr *BarTimeRange) QueryInterval() *IntervalQuery + func (btr *BarTimeRange) String() string + func (btr *BarTimeRange) Unwrap() *BarTimeRange + func (btr *BarTimeRange) Update() *BarTimeRangeUpdateOne + type BarTimeRangeClient struct + func NewBarTimeRangeClient(c config) *BarTimeRangeClient + func (c *BarTimeRangeClient) Create() *BarTimeRangeCreate + func (c *BarTimeRangeClient) CreateBulk(builders ...*BarTimeRangeCreate) *BarTimeRangeCreateBulk + func (c *BarTimeRangeClient) Delete() *BarTimeRangeDelete + func (c *BarTimeRangeClient) DeleteOne(btr *BarTimeRange) *BarTimeRangeDeleteOne + func (c *BarTimeRangeClient) DeleteOneID(id int) *BarTimeRangeDeleteOne + func (c *BarTimeRangeClient) Get(ctx context.Context, id int) (*BarTimeRange, error) + func (c *BarTimeRangeClient) GetX(ctx context.Context, id int) *BarTimeRange + func (c *BarTimeRangeClient) Hooks() []Hook + func (c *BarTimeRangeClient) Intercept(interceptors ...Interceptor) + func (c *BarTimeRangeClient) Interceptors() []Interceptor + func (c *BarTimeRangeClient) Query() *BarTimeRangeQuery + func (c *BarTimeRangeClient) QueryGroups(btr *BarTimeRange) *BarGroupQuery + func (c *BarTimeRangeClient) QueryInterval(btr *BarTimeRange) *IntervalQuery + func (c *BarTimeRangeClient) Update() *BarTimeRangeUpdate + func (c *BarTimeRangeClient) UpdateOne(btr *BarTimeRange) *BarTimeRangeUpdateOne + func (c *BarTimeRangeClient) UpdateOneID(id int) *BarTimeRangeUpdateOne + func (c *BarTimeRangeClient) Use(hooks ...Hook) + type BarTimeRangeCreate struct + func (btrc *BarTimeRangeCreate) AddGroupIDs(ids ...int) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) AddGroups(b ...*BarGroup) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) Exec(ctx context.Context) error + func (btrc *BarTimeRangeCreate) ExecX(ctx context.Context) + func (btrc *BarTimeRangeCreate) Mutation() *BarTimeRangeMutation + func (btrc *BarTimeRangeCreate) Save(ctx context.Context) (*BarTimeRange, error) + func (btrc *BarTimeRangeCreate) SaveX(ctx context.Context) *BarTimeRange + func (btrc *BarTimeRangeCreate) SetCount(i int) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetEnd(t time.Time) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetInterval(i *Interval) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetIntervalID(i int) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetNillableCount(i *int) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetNillableStatus(b *bartimerange.Status) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetNillableUpdateTime(t *time.Time) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetStart(t time.Time) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetStatus(b bartimerange.Status) *BarTimeRangeCreate + func (btrc *BarTimeRangeCreate) SetUpdateTime(t time.Time) *BarTimeRangeCreate + type BarTimeRangeCreateBulk struct + func (btrcb *BarTimeRangeCreateBulk) Exec(ctx context.Context) error + func (btrcb *BarTimeRangeCreateBulk) ExecX(ctx context.Context) + func (btrcb *BarTimeRangeCreateBulk) Save(ctx context.Context) ([]*BarTimeRange, error) + func (btrcb *BarTimeRangeCreateBulk) SaveX(ctx context.Context) []*BarTimeRange + type BarTimeRangeDelete struct + func (btrd *BarTimeRangeDelete) Exec(ctx context.Context) (int, error) + func (btrd *BarTimeRangeDelete) ExecX(ctx context.Context) int + func (btrd *BarTimeRangeDelete) Where(ps ...predicate.BarTimeRange) *BarTimeRangeDelete + type BarTimeRangeDeleteOne struct + func (btrdo *BarTimeRangeDeleteOne) Exec(ctx context.Context) error + func (btrdo *BarTimeRangeDeleteOne) ExecX(ctx context.Context) + type BarTimeRangeEdges struct + Groups []*BarGroup + Interval *Interval + func (e BarTimeRangeEdges) GroupsOrErr() ([]*BarGroup, error) + func (e BarTimeRangeEdges) IntervalOrErr() (*Interval, error) + type BarTimeRangeGroupBy struct + func (btrgb *BarTimeRangeGroupBy) Aggregate(fns ...AggregateFunc) *BarTimeRangeGroupBy + func (btrgb *BarTimeRangeGroupBy) Scan(ctx context.Context, v any) error + func (s *BarTimeRangeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *BarTimeRangeGroupBy) BoolX(ctx context.Context) bool + func (s *BarTimeRangeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *BarTimeRangeGroupBy) BoolsX(ctx context.Context) []bool + func (s *BarTimeRangeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *BarTimeRangeGroupBy) Float64X(ctx context.Context) float64 + func (s *BarTimeRangeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *BarTimeRangeGroupBy) Float64sX(ctx context.Context) []float64 + func (s *BarTimeRangeGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *BarTimeRangeGroupBy) IntX(ctx context.Context) int + func (s *BarTimeRangeGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *BarTimeRangeGroupBy) IntsX(ctx context.Context) []int + func (s *BarTimeRangeGroupBy) ScanX(ctx context.Context, v any) + func (s *BarTimeRangeGroupBy) String(ctx context.Context) (_ string, err error) + func (s *BarTimeRangeGroupBy) StringX(ctx context.Context) string + func (s *BarTimeRangeGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *BarTimeRangeGroupBy) StringsX(ctx context.Context) []string + type BarTimeRangeMutation struct + func (m *BarTimeRangeMutation) AddCount(i int) + func (m *BarTimeRangeMutation) AddField(name string, value ent.Value) error + func (m *BarTimeRangeMutation) AddGroupIDs(ids ...int) + func (m *BarTimeRangeMutation) AddedCount() (r int, exists bool) + func (m *BarTimeRangeMutation) AddedEdges() []string + func (m *BarTimeRangeMutation) AddedField(name string) (ent.Value, bool) + func (m *BarTimeRangeMutation) AddedFields() []string + func (m *BarTimeRangeMutation) AddedIDs(name string) []ent.Value + func (m *BarTimeRangeMutation) ClearEdge(name string) error + func (m *BarTimeRangeMutation) ClearField(name string) error + func (m *BarTimeRangeMutation) ClearGroups() + func (m *BarTimeRangeMutation) ClearInterval() + func (m *BarTimeRangeMutation) ClearedEdges() []string + func (m *BarTimeRangeMutation) ClearedFields() []string + func (m *BarTimeRangeMutation) Count() (r int, exists bool) + func (m *BarTimeRangeMutation) EdgeCleared(name string) bool + func (m *BarTimeRangeMutation) End() (r time.Time, exists bool) + func (m *BarTimeRangeMutation) Field(name string) (ent.Value, bool) + func (m *BarTimeRangeMutation) FieldCleared(name string) bool + func (m *BarTimeRangeMutation) Fields() []string + func (m *BarTimeRangeMutation) GroupsCleared() bool + func (m *BarTimeRangeMutation) GroupsIDs() (ids []int) + func (m *BarTimeRangeMutation) ID() (id int, exists bool) + func (m *BarTimeRangeMutation) IDs(ctx context.Context) ([]int, error) + func (m *BarTimeRangeMutation) IntervalCleared() bool + func (m *BarTimeRangeMutation) IntervalID() (r int, exists bool) + func (m *BarTimeRangeMutation) IntervalIDs() (ids []int) + func (m *BarTimeRangeMutation) OldCount(ctx context.Context) (v int, err error) + func (m *BarTimeRangeMutation) OldEnd(ctx context.Context) (v time.Time, err error) + func (m *BarTimeRangeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *BarTimeRangeMutation) OldIntervalID(ctx context.Context) (v int, err error) + func (m *BarTimeRangeMutation) OldStart(ctx context.Context) (v time.Time, err error) + func (m *BarTimeRangeMutation) OldStatus(ctx context.Context) (v bartimerange.Status, err error) + func (m *BarTimeRangeMutation) OldUpdateTime(ctx context.Context) (v time.Time, err error) + func (m *BarTimeRangeMutation) Op() Op + func (m *BarTimeRangeMutation) RemoveGroupIDs(ids ...int) + func (m *BarTimeRangeMutation) RemovedEdges() []string + func (m *BarTimeRangeMutation) RemovedGroupsIDs() (ids []int) + func (m *BarTimeRangeMutation) RemovedIDs(name string) []ent.Value + func (m *BarTimeRangeMutation) ResetCount() + func (m *BarTimeRangeMutation) ResetEdge(name string) error + func (m *BarTimeRangeMutation) ResetEnd() + func (m *BarTimeRangeMutation) ResetField(name string) error + func (m *BarTimeRangeMutation) ResetGroups() + func (m *BarTimeRangeMutation) ResetInterval() + func (m *BarTimeRangeMutation) ResetIntervalID() + func (m *BarTimeRangeMutation) ResetStart() + func (m *BarTimeRangeMutation) ResetStatus() + func (m *BarTimeRangeMutation) ResetUpdateTime() + func (m *BarTimeRangeMutation) SetCount(i int) + func (m *BarTimeRangeMutation) SetEnd(t time.Time) + func (m *BarTimeRangeMutation) SetField(name string, value ent.Value) error + func (m *BarTimeRangeMutation) SetIntervalID(i int) + func (m *BarTimeRangeMutation) SetOp(op Op) + func (m *BarTimeRangeMutation) SetStart(t time.Time) + func (m *BarTimeRangeMutation) SetStatus(b bartimerange.Status) + func (m *BarTimeRangeMutation) SetUpdateTime(t time.Time) + func (m *BarTimeRangeMutation) Start() (r time.Time, exists bool) + func (m *BarTimeRangeMutation) Status() (r bartimerange.Status, exists bool) + func (m *BarTimeRangeMutation) Type() string + func (m *BarTimeRangeMutation) UpdateTime() (r time.Time, exists bool) + func (m *BarTimeRangeMutation) Where(ps ...predicate.BarTimeRange) + func (m *BarTimeRangeMutation) WhereP(ps ...func(*sql.Selector)) + func (m BarTimeRangeMutation) Client() *Client + func (m BarTimeRangeMutation) Tx() (*Tx, error) + type BarTimeRangeQuery struct + func (btrq *BarTimeRangeQuery) Aggregate(fns ...AggregateFunc) *BarTimeRangeSelect + func (btrq *BarTimeRangeQuery) All(ctx context.Context) ([]*BarTimeRange, error) + func (btrq *BarTimeRangeQuery) AllX(ctx context.Context) []*BarTimeRange + func (btrq *BarTimeRangeQuery) Clone() *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) Count(ctx context.Context) (int, error) + func (btrq *BarTimeRangeQuery) CountX(ctx context.Context) int + func (btrq *BarTimeRangeQuery) Exist(ctx context.Context) (bool, error) + func (btrq *BarTimeRangeQuery) ExistX(ctx context.Context) bool + func (btrq *BarTimeRangeQuery) First(ctx context.Context) (*BarTimeRange, error) + func (btrq *BarTimeRangeQuery) FirstID(ctx context.Context) (id int, err error) + func (btrq *BarTimeRangeQuery) FirstIDX(ctx context.Context) int + func (btrq *BarTimeRangeQuery) FirstX(ctx context.Context) *BarTimeRange + func (btrq *BarTimeRangeQuery) GroupBy(field string, fields ...string) *BarTimeRangeGroupBy + func (btrq *BarTimeRangeQuery) IDs(ctx context.Context) ([]int, error) + func (btrq *BarTimeRangeQuery) IDsX(ctx context.Context) []int + func (btrq *BarTimeRangeQuery) Limit(limit int) *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) Offset(offset int) *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) Only(ctx context.Context) (*BarTimeRange, error) + func (btrq *BarTimeRangeQuery) OnlyID(ctx context.Context) (id int, err error) + func (btrq *BarTimeRangeQuery) OnlyIDX(ctx context.Context) int + func (btrq *BarTimeRangeQuery) OnlyX(ctx context.Context) *BarTimeRange + func (btrq *BarTimeRangeQuery) Order(o ...OrderFunc) *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) QueryGroups() *BarGroupQuery + func (btrq *BarTimeRangeQuery) QueryInterval() *IntervalQuery + func (btrq *BarTimeRangeQuery) Select(fields ...string) *BarTimeRangeSelect + func (btrq *BarTimeRangeQuery) Unique(unique bool) *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) Where(ps ...predicate.BarTimeRange) *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) WithGroups(opts ...func(*BarGroupQuery)) *BarTimeRangeQuery + func (btrq *BarTimeRangeQuery) WithInterval(opts ...func(*IntervalQuery)) *BarTimeRangeQuery + type BarTimeRangeSelect struct + func (btrs *BarTimeRangeSelect) Aggregate(fns ...AggregateFunc) *BarTimeRangeSelect + func (btrs *BarTimeRangeSelect) Scan(ctx context.Context, v any) error + func (s *BarTimeRangeSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *BarTimeRangeSelect) BoolX(ctx context.Context) bool + func (s *BarTimeRangeSelect) Bools(ctx context.Context) ([]bool, error) + func (s *BarTimeRangeSelect) BoolsX(ctx context.Context) []bool + func (s *BarTimeRangeSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *BarTimeRangeSelect) Float64X(ctx context.Context) float64 + func (s *BarTimeRangeSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *BarTimeRangeSelect) Float64sX(ctx context.Context) []float64 + func (s *BarTimeRangeSelect) Int(ctx context.Context) (_ int, err error) + func (s *BarTimeRangeSelect) IntX(ctx context.Context) int + func (s *BarTimeRangeSelect) Ints(ctx context.Context) ([]int, error) + func (s *BarTimeRangeSelect) IntsX(ctx context.Context) []int + func (s *BarTimeRangeSelect) ScanX(ctx context.Context, v any) + func (s *BarTimeRangeSelect) String(ctx context.Context) (_ string, err error) + func (s *BarTimeRangeSelect) StringX(ctx context.Context) string + func (s *BarTimeRangeSelect) Strings(ctx context.Context) ([]string, error) + func (s *BarTimeRangeSelect) StringsX(ctx context.Context) []string + type BarTimeRangeUpdate struct + func (btru *BarTimeRangeUpdate) AddCount(i int) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) AddGroupIDs(ids ...int) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) AddGroups(b ...*BarGroup) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) ClearGroups() *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) ClearInterval() *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) Exec(ctx context.Context) error + func (btru *BarTimeRangeUpdate) ExecX(ctx context.Context) + func (btru *BarTimeRangeUpdate) Mutation() *BarTimeRangeMutation + func (btru *BarTimeRangeUpdate) RemoveGroupIDs(ids ...int) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) RemoveGroups(b ...*BarGroup) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) Save(ctx context.Context) (int, error) + func (btru *BarTimeRangeUpdate) SaveX(ctx context.Context) int + func (btru *BarTimeRangeUpdate) SetCount(i int) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetEnd(t time.Time) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetInterval(i *Interval) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetIntervalID(i int) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetNillableCount(i *int) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetNillableStatus(b *bartimerange.Status) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetStart(t time.Time) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetStatus(b bartimerange.Status) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) SetUpdateTime(t time.Time) *BarTimeRangeUpdate + func (btru *BarTimeRangeUpdate) Where(ps ...predicate.BarTimeRange) *BarTimeRangeUpdate + type BarTimeRangeUpdateOne struct + func (btruo *BarTimeRangeUpdateOne) AddCount(i int) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) AddGroupIDs(ids ...int) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) AddGroups(b ...*BarGroup) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) ClearGroups() *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) ClearInterval() *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) Exec(ctx context.Context) error + func (btruo *BarTimeRangeUpdateOne) ExecX(ctx context.Context) + func (btruo *BarTimeRangeUpdateOne) Mutation() *BarTimeRangeMutation + func (btruo *BarTimeRangeUpdateOne) RemoveGroupIDs(ids ...int) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) RemoveGroups(b ...*BarGroup) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) Save(ctx context.Context) (*BarTimeRange, error) + func (btruo *BarTimeRangeUpdateOne) SaveX(ctx context.Context) *BarTimeRange + func (btruo *BarTimeRangeUpdateOne) Select(field string, fields ...string) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetCount(i int) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetEnd(t time.Time) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetInterval(i *Interval) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetIntervalID(i int) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetNillableCount(i *int) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetNillableStatus(b *bartimerange.Status) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetStart(t time.Time) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetStatus(b bartimerange.Status) *BarTimeRangeUpdateOne + func (btruo *BarTimeRangeUpdateOne) SetUpdateTime(t time.Time) *BarTimeRangeUpdateOne + type BarTimeRanges []*BarTimeRange + type Client struct + BarGroup *BarGroupClient + BarRecord *BarRecordClient + BarTimeRange *BarTimeRangeClient + DataSource *DataSourceClient + Dividend *DividendClient + Entity *EntityClient + Exchange *ExchangeClient + Financial *FinancialClient + Interval *IntervalClient + MarketHours *MarketHoursClient + MarketInfo *MarketInfoClient + Schema *migrate.Schema + Split *SplitClient + TradeCondition *TradeConditionClient + TradeCorrection *TradeCorrectionClient + TradeRecord *TradeRecordClient + TradeTimeRange *TradeTimeRangeClient + 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) 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 ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type DataSource struct + Address string + Edges DataSourceEdges + ID int + Name string + func (ds *DataSource) QueryIntervals() *IntervalQuery + func (ds *DataSource) String() string + func (ds *DataSource) Unwrap() *DataSource + func (ds *DataSource) Update() *DataSourceUpdateOne + type DataSourceClient struct + func NewDataSourceClient(c config) *DataSourceClient + func (c *DataSourceClient) Create() *DataSourceCreate + func (c *DataSourceClient) CreateBulk(builders ...*DataSourceCreate) *DataSourceCreateBulk + func (c *DataSourceClient) Delete() *DataSourceDelete + func (c *DataSourceClient) DeleteOne(ds *DataSource) *DataSourceDeleteOne + func (c *DataSourceClient) DeleteOneID(id int) *DataSourceDeleteOne + func (c *DataSourceClient) Get(ctx context.Context, id int) (*DataSource, error) + func (c *DataSourceClient) GetX(ctx context.Context, id int) *DataSource + func (c *DataSourceClient) Hooks() []Hook + func (c *DataSourceClient) Intercept(interceptors ...Interceptor) + func (c *DataSourceClient) Interceptors() []Interceptor + func (c *DataSourceClient) Query() *DataSourceQuery + func (c *DataSourceClient) QueryIntervals(ds *DataSource) *IntervalQuery + func (c *DataSourceClient) Update() *DataSourceUpdate + func (c *DataSourceClient) UpdateOne(ds *DataSource) *DataSourceUpdateOne + func (c *DataSourceClient) UpdateOneID(id int) *DataSourceUpdateOne + func (c *DataSourceClient) Use(hooks ...Hook) + type DataSourceCreate struct + func (dsc *DataSourceCreate) AddIntervalIDs(ids ...int) *DataSourceCreate + func (dsc *DataSourceCreate) AddIntervals(i ...*Interval) *DataSourceCreate + func (dsc *DataSourceCreate) Exec(ctx context.Context) error + func (dsc *DataSourceCreate) ExecX(ctx context.Context) + func (dsc *DataSourceCreate) Mutation() *DataSourceMutation + func (dsc *DataSourceCreate) Save(ctx context.Context) (*DataSource, error) + func (dsc *DataSourceCreate) SaveX(ctx context.Context) *DataSource + func (dsc *DataSourceCreate) SetAddress(s string) *DataSourceCreate + func (dsc *DataSourceCreate) SetName(s string) *DataSourceCreate + func (dsc *DataSourceCreate) SetNillableAddress(s *string) *DataSourceCreate + type DataSourceCreateBulk struct + func (dscb *DataSourceCreateBulk) Exec(ctx context.Context) error + func (dscb *DataSourceCreateBulk) ExecX(ctx context.Context) + func (dscb *DataSourceCreateBulk) Save(ctx context.Context) ([]*DataSource, error) + func (dscb *DataSourceCreateBulk) SaveX(ctx context.Context) []*DataSource + type DataSourceDelete struct + func (dsd *DataSourceDelete) Exec(ctx context.Context) (int, error) + func (dsd *DataSourceDelete) ExecX(ctx context.Context) int + func (dsd *DataSourceDelete) Where(ps ...predicate.DataSource) *DataSourceDelete + type DataSourceDeleteOne struct + func (dsdo *DataSourceDeleteOne) Exec(ctx context.Context) error + func (dsdo *DataSourceDeleteOne) ExecX(ctx context.Context) + type DataSourceEdges struct + Intervals []*Interval + func (e DataSourceEdges) IntervalsOrErr() ([]*Interval, error) + type DataSourceGroupBy struct + func (dsgb *DataSourceGroupBy) Aggregate(fns ...AggregateFunc) *DataSourceGroupBy + func (dsgb *DataSourceGroupBy) Scan(ctx context.Context, v any) error + func (s *DataSourceGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *DataSourceGroupBy) BoolX(ctx context.Context) bool + func (s *DataSourceGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *DataSourceGroupBy) BoolsX(ctx context.Context) []bool + func (s *DataSourceGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *DataSourceGroupBy) Float64X(ctx context.Context) float64 + func (s *DataSourceGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *DataSourceGroupBy) Float64sX(ctx context.Context) []float64 + func (s *DataSourceGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *DataSourceGroupBy) IntX(ctx context.Context) int + func (s *DataSourceGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *DataSourceGroupBy) IntsX(ctx context.Context) []int + func (s *DataSourceGroupBy) ScanX(ctx context.Context, v any) + func (s *DataSourceGroupBy) String(ctx context.Context) (_ string, err error) + func (s *DataSourceGroupBy) StringX(ctx context.Context) string + func (s *DataSourceGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *DataSourceGroupBy) StringsX(ctx context.Context) []string + type DataSourceMutation struct + func (m *DataSourceMutation) AddField(name string, value ent.Value) error + func (m *DataSourceMutation) AddIntervalIDs(ids ...int) + func (m *DataSourceMutation) AddedEdges() []string + func (m *DataSourceMutation) AddedField(name string) (ent.Value, bool) + func (m *DataSourceMutation) AddedFields() []string + func (m *DataSourceMutation) AddedIDs(name string) []ent.Value + func (m *DataSourceMutation) Address() (r string, exists bool) + func (m *DataSourceMutation) ClearEdge(name string) error + func (m *DataSourceMutation) ClearField(name string) error + func (m *DataSourceMutation) ClearIntervals() + func (m *DataSourceMutation) ClearedEdges() []string + func (m *DataSourceMutation) ClearedFields() []string + func (m *DataSourceMutation) EdgeCleared(name string) bool + func (m *DataSourceMutation) Field(name string) (ent.Value, bool) + func (m *DataSourceMutation) FieldCleared(name string) bool + func (m *DataSourceMutation) Fields() []string + func (m *DataSourceMutation) ID() (id int, exists bool) + func (m *DataSourceMutation) IDs(ctx context.Context) ([]int, error) + func (m *DataSourceMutation) IntervalsCleared() bool + func (m *DataSourceMutation) IntervalsIDs() (ids []int) + func (m *DataSourceMutation) Name() (r string, exists bool) + func (m *DataSourceMutation) OldAddress(ctx context.Context) (v string, err error) + func (m *DataSourceMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *DataSourceMutation) OldName(ctx context.Context) (v string, err error) + func (m *DataSourceMutation) Op() Op + func (m *DataSourceMutation) RemoveIntervalIDs(ids ...int) + func (m *DataSourceMutation) RemovedEdges() []string + func (m *DataSourceMutation) RemovedIDs(name string) []ent.Value + func (m *DataSourceMutation) RemovedIntervalsIDs() (ids []int) + func (m *DataSourceMutation) ResetAddress() + func (m *DataSourceMutation) ResetEdge(name string) error + func (m *DataSourceMutation) ResetField(name string) error + func (m *DataSourceMutation) ResetIntervals() + func (m *DataSourceMutation) ResetName() + func (m *DataSourceMutation) SetAddress(s string) + func (m *DataSourceMutation) SetField(name string, value ent.Value) error + func (m *DataSourceMutation) SetName(s string) + func (m *DataSourceMutation) SetOp(op Op) + func (m *DataSourceMutation) Type() string + func (m *DataSourceMutation) Where(ps ...predicate.DataSource) + func (m *DataSourceMutation) WhereP(ps ...func(*sql.Selector)) + func (m DataSourceMutation) Client() *Client + func (m DataSourceMutation) Tx() (*Tx, error) + type DataSourceQuery struct + func (dsq *DataSourceQuery) Aggregate(fns ...AggregateFunc) *DataSourceSelect + func (dsq *DataSourceQuery) All(ctx context.Context) ([]*DataSource, error) + func (dsq *DataSourceQuery) AllX(ctx context.Context) []*DataSource + func (dsq *DataSourceQuery) Clone() *DataSourceQuery + func (dsq *DataSourceQuery) Count(ctx context.Context) (int, error) + func (dsq *DataSourceQuery) CountX(ctx context.Context) int + func (dsq *DataSourceQuery) Exist(ctx context.Context) (bool, error) + func (dsq *DataSourceQuery) ExistX(ctx context.Context) bool + func (dsq *DataSourceQuery) First(ctx context.Context) (*DataSource, error) + func (dsq *DataSourceQuery) FirstID(ctx context.Context) (id int, err error) + func (dsq *DataSourceQuery) FirstIDX(ctx context.Context) int + func (dsq *DataSourceQuery) FirstX(ctx context.Context) *DataSource + func (dsq *DataSourceQuery) GroupBy(field string, fields ...string) *DataSourceGroupBy + func (dsq *DataSourceQuery) IDs(ctx context.Context) ([]int, error) + func (dsq *DataSourceQuery) IDsX(ctx context.Context) []int + func (dsq *DataSourceQuery) Limit(limit int) *DataSourceQuery + func (dsq *DataSourceQuery) Offset(offset int) *DataSourceQuery + func (dsq *DataSourceQuery) Only(ctx context.Context) (*DataSource, error) + func (dsq *DataSourceQuery) OnlyID(ctx context.Context) (id int, err error) + func (dsq *DataSourceQuery) OnlyIDX(ctx context.Context) int + func (dsq *DataSourceQuery) OnlyX(ctx context.Context) *DataSource + func (dsq *DataSourceQuery) Order(o ...OrderFunc) *DataSourceQuery + func (dsq *DataSourceQuery) QueryIntervals() *IntervalQuery + func (dsq *DataSourceQuery) Select(fields ...string) *DataSourceSelect + func (dsq *DataSourceQuery) Unique(unique bool) *DataSourceQuery + func (dsq *DataSourceQuery) Where(ps ...predicate.DataSource) *DataSourceQuery + func (dsq *DataSourceQuery) WithIntervals(opts ...func(*IntervalQuery)) *DataSourceQuery + type DataSourceSelect struct + func (dss *DataSourceSelect) Aggregate(fns ...AggregateFunc) *DataSourceSelect + func (dss *DataSourceSelect) Scan(ctx context.Context, v any) error + func (s *DataSourceSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *DataSourceSelect) BoolX(ctx context.Context) bool + func (s *DataSourceSelect) Bools(ctx context.Context) ([]bool, error) + func (s *DataSourceSelect) BoolsX(ctx context.Context) []bool + func (s *DataSourceSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *DataSourceSelect) Float64X(ctx context.Context) float64 + func (s *DataSourceSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *DataSourceSelect) Float64sX(ctx context.Context) []float64 + func (s *DataSourceSelect) Int(ctx context.Context) (_ int, err error) + func (s *DataSourceSelect) IntX(ctx context.Context) int + func (s *DataSourceSelect) Ints(ctx context.Context) ([]int, error) + func (s *DataSourceSelect) IntsX(ctx context.Context) []int + func (s *DataSourceSelect) ScanX(ctx context.Context, v any) + func (s *DataSourceSelect) String(ctx context.Context) (_ string, err error) + func (s *DataSourceSelect) StringX(ctx context.Context) string + func (s *DataSourceSelect) Strings(ctx context.Context) ([]string, error) + func (s *DataSourceSelect) StringsX(ctx context.Context) []string + type DataSourceUpdate struct + func (dsu *DataSourceUpdate) AddIntervalIDs(ids ...int) *DataSourceUpdate + func (dsu *DataSourceUpdate) AddIntervals(i ...*Interval) *DataSourceUpdate + func (dsu *DataSourceUpdate) ClearIntervals() *DataSourceUpdate + func (dsu *DataSourceUpdate) Exec(ctx context.Context) error + func (dsu *DataSourceUpdate) ExecX(ctx context.Context) + func (dsu *DataSourceUpdate) Mutation() *DataSourceMutation + func (dsu *DataSourceUpdate) RemoveIntervalIDs(ids ...int) *DataSourceUpdate + func (dsu *DataSourceUpdate) RemoveIntervals(i ...*Interval) *DataSourceUpdate + func (dsu *DataSourceUpdate) Save(ctx context.Context) (int, error) + func (dsu *DataSourceUpdate) SaveX(ctx context.Context) int + func (dsu *DataSourceUpdate) SetAddress(s string) *DataSourceUpdate + func (dsu *DataSourceUpdate) SetName(s string) *DataSourceUpdate + func (dsu *DataSourceUpdate) SetNillableAddress(s *string) *DataSourceUpdate + func (dsu *DataSourceUpdate) Where(ps ...predicate.DataSource) *DataSourceUpdate + type DataSourceUpdateOne struct + func (dsuo *DataSourceUpdateOne) AddIntervalIDs(ids ...int) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) AddIntervals(i ...*Interval) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) ClearIntervals() *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) Exec(ctx context.Context) error + func (dsuo *DataSourceUpdateOne) ExecX(ctx context.Context) + func (dsuo *DataSourceUpdateOne) Mutation() *DataSourceMutation + func (dsuo *DataSourceUpdateOne) RemoveIntervalIDs(ids ...int) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) RemoveIntervals(i ...*Interval) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) Save(ctx context.Context) (*DataSource, error) + func (dsuo *DataSourceUpdateOne) SaveX(ctx context.Context) *DataSource + func (dsuo *DataSourceUpdateOne) Select(field string, fields ...string) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) SetAddress(s string) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) SetName(s string) *DataSourceUpdateOne + func (dsuo *DataSourceUpdateOne) SetNillableAddress(s *string) *DataSourceUpdateOne + type DataSources []*DataSource + type Dividend struct + CashAmount float64 + DeclarationDate time.Time + DividendType dividend.DividendType + Edges DividendEdges + ExDividendDate time.Time + Frequency int + ID int + PayDate time.Time + RecordDate time.Time + func (d *Dividend) QueryStock() *EntityQuery + func (d *Dividend) String() string + func (d *Dividend) Unwrap() *Dividend + func (d *Dividend) Update() *DividendUpdateOne + type DividendClient struct + func NewDividendClient(c config) *DividendClient + func (c *DividendClient) Create() *DividendCreate + func (c *DividendClient) CreateBulk(builders ...*DividendCreate) *DividendCreateBulk + func (c *DividendClient) Delete() *DividendDelete + func (c *DividendClient) DeleteOne(d *Dividend) *DividendDeleteOne + func (c *DividendClient) DeleteOneID(id int) *DividendDeleteOne + func (c *DividendClient) Get(ctx context.Context, id int) (*Dividend, error) + func (c *DividendClient) GetX(ctx context.Context, id int) *Dividend + func (c *DividendClient) Hooks() []Hook + func (c *DividendClient) Intercept(interceptors ...Interceptor) + func (c *DividendClient) Interceptors() []Interceptor + func (c *DividendClient) Query() *DividendQuery + func (c *DividendClient) QueryStock(d *Dividend) *EntityQuery + func (c *DividendClient) Update() *DividendUpdate + func (c *DividendClient) UpdateOne(d *Dividend) *DividendUpdateOne + func (c *DividendClient) UpdateOneID(id int) *DividendUpdateOne + func (c *DividendClient) Use(hooks ...Hook) + type DividendCreate struct + func (dc *DividendCreate) AddStock(e ...*Entity) *DividendCreate + func (dc *DividendCreate) AddStockIDs(ids ...int) *DividendCreate + func (dc *DividendCreate) Exec(ctx context.Context) error + func (dc *DividendCreate) ExecX(ctx context.Context) + func (dc *DividendCreate) Mutation() *DividendMutation + func (dc *DividendCreate) Save(ctx context.Context) (*Dividend, error) + func (dc *DividendCreate) SaveX(ctx context.Context) *Dividend + func (dc *DividendCreate) SetCashAmount(f float64) *DividendCreate + func (dc *DividendCreate) SetDeclarationDate(t time.Time) *DividendCreate + func (dc *DividendCreate) SetDividendType(dt dividend.DividendType) *DividendCreate + func (dc *DividendCreate) SetExDividendDate(t time.Time) *DividendCreate + func (dc *DividendCreate) SetFrequency(i int) *DividendCreate + func (dc *DividendCreate) SetPayDate(t time.Time) *DividendCreate + func (dc *DividendCreate) SetRecordDate(t time.Time) *DividendCreate + type DividendCreateBulk struct + func (dcb *DividendCreateBulk) Exec(ctx context.Context) error + func (dcb *DividendCreateBulk) ExecX(ctx context.Context) + func (dcb *DividendCreateBulk) Save(ctx context.Context) ([]*Dividend, error) + func (dcb *DividendCreateBulk) SaveX(ctx context.Context) []*Dividend + type DividendDelete struct + func (dd *DividendDelete) Exec(ctx context.Context) (int, error) + func (dd *DividendDelete) ExecX(ctx context.Context) int + func (dd *DividendDelete) Where(ps ...predicate.Dividend) *DividendDelete + type DividendDeleteOne struct + func (ddo *DividendDeleteOne) Exec(ctx context.Context) error + func (ddo *DividendDeleteOne) ExecX(ctx context.Context) + type DividendEdges struct + Stock []*Entity + func (e DividendEdges) StockOrErr() ([]*Entity, error) + type DividendGroupBy struct + func (dgb *DividendGroupBy) Aggregate(fns ...AggregateFunc) *DividendGroupBy + func (dgb *DividendGroupBy) Scan(ctx context.Context, v any) error + func (s *DividendGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *DividendGroupBy) BoolX(ctx context.Context) bool + func (s *DividendGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *DividendGroupBy) BoolsX(ctx context.Context) []bool + func (s *DividendGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *DividendGroupBy) Float64X(ctx context.Context) float64 + func (s *DividendGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *DividendGroupBy) Float64sX(ctx context.Context) []float64 + func (s *DividendGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *DividendGroupBy) IntX(ctx context.Context) int + func (s *DividendGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *DividendGroupBy) IntsX(ctx context.Context) []int + func (s *DividendGroupBy) ScanX(ctx context.Context, v any) + func (s *DividendGroupBy) String(ctx context.Context) (_ string, err error) + func (s *DividendGroupBy) StringX(ctx context.Context) string + func (s *DividendGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *DividendGroupBy) StringsX(ctx context.Context) []string + type DividendMutation struct + func (m *DividendMutation) AddCashAmount(f float64) + func (m *DividendMutation) AddField(name string, value ent.Value) error + func (m *DividendMutation) AddFrequency(i int) + func (m *DividendMutation) AddStockIDs(ids ...int) + func (m *DividendMutation) AddedCashAmount() (r float64, exists bool) + func (m *DividendMutation) AddedEdges() []string + func (m *DividendMutation) AddedField(name string) (ent.Value, bool) + func (m *DividendMutation) AddedFields() []string + func (m *DividendMutation) AddedFrequency() (r int, exists bool) + func (m *DividendMutation) AddedIDs(name string) []ent.Value + func (m *DividendMutation) CashAmount() (r float64, exists bool) + func (m *DividendMutation) ClearEdge(name string) error + func (m *DividendMutation) ClearField(name string) error + func (m *DividendMutation) ClearStock() + func (m *DividendMutation) ClearedEdges() []string + func (m *DividendMutation) ClearedFields() []string + func (m *DividendMutation) DeclarationDate() (r time.Time, exists bool) + func (m *DividendMutation) DividendType() (r dividend.DividendType, exists bool) + func (m *DividendMutation) EdgeCleared(name string) bool + func (m *DividendMutation) ExDividendDate() (r time.Time, exists bool) + func (m *DividendMutation) Field(name string) (ent.Value, bool) + func (m *DividendMutation) FieldCleared(name string) bool + func (m *DividendMutation) Fields() []string + func (m *DividendMutation) Frequency() (r int, exists bool) + func (m *DividendMutation) ID() (id int, exists bool) + func (m *DividendMutation) IDs(ctx context.Context) ([]int, error) + func (m *DividendMutation) OldCashAmount(ctx context.Context) (v float64, err error) + func (m *DividendMutation) OldDeclarationDate(ctx context.Context) (v time.Time, err error) + func (m *DividendMutation) OldDividendType(ctx context.Context) (v dividend.DividendType, err error) + func (m *DividendMutation) OldExDividendDate(ctx context.Context) (v time.Time, err error) + func (m *DividendMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *DividendMutation) OldFrequency(ctx context.Context) (v int, err error) + func (m *DividendMutation) OldPayDate(ctx context.Context) (v time.Time, err error) + func (m *DividendMutation) OldRecordDate(ctx context.Context) (v time.Time, err error) + func (m *DividendMutation) Op() Op + func (m *DividendMutation) PayDate() (r time.Time, exists bool) + func (m *DividendMutation) RecordDate() (r time.Time, exists bool) + func (m *DividendMutation) RemoveStockIDs(ids ...int) + func (m *DividendMutation) RemovedEdges() []string + func (m *DividendMutation) RemovedIDs(name string) []ent.Value + func (m *DividendMutation) RemovedStockIDs() (ids []int) + func (m *DividendMutation) ResetCashAmount() + func (m *DividendMutation) ResetDeclarationDate() + func (m *DividendMutation) ResetDividendType() + func (m *DividendMutation) ResetEdge(name string) error + func (m *DividendMutation) ResetExDividendDate() + func (m *DividendMutation) ResetField(name string) error + func (m *DividendMutation) ResetFrequency() + func (m *DividendMutation) ResetPayDate() + func (m *DividendMutation) ResetRecordDate() + func (m *DividendMutation) ResetStock() + func (m *DividendMutation) SetCashAmount(f float64) + func (m *DividendMutation) SetDeclarationDate(t time.Time) + func (m *DividendMutation) SetDividendType(dt dividend.DividendType) + func (m *DividendMutation) SetExDividendDate(t time.Time) + func (m *DividendMutation) SetField(name string, value ent.Value) error + func (m *DividendMutation) SetFrequency(i int) + func (m *DividendMutation) SetOp(op Op) + func (m *DividendMutation) SetPayDate(t time.Time) + func (m *DividendMutation) SetRecordDate(t time.Time) + func (m *DividendMutation) StockCleared() bool + func (m *DividendMutation) StockIDs() (ids []int) + func (m *DividendMutation) Type() string + func (m *DividendMutation) Where(ps ...predicate.Dividend) + func (m *DividendMutation) WhereP(ps ...func(*sql.Selector)) + func (m DividendMutation) Client() *Client + func (m DividendMutation) Tx() (*Tx, error) + type DividendQuery struct + func (dq *DividendQuery) Aggregate(fns ...AggregateFunc) *DividendSelect + func (dq *DividendQuery) All(ctx context.Context) ([]*Dividend, error) + func (dq *DividendQuery) AllX(ctx context.Context) []*Dividend + func (dq *DividendQuery) Clone() *DividendQuery + func (dq *DividendQuery) Count(ctx context.Context) (int, error) + func (dq *DividendQuery) CountX(ctx context.Context) int + func (dq *DividendQuery) Exist(ctx context.Context) (bool, error) + func (dq *DividendQuery) ExistX(ctx context.Context) bool + func (dq *DividendQuery) First(ctx context.Context) (*Dividend, error) + func (dq *DividendQuery) FirstID(ctx context.Context) (id int, err error) + func (dq *DividendQuery) FirstIDX(ctx context.Context) int + func (dq *DividendQuery) FirstX(ctx context.Context) *Dividend + func (dq *DividendQuery) GroupBy(field string, fields ...string) *DividendGroupBy + func (dq *DividendQuery) IDs(ctx context.Context) ([]int, error) + func (dq *DividendQuery) IDsX(ctx context.Context) []int + func (dq *DividendQuery) Limit(limit int) *DividendQuery + func (dq *DividendQuery) Offset(offset int) *DividendQuery + func (dq *DividendQuery) Only(ctx context.Context) (*Dividend, error) + func (dq *DividendQuery) OnlyID(ctx context.Context) (id int, err error) + func (dq *DividendQuery) OnlyIDX(ctx context.Context) int + func (dq *DividendQuery) OnlyX(ctx context.Context) *Dividend + func (dq *DividendQuery) Order(o ...OrderFunc) *DividendQuery + func (dq *DividendQuery) QueryStock() *EntityQuery + func (dq *DividendQuery) Select(fields ...string) *DividendSelect + func (dq *DividendQuery) Unique(unique bool) *DividendQuery + func (dq *DividendQuery) Where(ps ...predicate.Dividend) *DividendQuery + func (dq *DividendQuery) WithStock(opts ...func(*EntityQuery)) *DividendQuery + type DividendSelect struct + func (ds *DividendSelect) Aggregate(fns ...AggregateFunc) *DividendSelect + func (ds *DividendSelect) Scan(ctx context.Context, v any) error + func (s *DividendSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *DividendSelect) BoolX(ctx context.Context) bool + func (s *DividendSelect) Bools(ctx context.Context) ([]bool, error) + func (s *DividendSelect) BoolsX(ctx context.Context) []bool + func (s *DividendSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *DividendSelect) Float64X(ctx context.Context) float64 + func (s *DividendSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *DividendSelect) Float64sX(ctx context.Context) []float64 + func (s *DividendSelect) Int(ctx context.Context) (_ int, err error) + func (s *DividendSelect) IntX(ctx context.Context) int + func (s *DividendSelect) Ints(ctx context.Context) ([]int, error) + func (s *DividendSelect) IntsX(ctx context.Context) []int + func (s *DividendSelect) ScanX(ctx context.Context, v any) + func (s *DividendSelect) String(ctx context.Context) (_ string, err error) + func (s *DividendSelect) StringX(ctx context.Context) string + func (s *DividendSelect) Strings(ctx context.Context) ([]string, error) + func (s *DividendSelect) StringsX(ctx context.Context) []string + type DividendUpdate struct + func (du *DividendUpdate) AddCashAmount(f float64) *DividendUpdate + func (du *DividendUpdate) AddFrequency(i int) *DividendUpdate + func (du *DividendUpdate) AddStock(e ...*Entity) *DividendUpdate + func (du *DividendUpdate) AddStockIDs(ids ...int) *DividendUpdate + func (du *DividendUpdate) ClearStock() *DividendUpdate + func (du *DividendUpdate) Exec(ctx context.Context) error + func (du *DividendUpdate) ExecX(ctx context.Context) + func (du *DividendUpdate) Mutation() *DividendMutation + func (du *DividendUpdate) RemoveStock(e ...*Entity) *DividendUpdate + func (du *DividendUpdate) RemoveStockIDs(ids ...int) *DividendUpdate + func (du *DividendUpdate) Save(ctx context.Context) (int, error) + func (du *DividendUpdate) SaveX(ctx context.Context) int + func (du *DividendUpdate) SetCashAmount(f float64) *DividendUpdate + func (du *DividendUpdate) SetDeclarationDate(t time.Time) *DividendUpdate + func (du *DividendUpdate) SetDividendType(dt dividend.DividendType) *DividendUpdate + func (du *DividendUpdate) SetExDividendDate(t time.Time) *DividendUpdate + func (du *DividendUpdate) SetFrequency(i int) *DividendUpdate + func (du *DividendUpdate) SetPayDate(t time.Time) *DividendUpdate + func (du *DividendUpdate) SetRecordDate(t time.Time) *DividendUpdate + func (du *DividendUpdate) Where(ps ...predicate.Dividend) *DividendUpdate + type DividendUpdateOne struct + func (duo *DividendUpdateOne) AddCashAmount(f float64) *DividendUpdateOne + func (duo *DividendUpdateOne) AddFrequency(i int) *DividendUpdateOne + func (duo *DividendUpdateOne) AddStock(e ...*Entity) *DividendUpdateOne + func (duo *DividendUpdateOne) AddStockIDs(ids ...int) *DividendUpdateOne + func (duo *DividendUpdateOne) ClearStock() *DividendUpdateOne + func (duo *DividendUpdateOne) Exec(ctx context.Context) error + func (duo *DividendUpdateOne) ExecX(ctx context.Context) + func (duo *DividendUpdateOne) Mutation() *DividendMutation + func (duo *DividendUpdateOne) RemoveStock(e ...*Entity) *DividendUpdateOne + func (duo *DividendUpdateOne) RemoveStockIDs(ids ...int) *DividendUpdateOne + func (duo *DividendUpdateOne) Save(ctx context.Context) (*Dividend, error) + func (duo *DividendUpdateOne) SaveX(ctx context.Context) *Dividend + func (duo *DividendUpdateOne) Select(field string, fields ...string) *DividendUpdateOne + func (duo *DividendUpdateOne) SetCashAmount(f float64) *DividendUpdateOne + func (duo *DividendUpdateOne) SetDeclarationDate(t time.Time) *DividendUpdateOne + func (duo *DividendUpdateOne) SetDividendType(dt dividend.DividendType) *DividendUpdateOne + func (duo *DividendUpdateOne) SetExDividendDate(t time.Time) *DividendUpdateOne + func (duo *DividendUpdateOne) SetFrequency(i int) *DividendUpdateOne + func (duo *DividendUpdateOne) SetPayDate(t time.Time) *DividendUpdateOne + func (duo *DividendUpdateOne) SetRecordDate(t time.Time) *DividendUpdateOne + type Dividends []*Dividend + type Entities []*Entity + type Entity struct + Active bool + Delisted *time.Time + Description string + Edges EntityEdges + ID int + ListDate time.Time + Name string + Ticker string + func (e *Entity) QueryDividends() *DividendQuery + func (e *Entity) QueryExchanges() *ExchangeQuery + func (e *Entity) QueryFinancials() *FinancialQuery + func (e *Entity) QueryIntervals() *IntervalQuery + func (e *Entity) QuerySplits() *SplitQuery + func (e *Entity) String() string + func (e *Entity) Unwrap() *Entity + func (e *Entity) Update() *EntityUpdateOne + type EntityClient struct + func NewEntityClient(c config) *EntityClient + func (c *EntityClient) Create() *EntityCreate + func (c *EntityClient) CreateBulk(builders ...*EntityCreate) *EntityCreateBulk + func (c *EntityClient) Delete() *EntityDelete + func (c *EntityClient) DeleteOne(e *Entity) *EntityDeleteOne + func (c *EntityClient) DeleteOneID(id int) *EntityDeleteOne + func (c *EntityClient) Get(ctx context.Context, id int) (*Entity, error) + func (c *EntityClient) GetX(ctx context.Context, id int) *Entity + func (c *EntityClient) Hooks() []Hook + func (c *EntityClient) Intercept(interceptors ...Interceptor) + func (c *EntityClient) Interceptors() []Interceptor + func (c *EntityClient) Query() *EntityQuery + func (c *EntityClient) QueryDividends(e *Entity) *DividendQuery + func (c *EntityClient) QueryExchanges(e *Entity) *ExchangeQuery + func (c *EntityClient) QueryFinancials(e *Entity) *FinancialQuery + func (c *EntityClient) QueryIntervals(e *Entity) *IntervalQuery + func (c *EntityClient) QuerySplits(e *Entity) *SplitQuery + func (c *EntityClient) Update() *EntityUpdate + func (c *EntityClient) UpdateOne(e *Entity) *EntityUpdateOne + func (c *EntityClient) UpdateOneID(id int) *EntityUpdateOne + func (c *EntityClient) Use(hooks ...Hook) + type EntityCreate struct + func (ec *EntityCreate) AddDividendIDs(ids ...int) *EntityCreate + func (ec *EntityCreate) AddDividends(d ...*Dividend) *EntityCreate + func (ec *EntityCreate) AddExchangeIDs(ids ...int) *EntityCreate + func (ec *EntityCreate) AddExchanges(e ...*Exchange) *EntityCreate + func (ec *EntityCreate) AddFinancialIDs(ids ...int) *EntityCreate + func (ec *EntityCreate) AddFinancials(f ...*Financial) *EntityCreate + func (ec *EntityCreate) AddIntervalIDs(ids ...int) *EntityCreate + func (ec *EntityCreate) AddIntervals(i ...*Interval) *EntityCreate + func (ec *EntityCreate) AddSplitIDs(ids ...int) *EntityCreate + func (ec *EntityCreate) AddSplits(s ...*Split) *EntityCreate + func (ec *EntityCreate) Exec(ctx context.Context) error + func (ec *EntityCreate) ExecX(ctx context.Context) + func (ec *EntityCreate) Mutation() *EntityMutation + func (ec *EntityCreate) Save(ctx context.Context) (*Entity, error) + func (ec *EntityCreate) SaveX(ctx context.Context) *Entity + func (ec *EntityCreate) SetActive(b bool) *EntityCreate + func (ec *EntityCreate) SetDelisted(t time.Time) *EntityCreate + func (ec *EntityCreate) SetDescription(s string) *EntityCreate + func (ec *EntityCreate) SetListDate(t time.Time) *EntityCreate + func (ec *EntityCreate) SetName(s string) *EntityCreate + func (ec *EntityCreate) SetNillableDelisted(t *time.Time) *EntityCreate + func (ec *EntityCreate) SetTicker(s string) *EntityCreate + type EntityCreateBulk struct + func (ecb *EntityCreateBulk) Exec(ctx context.Context) error + func (ecb *EntityCreateBulk) ExecX(ctx context.Context) + func (ecb *EntityCreateBulk) Save(ctx context.Context) ([]*Entity, error) + func (ecb *EntityCreateBulk) SaveX(ctx context.Context) []*Entity + type EntityDelete struct + func (ed *EntityDelete) Exec(ctx context.Context) (int, error) + func (ed *EntityDelete) ExecX(ctx context.Context) int + func (ed *EntityDelete) Where(ps ...predicate.Entity) *EntityDelete + type EntityDeleteOne struct + func (edo *EntityDeleteOne) Exec(ctx context.Context) error + func (edo *EntityDeleteOne) ExecX(ctx context.Context) + type EntityEdges struct + Dividends []*Dividend + Exchanges []*Exchange + Financials []*Financial + Intervals []*Interval + Splits []*Split + func (e EntityEdges) DividendsOrErr() ([]*Dividend, error) + func (e EntityEdges) ExchangesOrErr() ([]*Exchange, error) + func (e EntityEdges) FinancialsOrErr() ([]*Financial, error) + func (e EntityEdges) IntervalsOrErr() ([]*Interval, error) + func (e EntityEdges) SplitsOrErr() ([]*Split, error) + type EntityGroupBy struct + func (egb *EntityGroupBy) Aggregate(fns ...AggregateFunc) *EntityGroupBy + func (egb *EntityGroupBy) Scan(ctx context.Context, v any) error + func (s *EntityGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *EntityGroupBy) BoolX(ctx context.Context) bool + func (s *EntityGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *EntityGroupBy) BoolsX(ctx context.Context) []bool + func (s *EntityGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *EntityGroupBy) Float64X(ctx context.Context) float64 + func (s *EntityGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *EntityGroupBy) Float64sX(ctx context.Context) []float64 + func (s *EntityGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *EntityGroupBy) IntX(ctx context.Context) int + func (s *EntityGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *EntityGroupBy) IntsX(ctx context.Context) []int + func (s *EntityGroupBy) ScanX(ctx context.Context, v any) + func (s *EntityGroupBy) String(ctx context.Context) (_ string, err error) + func (s *EntityGroupBy) StringX(ctx context.Context) string + func (s *EntityGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *EntityGroupBy) StringsX(ctx context.Context) []string + type EntityMutation struct + func (m *EntityMutation) Active() (r bool, exists bool) + func (m *EntityMutation) AddDividendIDs(ids ...int) + func (m *EntityMutation) AddExchangeIDs(ids ...int) + func (m *EntityMutation) AddField(name string, value ent.Value) error + func (m *EntityMutation) AddFinancialIDs(ids ...int) + func (m *EntityMutation) AddIntervalIDs(ids ...int) + func (m *EntityMutation) AddSplitIDs(ids ...int) + func (m *EntityMutation) AddedEdges() []string + func (m *EntityMutation) AddedField(name string) (ent.Value, bool) + func (m *EntityMutation) AddedFields() []string + func (m *EntityMutation) AddedIDs(name string) []ent.Value + func (m *EntityMutation) ClearDelisted() + func (m *EntityMutation) ClearDividends() + func (m *EntityMutation) ClearEdge(name string) error + func (m *EntityMutation) ClearExchanges() + func (m *EntityMutation) ClearField(name string) error + func (m *EntityMutation) ClearFinancials() + func (m *EntityMutation) ClearIntervals() + func (m *EntityMutation) ClearSplits() + func (m *EntityMutation) ClearedEdges() []string + func (m *EntityMutation) ClearedFields() []string + func (m *EntityMutation) Delisted() (r time.Time, exists bool) + func (m *EntityMutation) DelistedCleared() bool + func (m *EntityMutation) Description() (r string, exists bool) + func (m *EntityMutation) DividendsCleared() bool + func (m *EntityMutation) DividendsIDs() (ids []int) + func (m *EntityMutation) EdgeCleared(name string) bool + func (m *EntityMutation) ExchangesCleared() bool + func (m *EntityMutation) ExchangesIDs() (ids []int) + func (m *EntityMutation) Field(name string) (ent.Value, bool) + func (m *EntityMutation) FieldCleared(name string) bool + func (m *EntityMutation) Fields() []string + func (m *EntityMutation) FinancialsCleared() bool + func (m *EntityMutation) FinancialsIDs() (ids []int) + func (m *EntityMutation) ID() (id int, exists bool) + func (m *EntityMutation) IDs(ctx context.Context) ([]int, error) + func (m *EntityMutation) IntervalsCleared() bool + func (m *EntityMutation) IntervalsIDs() (ids []int) + func (m *EntityMutation) ListDate() (r time.Time, exists bool) + func (m *EntityMutation) Name() (r string, exists bool) + func (m *EntityMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *EntityMutation) OldDelisted(ctx context.Context) (v *time.Time, err error) + func (m *EntityMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *EntityMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *EntityMutation) OldListDate(ctx context.Context) (v time.Time, err error) + func (m *EntityMutation) OldName(ctx context.Context) (v string, err error) + func (m *EntityMutation) OldTicker(ctx context.Context) (v string, err error) + func (m *EntityMutation) Op() Op + func (m *EntityMutation) RemoveDividendIDs(ids ...int) + func (m *EntityMutation) RemoveExchangeIDs(ids ...int) + func (m *EntityMutation) RemoveFinancialIDs(ids ...int) + func (m *EntityMutation) RemoveIntervalIDs(ids ...int) + func (m *EntityMutation) RemoveSplitIDs(ids ...int) + func (m *EntityMutation) RemovedDividendsIDs() (ids []int) + func (m *EntityMutation) RemovedEdges() []string + func (m *EntityMutation) RemovedExchangesIDs() (ids []int) + func (m *EntityMutation) RemovedFinancialsIDs() (ids []int) + func (m *EntityMutation) RemovedIDs(name string) []ent.Value + func (m *EntityMutation) RemovedIntervalsIDs() (ids []int) + func (m *EntityMutation) RemovedSplitsIDs() (ids []int) + func (m *EntityMutation) ResetActive() + func (m *EntityMutation) ResetDelisted() + func (m *EntityMutation) ResetDescription() + func (m *EntityMutation) ResetDividends() + func (m *EntityMutation) ResetEdge(name string) error + func (m *EntityMutation) ResetExchanges() + func (m *EntityMutation) ResetField(name string) error + func (m *EntityMutation) ResetFinancials() + func (m *EntityMutation) ResetIntervals() + func (m *EntityMutation) ResetListDate() + func (m *EntityMutation) ResetName() + func (m *EntityMutation) ResetSplits() + func (m *EntityMutation) ResetTicker() + func (m *EntityMutation) SetActive(b bool) + func (m *EntityMutation) SetDelisted(t time.Time) + func (m *EntityMutation) SetDescription(s string) + func (m *EntityMutation) SetField(name string, value ent.Value) error + func (m *EntityMutation) SetListDate(t time.Time) + func (m *EntityMutation) SetName(s string) + func (m *EntityMutation) SetOp(op Op) + func (m *EntityMutation) SetTicker(s string) + func (m *EntityMutation) SplitsCleared() bool + func (m *EntityMutation) SplitsIDs() (ids []int) + func (m *EntityMutation) Ticker() (r string, exists bool) + func (m *EntityMutation) Type() string + func (m *EntityMutation) Where(ps ...predicate.Entity) + func (m *EntityMutation) WhereP(ps ...func(*sql.Selector)) + func (m EntityMutation) Client() *Client + func (m EntityMutation) Tx() (*Tx, error) + type EntityQuery struct + func (eq *EntityQuery) Aggregate(fns ...AggregateFunc) *EntitySelect + func (eq *EntityQuery) All(ctx context.Context) ([]*Entity, error) + func (eq *EntityQuery) AllX(ctx context.Context) []*Entity + func (eq *EntityQuery) Clone() *EntityQuery + func (eq *EntityQuery) Count(ctx context.Context) (int, error) + func (eq *EntityQuery) CountX(ctx context.Context) int + func (eq *EntityQuery) Exist(ctx context.Context) (bool, error) + func (eq *EntityQuery) ExistX(ctx context.Context) bool + func (eq *EntityQuery) First(ctx context.Context) (*Entity, error) + func (eq *EntityQuery) FirstID(ctx context.Context) (id int, err error) + func (eq *EntityQuery) FirstIDX(ctx context.Context) int + func (eq *EntityQuery) FirstX(ctx context.Context) *Entity + func (eq *EntityQuery) GroupBy(field string, fields ...string) *EntityGroupBy + func (eq *EntityQuery) IDs(ctx context.Context) ([]int, error) + func (eq *EntityQuery) IDsX(ctx context.Context) []int + func (eq *EntityQuery) Limit(limit int) *EntityQuery + func (eq *EntityQuery) Offset(offset int) *EntityQuery + func (eq *EntityQuery) Only(ctx context.Context) (*Entity, error) + func (eq *EntityQuery) OnlyID(ctx context.Context) (id int, err error) + func (eq *EntityQuery) OnlyIDX(ctx context.Context) int + func (eq *EntityQuery) OnlyX(ctx context.Context) *Entity + func (eq *EntityQuery) Order(o ...OrderFunc) *EntityQuery + func (eq *EntityQuery) QueryDividends() *DividendQuery + func (eq *EntityQuery) QueryExchanges() *ExchangeQuery + func (eq *EntityQuery) QueryFinancials() *FinancialQuery + func (eq *EntityQuery) QueryIntervals() *IntervalQuery + func (eq *EntityQuery) QuerySplits() *SplitQuery + func (eq *EntityQuery) Select(fields ...string) *EntitySelect + func (eq *EntityQuery) Unique(unique bool) *EntityQuery + func (eq *EntityQuery) Where(ps ...predicate.Entity) *EntityQuery + func (eq *EntityQuery) WithDividends(opts ...func(*DividendQuery)) *EntityQuery + func (eq *EntityQuery) WithExchanges(opts ...func(*ExchangeQuery)) *EntityQuery + func (eq *EntityQuery) WithFinancials(opts ...func(*FinancialQuery)) *EntityQuery + func (eq *EntityQuery) WithIntervals(opts ...func(*IntervalQuery)) *EntityQuery + func (eq *EntityQuery) WithSplits(opts ...func(*SplitQuery)) *EntityQuery + type EntitySelect struct + func (es *EntitySelect) Aggregate(fns ...AggregateFunc) *EntitySelect + func (es *EntitySelect) Scan(ctx context.Context, v any) error + func (s *EntitySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *EntitySelect) BoolX(ctx context.Context) bool + func (s *EntitySelect) Bools(ctx context.Context) ([]bool, error) + func (s *EntitySelect) BoolsX(ctx context.Context) []bool + func (s *EntitySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *EntitySelect) Float64X(ctx context.Context) float64 + func (s *EntitySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *EntitySelect) Float64sX(ctx context.Context) []float64 + func (s *EntitySelect) Int(ctx context.Context) (_ int, err error) + func (s *EntitySelect) IntX(ctx context.Context) int + func (s *EntitySelect) Ints(ctx context.Context) ([]int, error) + func (s *EntitySelect) IntsX(ctx context.Context) []int + func (s *EntitySelect) ScanX(ctx context.Context, v any) + func (s *EntitySelect) String(ctx context.Context) (_ string, err error) + func (s *EntitySelect) StringX(ctx context.Context) string + func (s *EntitySelect) Strings(ctx context.Context) ([]string, error) + func (s *EntitySelect) StringsX(ctx context.Context) []string + type EntityUpdate struct + func (eu *EntityUpdate) AddDividendIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) AddDividends(d ...*Dividend) *EntityUpdate + func (eu *EntityUpdate) AddExchangeIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) AddExchanges(e ...*Exchange) *EntityUpdate + func (eu *EntityUpdate) AddFinancialIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) AddFinancials(f ...*Financial) *EntityUpdate + func (eu *EntityUpdate) AddIntervalIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) AddIntervals(i ...*Interval) *EntityUpdate + func (eu *EntityUpdate) AddSplitIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) AddSplits(s ...*Split) *EntityUpdate + func (eu *EntityUpdate) ClearDelisted() *EntityUpdate + func (eu *EntityUpdate) ClearDividends() *EntityUpdate + func (eu *EntityUpdate) ClearExchanges() *EntityUpdate + func (eu *EntityUpdate) ClearFinancials() *EntityUpdate + func (eu *EntityUpdate) ClearIntervals() *EntityUpdate + func (eu *EntityUpdate) ClearSplits() *EntityUpdate + func (eu *EntityUpdate) Exec(ctx context.Context) error + func (eu *EntityUpdate) ExecX(ctx context.Context) + func (eu *EntityUpdate) Mutation() *EntityMutation + func (eu *EntityUpdate) RemoveDividendIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) RemoveDividends(d ...*Dividend) *EntityUpdate + func (eu *EntityUpdate) RemoveExchangeIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) RemoveExchanges(e ...*Exchange) *EntityUpdate + func (eu *EntityUpdate) RemoveFinancialIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) RemoveFinancials(f ...*Financial) *EntityUpdate + func (eu *EntityUpdate) RemoveIntervalIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) RemoveIntervals(i ...*Interval) *EntityUpdate + func (eu *EntityUpdate) RemoveSplitIDs(ids ...int) *EntityUpdate + func (eu *EntityUpdate) RemoveSplits(s ...*Split) *EntityUpdate + func (eu *EntityUpdate) Save(ctx context.Context) (int, error) + func (eu *EntityUpdate) SaveX(ctx context.Context) int + func (eu *EntityUpdate) SetActive(b bool) *EntityUpdate + func (eu *EntityUpdate) SetDelisted(t time.Time) *EntityUpdate + func (eu *EntityUpdate) SetDescription(s string) *EntityUpdate + func (eu *EntityUpdate) SetListDate(t time.Time) *EntityUpdate + func (eu *EntityUpdate) SetName(s string) *EntityUpdate + func (eu *EntityUpdate) SetNillableDelisted(t *time.Time) *EntityUpdate + func (eu *EntityUpdate) SetTicker(s string) *EntityUpdate + func (eu *EntityUpdate) Where(ps ...predicate.Entity) *EntityUpdate + type EntityUpdateOne struct + func (euo *EntityUpdateOne) AddDividendIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) AddDividends(d ...*Dividend) *EntityUpdateOne + func (euo *EntityUpdateOne) AddExchangeIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) AddExchanges(e ...*Exchange) *EntityUpdateOne + func (euo *EntityUpdateOne) AddFinancialIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) AddFinancials(f ...*Financial) *EntityUpdateOne + func (euo *EntityUpdateOne) AddIntervalIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) AddIntervals(i ...*Interval) *EntityUpdateOne + func (euo *EntityUpdateOne) AddSplitIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) AddSplits(s ...*Split) *EntityUpdateOne + func (euo *EntityUpdateOne) ClearDelisted() *EntityUpdateOne + func (euo *EntityUpdateOne) ClearDividends() *EntityUpdateOne + func (euo *EntityUpdateOne) ClearExchanges() *EntityUpdateOne + func (euo *EntityUpdateOne) ClearFinancials() *EntityUpdateOne + func (euo *EntityUpdateOne) ClearIntervals() *EntityUpdateOne + func (euo *EntityUpdateOne) ClearSplits() *EntityUpdateOne + func (euo *EntityUpdateOne) Exec(ctx context.Context) error + func (euo *EntityUpdateOne) ExecX(ctx context.Context) + func (euo *EntityUpdateOne) Mutation() *EntityMutation + func (euo *EntityUpdateOne) RemoveDividendIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveDividends(d ...*Dividend) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveExchangeIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveExchanges(e ...*Exchange) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveFinancialIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveFinancials(f ...*Financial) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveIntervalIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveIntervals(i ...*Interval) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveSplitIDs(ids ...int) *EntityUpdateOne + func (euo *EntityUpdateOne) RemoveSplits(s ...*Split) *EntityUpdateOne + func (euo *EntityUpdateOne) Save(ctx context.Context) (*Entity, error) + func (euo *EntityUpdateOne) SaveX(ctx context.Context) *Entity + func (euo *EntityUpdateOne) Select(field string, fields ...string) *EntityUpdateOne + func (euo *EntityUpdateOne) SetActive(b bool) *EntityUpdateOne + func (euo *EntityUpdateOne) SetDelisted(t time.Time) *EntityUpdateOne + func (euo *EntityUpdateOne) SetDescription(s string) *EntityUpdateOne + func (euo *EntityUpdateOne) SetListDate(t time.Time) *EntityUpdateOne + func (euo *EntityUpdateOne) SetName(s string) *EntityUpdateOne + func (euo *EntityUpdateOne) SetNillableDelisted(t *time.Time) *EntityUpdateOne + func (euo *EntityUpdateOne) SetTicker(s string) *EntityUpdateOne + type Exchange struct + Code string + Edges ExchangeEdges + ID int + Name string + func (e *Exchange) QueryStocks() *EntityQuery + func (e *Exchange) String() string + func (e *Exchange) Unwrap() *Exchange + func (e *Exchange) Update() *ExchangeUpdateOne + type ExchangeClient struct + func NewExchangeClient(c config) *ExchangeClient + func (c *ExchangeClient) Create() *ExchangeCreate + func (c *ExchangeClient) CreateBulk(builders ...*ExchangeCreate) *ExchangeCreateBulk + func (c *ExchangeClient) Delete() *ExchangeDelete + func (c *ExchangeClient) DeleteOne(e *Exchange) *ExchangeDeleteOne + func (c *ExchangeClient) DeleteOneID(id int) *ExchangeDeleteOne + func (c *ExchangeClient) Get(ctx context.Context, id int) (*Exchange, error) + func (c *ExchangeClient) GetX(ctx context.Context, id int) *Exchange + func (c *ExchangeClient) Hooks() []Hook + func (c *ExchangeClient) Intercept(interceptors ...Interceptor) + func (c *ExchangeClient) Interceptors() []Interceptor + func (c *ExchangeClient) Query() *ExchangeQuery + func (c *ExchangeClient) QueryStocks(e *Exchange) *EntityQuery + func (c *ExchangeClient) Update() *ExchangeUpdate + func (c *ExchangeClient) UpdateOne(e *Exchange) *ExchangeUpdateOne + func (c *ExchangeClient) UpdateOneID(id int) *ExchangeUpdateOne + func (c *ExchangeClient) Use(hooks ...Hook) + type ExchangeCreate struct + func (ec *ExchangeCreate) AddStockIDs(ids ...int) *ExchangeCreate + func (ec *ExchangeCreate) AddStocks(e ...*Entity) *ExchangeCreate + func (ec *ExchangeCreate) Exec(ctx context.Context) error + func (ec *ExchangeCreate) ExecX(ctx context.Context) + func (ec *ExchangeCreate) Mutation() *ExchangeMutation + func (ec *ExchangeCreate) Save(ctx context.Context) (*Exchange, error) + func (ec *ExchangeCreate) SaveX(ctx context.Context) *Exchange + func (ec *ExchangeCreate) SetCode(s string) *ExchangeCreate + func (ec *ExchangeCreate) SetName(s string) *ExchangeCreate + type ExchangeCreateBulk struct + func (ecb *ExchangeCreateBulk) Exec(ctx context.Context) error + func (ecb *ExchangeCreateBulk) ExecX(ctx context.Context) + func (ecb *ExchangeCreateBulk) Save(ctx context.Context) ([]*Exchange, error) + func (ecb *ExchangeCreateBulk) SaveX(ctx context.Context) []*Exchange + type ExchangeDelete struct + func (ed *ExchangeDelete) Exec(ctx context.Context) (int, error) + func (ed *ExchangeDelete) ExecX(ctx context.Context) int + func (ed *ExchangeDelete) Where(ps ...predicate.Exchange) *ExchangeDelete + type ExchangeDeleteOne struct + func (edo *ExchangeDeleteOne) Exec(ctx context.Context) error + func (edo *ExchangeDeleteOne) ExecX(ctx context.Context) + type ExchangeEdges struct + Stocks []*Entity + func (e ExchangeEdges) StocksOrErr() ([]*Entity, error) + type ExchangeGroupBy struct + func (egb *ExchangeGroupBy) Aggregate(fns ...AggregateFunc) *ExchangeGroupBy + func (egb *ExchangeGroupBy) Scan(ctx context.Context, v any) error + func (s *ExchangeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ExchangeGroupBy) BoolX(ctx context.Context) bool + func (s *ExchangeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ExchangeGroupBy) BoolsX(ctx context.Context) []bool + func (s *ExchangeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ExchangeGroupBy) Float64X(ctx context.Context) float64 + func (s *ExchangeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ExchangeGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ExchangeGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ExchangeGroupBy) IntX(ctx context.Context) int + func (s *ExchangeGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ExchangeGroupBy) IntsX(ctx context.Context) []int + func (s *ExchangeGroupBy) ScanX(ctx context.Context, v any) + func (s *ExchangeGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ExchangeGroupBy) StringX(ctx context.Context) string + func (s *ExchangeGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ExchangeGroupBy) StringsX(ctx context.Context) []string + type ExchangeMutation struct + func (m *ExchangeMutation) AddField(name string, value ent.Value) error + func (m *ExchangeMutation) AddStockIDs(ids ...int) + func (m *ExchangeMutation) AddedEdges() []string + func (m *ExchangeMutation) AddedField(name string) (ent.Value, bool) + func (m *ExchangeMutation) AddedFields() []string + func (m *ExchangeMutation) AddedIDs(name string) []ent.Value + func (m *ExchangeMutation) ClearEdge(name string) error + func (m *ExchangeMutation) ClearField(name string) error + func (m *ExchangeMutation) ClearStocks() + func (m *ExchangeMutation) ClearedEdges() []string + func (m *ExchangeMutation) ClearedFields() []string + func (m *ExchangeMutation) Code() (r string, exists bool) + func (m *ExchangeMutation) EdgeCleared(name string) bool + func (m *ExchangeMutation) Field(name string) (ent.Value, bool) + func (m *ExchangeMutation) FieldCleared(name string) bool + func (m *ExchangeMutation) Fields() []string + func (m *ExchangeMutation) ID() (id int, exists bool) + func (m *ExchangeMutation) IDs(ctx context.Context) ([]int, error) + func (m *ExchangeMutation) Name() (r string, exists bool) + func (m *ExchangeMutation) OldCode(ctx context.Context) (v string, err error) + func (m *ExchangeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ExchangeMutation) OldName(ctx context.Context) (v string, err error) + func (m *ExchangeMutation) Op() Op + func (m *ExchangeMutation) RemoveStockIDs(ids ...int) + func (m *ExchangeMutation) RemovedEdges() []string + func (m *ExchangeMutation) RemovedIDs(name string) []ent.Value + func (m *ExchangeMutation) RemovedStocksIDs() (ids []int) + func (m *ExchangeMutation) ResetCode() + func (m *ExchangeMutation) ResetEdge(name string) error + func (m *ExchangeMutation) ResetField(name string) error + func (m *ExchangeMutation) ResetName() + func (m *ExchangeMutation) ResetStocks() + func (m *ExchangeMutation) SetCode(s string) + func (m *ExchangeMutation) SetField(name string, value ent.Value) error + func (m *ExchangeMutation) SetName(s string) + func (m *ExchangeMutation) SetOp(op Op) + func (m *ExchangeMutation) StocksCleared() bool + func (m *ExchangeMutation) StocksIDs() (ids []int) + func (m *ExchangeMutation) Type() string + func (m *ExchangeMutation) Where(ps ...predicate.Exchange) + func (m *ExchangeMutation) WhereP(ps ...func(*sql.Selector)) + func (m ExchangeMutation) Client() *Client + func (m ExchangeMutation) Tx() (*Tx, error) + type ExchangeQuery struct + func (eq *ExchangeQuery) Aggregate(fns ...AggregateFunc) *ExchangeSelect + func (eq *ExchangeQuery) All(ctx context.Context) ([]*Exchange, error) + func (eq *ExchangeQuery) AllX(ctx context.Context) []*Exchange + func (eq *ExchangeQuery) Clone() *ExchangeQuery + func (eq *ExchangeQuery) Count(ctx context.Context) (int, error) + func (eq *ExchangeQuery) CountX(ctx context.Context) int + func (eq *ExchangeQuery) Exist(ctx context.Context) (bool, error) + func (eq *ExchangeQuery) ExistX(ctx context.Context) bool + func (eq *ExchangeQuery) First(ctx context.Context) (*Exchange, error) + func (eq *ExchangeQuery) FirstID(ctx context.Context) (id int, err error) + func (eq *ExchangeQuery) FirstIDX(ctx context.Context) int + func (eq *ExchangeQuery) FirstX(ctx context.Context) *Exchange + func (eq *ExchangeQuery) GroupBy(field string, fields ...string) *ExchangeGroupBy + func (eq *ExchangeQuery) IDs(ctx context.Context) ([]int, error) + func (eq *ExchangeQuery) IDsX(ctx context.Context) []int + func (eq *ExchangeQuery) Limit(limit int) *ExchangeQuery + func (eq *ExchangeQuery) Offset(offset int) *ExchangeQuery + func (eq *ExchangeQuery) Only(ctx context.Context) (*Exchange, error) + func (eq *ExchangeQuery) OnlyID(ctx context.Context) (id int, err error) + func (eq *ExchangeQuery) OnlyIDX(ctx context.Context) int + func (eq *ExchangeQuery) OnlyX(ctx context.Context) *Exchange + func (eq *ExchangeQuery) Order(o ...OrderFunc) *ExchangeQuery + func (eq *ExchangeQuery) QueryStocks() *EntityQuery + func (eq *ExchangeQuery) Select(fields ...string) *ExchangeSelect + func (eq *ExchangeQuery) Unique(unique bool) *ExchangeQuery + func (eq *ExchangeQuery) Where(ps ...predicate.Exchange) *ExchangeQuery + func (eq *ExchangeQuery) WithStocks(opts ...func(*EntityQuery)) *ExchangeQuery + type ExchangeSelect struct + func (es *ExchangeSelect) Aggregate(fns ...AggregateFunc) *ExchangeSelect + func (es *ExchangeSelect) Scan(ctx context.Context, v any) error + func (s *ExchangeSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ExchangeSelect) BoolX(ctx context.Context) bool + func (s *ExchangeSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ExchangeSelect) BoolsX(ctx context.Context) []bool + func (s *ExchangeSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ExchangeSelect) Float64X(ctx context.Context) float64 + func (s *ExchangeSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ExchangeSelect) Float64sX(ctx context.Context) []float64 + func (s *ExchangeSelect) Int(ctx context.Context) (_ int, err error) + func (s *ExchangeSelect) IntX(ctx context.Context) int + func (s *ExchangeSelect) Ints(ctx context.Context) ([]int, error) + func (s *ExchangeSelect) IntsX(ctx context.Context) []int + func (s *ExchangeSelect) ScanX(ctx context.Context, v any) + func (s *ExchangeSelect) String(ctx context.Context) (_ string, err error) + func (s *ExchangeSelect) StringX(ctx context.Context) string + func (s *ExchangeSelect) Strings(ctx context.Context) ([]string, error) + func (s *ExchangeSelect) StringsX(ctx context.Context) []string + type ExchangeUpdate struct + func (eu *ExchangeUpdate) AddStockIDs(ids ...int) *ExchangeUpdate + func (eu *ExchangeUpdate) AddStocks(e ...*Entity) *ExchangeUpdate + func (eu *ExchangeUpdate) ClearStocks() *ExchangeUpdate + func (eu *ExchangeUpdate) Exec(ctx context.Context) error + func (eu *ExchangeUpdate) ExecX(ctx context.Context) + func (eu *ExchangeUpdate) Mutation() *ExchangeMutation + func (eu *ExchangeUpdate) RemoveStockIDs(ids ...int) *ExchangeUpdate + func (eu *ExchangeUpdate) RemoveStocks(e ...*Entity) *ExchangeUpdate + func (eu *ExchangeUpdate) Save(ctx context.Context) (int, error) + func (eu *ExchangeUpdate) SaveX(ctx context.Context) int + func (eu *ExchangeUpdate) SetCode(s string) *ExchangeUpdate + func (eu *ExchangeUpdate) SetName(s string) *ExchangeUpdate + func (eu *ExchangeUpdate) Where(ps ...predicate.Exchange) *ExchangeUpdate + type ExchangeUpdateOne struct + func (euo *ExchangeUpdateOne) AddStockIDs(ids ...int) *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) AddStocks(e ...*Entity) *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) ClearStocks() *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) Exec(ctx context.Context) error + func (euo *ExchangeUpdateOne) ExecX(ctx context.Context) + func (euo *ExchangeUpdateOne) Mutation() *ExchangeMutation + func (euo *ExchangeUpdateOne) RemoveStockIDs(ids ...int) *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) RemoveStocks(e ...*Entity) *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) Save(ctx context.Context) (*Exchange, error) + func (euo *ExchangeUpdateOne) SaveX(ctx context.Context) *Exchange + func (euo *ExchangeUpdateOne) Select(field string, fields ...string) *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) SetCode(s string) *ExchangeUpdateOne + func (euo *ExchangeUpdateOne) SetName(s string) *ExchangeUpdateOne + type Exchanges []*Exchange + type Financial struct + Edges FinancialEdges + ID int + func (f *Financial) QueryStock() *EntityQuery + func (f *Financial) String() string + func (f *Financial) Unwrap() *Financial + func (f *Financial) Update() *FinancialUpdateOne + type FinancialClient struct + func NewFinancialClient(c config) *FinancialClient + func (c *FinancialClient) Create() *FinancialCreate + func (c *FinancialClient) CreateBulk(builders ...*FinancialCreate) *FinancialCreateBulk + func (c *FinancialClient) Delete() *FinancialDelete + func (c *FinancialClient) DeleteOne(f *Financial) *FinancialDeleteOne + func (c *FinancialClient) DeleteOneID(id int) *FinancialDeleteOne + func (c *FinancialClient) Get(ctx context.Context, id int) (*Financial, error) + func (c *FinancialClient) GetX(ctx context.Context, id int) *Financial + func (c *FinancialClient) Hooks() []Hook + func (c *FinancialClient) Intercept(interceptors ...Interceptor) + func (c *FinancialClient) Interceptors() []Interceptor + func (c *FinancialClient) Query() *FinancialQuery + func (c *FinancialClient) QueryStock(f *Financial) *EntityQuery + func (c *FinancialClient) Update() *FinancialUpdate + func (c *FinancialClient) UpdateOne(f *Financial) *FinancialUpdateOne + func (c *FinancialClient) UpdateOneID(id int) *FinancialUpdateOne + func (c *FinancialClient) Use(hooks ...Hook) + type FinancialCreate struct + func (fc *FinancialCreate) AddStock(e ...*Entity) *FinancialCreate + func (fc *FinancialCreate) AddStockIDs(ids ...int) *FinancialCreate + func (fc *FinancialCreate) Exec(ctx context.Context) error + func (fc *FinancialCreate) ExecX(ctx context.Context) + func (fc *FinancialCreate) Mutation() *FinancialMutation + func (fc *FinancialCreate) Save(ctx context.Context) (*Financial, error) + func (fc *FinancialCreate) SaveX(ctx context.Context) *Financial + type FinancialCreateBulk struct + func (fcb *FinancialCreateBulk) Exec(ctx context.Context) error + func (fcb *FinancialCreateBulk) ExecX(ctx context.Context) + func (fcb *FinancialCreateBulk) Save(ctx context.Context) ([]*Financial, error) + func (fcb *FinancialCreateBulk) SaveX(ctx context.Context) []*Financial + type FinancialDelete struct + func (fd *FinancialDelete) Exec(ctx context.Context) (int, error) + func (fd *FinancialDelete) ExecX(ctx context.Context) int + func (fd *FinancialDelete) Where(ps ...predicate.Financial) *FinancialDelete + type FinancialDeleteOne struct + func (fdo *FinancialDeleteOne) Exec(ctx context.Context) error + func (fdo *FinancialDeleteOne) ExecX(ctx context.Context) + type FinancialEdges struct + Stock []*Entity + func (e FinancialEdges) StockOrErr() ([]*Entity, error) + type FinancialGroupBy struct + func (fgb *FinancialGroupBy) Aggregate(fns ...AggregateFunc) *FinancialGroupBy + func (fgb *FinancialGroupBy) Scan(ctx context.Context, v any) error + func (s *FinancialGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *FinancialGroupBy) BoolX(ctx context.Context) bool + func (s *FinancialGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *FinancialGroupBy) BoolsX(ctx context.Context) []bool + func (s *FinancialGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *FinancialGroupBy) Float64X(ctx context.Context) float64 + func (s *FinancialGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *FinancialGroupBy) Float64sX(ctx context.Context) []float64 + func (s *FinancialGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *FinancialGroupBy) IntX(ctx context.Context) int + func (s *FinancialGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *FinancialGroupBy) IntsX(ctx context.Context) []int + func (s *FinancialGroupBy) ScanX(ctx context.Context, v any) + func (s *FinancialGroupBy) String(ctx context.Context) (_ string, err error) + func (s *FinancialGroupBy) StringX(ctx context.Context) string + func (s *FinancialGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *FinancialGroupBy) StringsX(ctx context.Context) []string + type FinancialMutation struct + func (m *FinancialMutation) AddField(name string, value ent.Value) error + func (m *FinancialMutation) AddStockIDs(ids ...int) + func (m *FinancialMutation) AddedEdges() []string + func (m *FinancialMutation) AddedField(name string) (ent.Value, bool) + func (m *FinancialMutation) AddedFields() []string + func (m *FinancialMutation) AddedIDs(name string) []ent.Value + func (m *FinancialMutation) ClearEdge(name string) error + func (m *FinancialMutation) ClearField(name string) error + func (m *FinancialMutation) ClearStock() + func (m *FinancialMutation) ClearedEdges() []string + func (m *FinancialMutation) ClearedFields() []string + func (m *FinancialMutation) EdgeCleared(name string) bool + func (m *FinancialMutation) Field(name string) (ent.Value, bool) + func (m *FinancialMutation) FieldCleared(name string) bool + func (m *FinancialMutation) Fields() []string + func (m *FinancialMutation) ID() (id int, exists bool) + func (m *FinancialMutation) IDs(ctx context.Context) ([]int, error) + func (m *FinancialMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *FinancialMutation) Op() Op + func (m *FinancialMutation) RemoveStockIDs(ids ...int) + func (m *FinancialMutation) RemovedEdges() []string + func (m *FinancialMutation) RemovedIDs(name string) []ent.Value + func (m *FinancialMutation) RemovedStockIDs() (ids []int) + func (m *FinancialMutation) ResetEdge(name string) error + func (m *FinancialMutation) ResetField(name string) error + func (m *FinancialMutation) ResetStock() + func (m *FinancialMutation) SetField(name string, value ent.Value) error + func (m *FinancialMutation) SetOp(op Op) + func (m *FinancialMutation) StockCleared() bool + func (m *FinancialMutation) StockIDs() (ids []int) + func (m *FinancialMutation) Type() string + func (m *FinancialMutation) Where(ps ...predicate.Financial) + func (m *FinancialMutation) WhereP(ps ...func(*sql.Selector)) + func (m FinancialMutation) Client() *Client + func (m FinancialMutation) Tx() (*Tx, error) + type FinancialQuery struct + func (fq *FinancialQuery) Aggregate(fns ...AggregateFunc) *FinancialSelect + func (fq *FinancialQuery) All(ctx context.Context) ([]*Financial, error) + func (fq *FinancialQuery) AllX(ctx context.Context) []*Financial + func (fq *FinancialQuery) Clone() *FinancialQuery + func (fq *FinancialQuery) Count(ctx context.Context) (int, error) + func (fq *FinancialQuery) CountX(ctx context.Context) int + func (fq *FinancialQuery) Exist(ctx context.Context) (bool, error) + func (fq *FinancialQuery) ExistX(ctx context.Context) bool + func (fq *FinancialQuery) First(ctx context.Context) (*Financial, error) + func (fq *FinancialQuery) FirstID(ctx context.Context) (id int, err error) + func (fq *FinancialQuery) FirstIDX(ctx context.Context) int + func (fq *FinancialQuery) FirstX(ctx context.Context) *Financial + func (fq *FinancialQuery) GroupBy(field string, fields ...string) *FinancialGroupBy + func (fq *FinancialQuery) IDs(ctx context.Context) ([]int, error) + func (fq *FinancialQuery) IDsX(ctx context.Context) []int + func (fq *FinancialQuery) Limit(limit int) *FinancialQuery + func (fq *FinancialQuery) Offset(offset int) *FinancialQuery + func (fq *FinancialQuery) Only(ctx context.Context) (*Financial, error) + func (fq *FinancialQuery) OnlyID(ctx context.Context) (id int, err error) + func (fq *FinancialQuery) OnlyIDX(ctx context.Context) int + func (fq *FinancialQuery) OnlyX(ctx context.Context) *Financial + func (fq *FinancialQuery) Order(o ...OrderFunc) *FinancialQuery + func (fq *FinancialQuery) QueryStock() *EntityQuery + func (fq *FinancialQuery) Select(fields ...string) *FinancialSelect + func (fq *FinancialQuery) Unique(unique bool) *FinancialQuery + func (fq *FinancialQuery) Where(ps ...predicate.Financial) *FinancialQuery + func (fq *FinancialQuery) WithStock(opts ...func(*EntityQuery)) *FinancialQuery + type FinancialSelect struct + func (fs *FinancialSelect) Aggregate(fns ...AggregateFunc) *FinancialSelect + func (fs *FinancialSelect) Scan(ctx context.Context, v any) error + func (s *FinancialSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *FinancialSelect) BoolX(ctx context.Context) bool + func (s *FinancialSelect) Bools(ctx context.Context) ([]bool, error) + func (s *FinancialSelect) BoolsX(ctx context.Context) []bool + func (s *FinancialSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *FinancialSelect) Float64X(ctx context.Context) float64 + func (s *FinancialSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *FinancialSelect) Float64sX(ctx context.Context) []float64 + func (s *FinancialSelect) Int(ctx context.Context) (_ int, err error) + func (s *FinancialSelect) IntX(ctx context.Context) int + func (s *FinancialSelect) Ints(ctx context.Context) ([]int, error) + func (s *FinancialSelect) IntsX(ctx context.Context) []int + func (s *FinancialSelect) ScanX(ctx context.Context, v any) + func (s *FinancialSelect) String(ctx context.Context) (_ string, err error) + func (s *FinancialSelect) StringX(ctx context.Context) string + func (s *FinancialSelect) Strings(ctx context.Context) ([]string, error) + func (s *FinancialSelect) StringsX(ctx context.Context) []string + type FinancialUpdate struct + func (fu *FinancialUpdate) AddStock(e ...*Entity) *FinancialUpdate + func (fu *FinancialUpdate) AddStockIDs(ids ...int) *FinancialUpdate + func (fu *FinancialUpdate) ClearStock() *FinancialUpdate + func (fu *FinancialUpdate) Exec(ctx context.Context) error + func (fu *FinancialUpdate) ExecX(ctx context.Context) + func (fu *FinancialUpdate) Mutation() *FinancialMutation + func (fu *FinancialUpdate) RemoveStock(e ...*Entity) *FinancialUpdate + func (fu *FinancialUpdate) RemoveStockIDs(ids ...int) *FinancialUpdate + func (fu *FinancialUpdate) Save(ctx context.Context) (int, error) + func (fu *FinancialUpdate) SaveX(ctx context.Context) int + func (fu *FinancialUpdate) Where(ps ...predicate.Financial) *FinancialUpdate + type FinancialUpdateOne struct + func (fuo *FinancialUpdateOne) AddStock(e ...*Entity) *FinancialUpdateOne + func (fuo *FinancialUpdateOne) AddStockIDs(ids ...int) *FinancialUpdateOne + func (fuo *FinancialUpdateOne) ClearStock() *FinancialUpdateOne + func (fuo *FinancialUpdateOne) Exec(ctx context.Context) error + func (fuo *FinancialUpdateOne) ExecX(ctx context.Context) + func (fuo *FinancialUpdateOne) Mutation() *FinancialMutation + func (fuo *FinancialUpdateOne) RemoveStock(e ...*Entity) *FinancialUpdateOne + func (fuo *FinancialUpdateOne) RemoveStockIDs(ids ...int) *FinancialUpdateOne + func (fuo *FinancialUpdateOne) Save(ctx context.Context) (*Financial, error) + func (fuo *FinancialUpdateOne) SaveX(ctx context.Context) *Financial + func (fuo *FinancialUpdateOne) Select(field string, fields ...string) *FinancialUpdateOne + type Financials []*Financial + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type Interval struct + Active bool + DataSourceID int + Edges IntervalEdges + ID int + Interval interval.Interval + StockID int + func (i *Interval) QueryBars() *BarTimeRangeQuery + func (i *Interval) QueryDataSource() *DataSourceQuery + func (i *Interval) QueryStock() *EntityQuery + func (i *Interval) QueryTrades() *TradeTimeRangeQuery + func (i *Interval) String() string + func (i *Interval) Unwrap() *Interval + func (i *Interval) Update() *IntervalUpdateOne + type IntervalClient struct + func NewIntervalClient(c config) *IntervalClient + func (c *IntervalClient) Create() *IntervalCreate + func (c *IntervalClient) CreateBulk(builders ...*IntervalCreate) *IntervalCreateBulk + func (c *IntervalClient) Delete() *IntervalDelete + func (c *IntervalClient) DeleteOne(i *Interval) *IntervalDeleteOne + func (c *IntervalClient) DeleteOneID(id int) *IntervalDeleteOne + func (c *IntervalClient) Get(ctx context.Context, id int) (*Interval, error) + func (c *IntervalClient) GetX(ctx context.Context, id int) *Interval + func (c *IntervalClient) Hooks() []Hook + func (c *IntervalClient) Intercept(interceptors ...Interceptor) + func (c *IntervalClient) Interceptors() []Interceptor + func (c *IntervalClient) Query() *IntervalQuery + func (c *IntervalClient) QueryBars(i *Interval) *BarTimeRangeQuery + func (c *IntervalClient) QueryDataSource(i *Interval) *DataSourceQuery + func (c *IntervalClient) QueryStock(i *Interval) *EntityQuery + func (c *IntervalClient) QueryTrades(i *Interval) *TradeTimeRangeQuery + func (c *IntervalClient) Update() *IntervalUpdate + func (c *IntervalClient) UpdateOne(i *Interval) *IntervalUpdateOne + func (c *IntervalClient) UpdateOneID(id int) *IntervalUpdateOne + func (c *IntervalClient) Use(hooks ...Hook) + type IntervalCreate struct + func (ic *IntervalCreate) AddBarIDs(ids ...int) *IntervalCreate + func (ic *IntervalCreate) AddBars(b ...*BarTimeRange) *IntervalCreate + func (ic *IntervalCreate) AddTradeIDs(ids ...int) *IntervalCreate + func (ic *IntervalCreate) AddTrades(t ...*TradeTimeRange) *IntervalCreate + func (ic *IntervalCreate) Exec(ctx context.Context) error + func (ic *IntervalCreate) ExecX(ctx context.Context) + func (ic *IntervalCreate) Mutation() *IntervalMutation + func (ic *IntervalCreate) Save(ctx context.Context) (*Interval, error) + func (ic *IntervalCreate) SaveX(ctx context.Context) *Interval + func (ic *IntervalCreate) SetActive(b bool) *IntervalCreate + func (ic *IntervalCreate) SetDataSource(d *DataSource) *IntervalCreate + func (ic *IntervalCreate) SetDataSourceID(i int) *IntervalCreate + func (ic *IntervalCreate) SetInterval(i interval.Interval) *IntervalCreate + func (ic *IntervalCreate) SetNillableActive(b *bool) *IntervalCreate + func (ic *IntervalCreate) SetStock(e *Entity) *IntervalCreate + func (ic *IntervalCreate) SetStockID(i int) *IntervalCreate + type IntervalCreateBulk struct + func (icb *IntervalCreateBulk) Exec(ctx context.Context) error + func (icb *IntervalCreateBulk) ExecX(ctx context.Context) + func (icb *IntervalCreateBulk) Save(ctx context.Context) ([]*Interval, error) + func (icb *IntervalCreateBulk) SaveX(ctx context.Context) []*Interval + type IntervalDelete struct + func (id *IntervalDelete) Exec(ctx context.Context) (int, error) + func (id *IntervalDelete) ExecX(ctx context.Context) int + func (id *IntervalDelete) Where(ps ...predicate.Interval) *IntervalDelete + type IntervalDeleteOne struct + func (ido *IntervalDeleteOne) Exec(ctx context.Context) error + func (ido *IntervalDeleteOne) ExecX(ctx context.Context) + type IntervalEdges struct + Bars []*BarTimeRange + DataSource *DataSource + Stock *Entity + Trades []*TradeTimeRange + func (e IntervalEdges) BarsOrErr() ([]*BarTimeRange, error) + func (e IntervalEdges) DataSourceOrErr() (*DataSource, error) + func (e IntervalEdges) StockOrErr() (*Entity, error) + func (e IntervalEdges) TradesOrErr() ([]*TradeTimeRange, error) + type IntervalGroupBy struct + func (igb *IntervalGroupBy) Aggregate(fns ...AggregateFunc) *IntervalGroupBy + func (igb *IntervalGroupBy) Scan(ctx context.Context, v any) error + func (s *IntervalGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *IntervalGroupBy) BoolX(ctx context.Context) bool + func (s *IntervalGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *IntervalGroupBy) BoolsX(ctx context.Context) []bool + func (s *IntervalGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *IntervalGroupBy) Float64X(ctx context.Context) float64 + func (s *IntervalGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *IntervalGroupBy) Float64sX(ctx context.Context) []float64 + func (s *IntervalGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *IntervalGroupBy) IntX(ctx context.Context) int + func (s *IntervalGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *IntervalGroupBy) IntsX(ctx context.Context) []int + func (s *IntervalGroupBy) ScanX(ctx context.Context, v any) + func (s *IntervalGroupBy) String(ctx context.Context) (_ string, err error) + func (s *IntervalGroupBy) StringX(ctx context.Context) string + func (s *IntervalGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *IntervalGroupBy) StringsX(ctx context.Context) []string + type IntervalMutation struct + func (m *IntervalMutation) Active() (r bool, exists bool) + func (m *IntervalMutation) AddBarIDs(ids ...int) + func (m *IntervalMutation) AddField(name string, value ent.Value) error + func (m *IntervalMutation) AddTradeIDs(ids ...int) + func (m *IntervalMutation) AddedEdges() []string + func (m *IntervalMutation) AddedField(name string) (ent.Value, bool) + func (m *IntervalMutation) AddedFields() []string + func (m *IntervalMutation) AddedIDs(name string) []ent.Value + func (m *IntervalMutation) BarsCleared() bool + func (m *IntervalMutation) BarsIDs() (ids []int) + func (m *IntervalMutation) ClearBars() + func (m *IntervalMutation) ClearDataSource() + func (m *IntervalMutation) ClearEdge(name string) error + func (m *IntervalMutation) ClearField(name string) error + func (m *IntervalMutation) ClearStock() + func (m *IntervalMutation) ClearTrades() + func (m *IntervalMutation) ClearedEdges() []string + func (m *IntervalMutation) ClearedFields() []string + func (m *IntervalMutation) DataSourceCleared() bool + func (m *IntervalMutation) DataSourceID() (r int, exists bool) + func (m *IntervalMutation) DataSourceIDs() (ids []int) + func (m *IntervalMutation) EdgeCleared(name string) bool + func (m *IntervalMutation) Field(name string) (ent.Value, bool) + func (m *IntervalMutation) FieldCleared(name string) bool + func (m *IntervalMutation) Fields() []string + func (m *IntervalMutation) ID() (id int, exists bool) + func (m *IntervalMutation) IDs(ctx context.Context) ([]int, error) + func (m *IntervalMutation) Interval() (r interval.Interval, exists bool) + func (m *IntervalMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *IntervalMutation) OldDataSourceID(ctx context.Context) (v int, err error) + func (m *IntervalMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *IntervalMutation) OldInterval(ctx context.Context) (v interval.Interval, err error) + func (m *IntervalMutation) OldStockID(ctx context.Context) (v int, err error) + func (m *IntervalMutation) Op() Op + func (m *IntervalMutation) RemoveBarIDs(ids ...int) + func (m *IntervalMutation) RemoveTradeIDs(ids ...int) + func (m *IntervalMutation) RemovedBarsIDs() (ids []int) + func (m *IntervalMutation) RemovedEdges() []string + func (m *IntervalMutation) RemovedIDs(name string) []ent.Value + func (m *IntervalMutation) RemovedTradesIDs() (ids []int) + func (m *IntervalMutation) ResetActive() + func (m *IntervalMutation) ResetBars() + func (m *IntervalMutation) ResetDataSource() + func (m *IntervalMutation) ResetDataSourceID() + func (m *IntervalMutation) ResetEdge(name string) error + func (m *IntervalMutation) ResetField(name string) error + func (m *IntervalMutation) ResetInterval() + func (m *IntervalMutation) ResetStock() + func (m *IntervalMutation) ResetStockID() + func (m *IntervalMutation) ResetTrades() + func (m *IntervalMutation) SetActive(b bool) + func (m *IntervalMutation) SetDataSourceID(i int) + func (m *IntervalMutation) SetField(name string, value ent.Value) error + func (m *IntervalMutation) SetInterval(i interval.Interval) + func (m *IntervalMutation) SetOp(op Op) + func (m *IntervalMutation) SetStockID(i int) + func (m *IntervalMutation) StockCleared() bool + func (m *IntervalMutation) StockID() (r int, exists bool) + func (m *IntervalMutation) StockIDs() (ids []int) + func (m *IntervalMutation) TradesCleared() bool + func (m *IntervalMutation) TradesIDs() (ids []int) + func (m *IntervalMutation) Type() string + func (m *IntervalMutation) Where(ps ...predicate.Interval) + func (m *IntervalMutation) WhereP(ps ...func(*sql.Selector)) + func (m IntervalMutation) Client() *Client + func (m IntervalMutation) Tx() (*Tx, error) + type IntervalQuery struct + func (iq *IntervalQuery) Aggregate(fns ...AggregateFunc) *IntervalSelect + func (iq *IntervalQuery) All(ctx context.Context) ([]*Interval, error) + func (iq *IntervalQuery) AllX(ctx context.Context) []*Interval + func (iq *IntervalQuery) Clone() *IntervalQuery + func (iq *IntervalQuery) Count(ctx context.Context) (int, error) + func (iq *IntervalQuery) CountX(ctx context.Context) int + func (iq *IntervalQuery) Exist(ctx context.Context) (bool, error) + func (iq *IntervalQuery) ExistX(ctx context.Context) bool + func (iq *IntervalQuery) First(ctx context.Context) (*Interval, error) + func (iq *IntervalQuery) FirstID(ctx context.Context) (id int, err error) + func (iq *IntervalQuery) FirstIDX(ctx context.Context) int + func (iq *IntervalQuery) FirstX(ctx context.Context) *Interval + func (iq *IntervalQuery) GroupBy(field string, fields ...string) *IntervalGroupBy + func (iq *IntervalQuery) IDs(ctx context.Context) ([]int, error) + func (iq *IntervalQuery) IDsX(ctx context.Context) []int + func (iq *IntervalQuery) Limit(limit int) *IntervalQuery + func (iq *IntervalQuery) Offset(offset int) *IntervalQuery + func (iq *IntervalQuery) Only(ctx context.Context) (*Interval, error) + func (iq *IntervalQuery) OnlyID(ctx context.Context) (id int, err error) + func (iq *IntervalQuery) OnlyIDX(ctx context.Context) int + func (iq *IntervalQuery) OnlyX(ctx context.Context) *Interval + func (iq *IntervalQuery) Order(o ...OrderFunc) *IntervalQuery + func (iq *IntervalQuery) QueryBars() *BarTimeRangeQuery + func (iq *IntervalQuery) QueryDataSource() *DataSourceQuery + func (iq *IntervalQuery) QueryStock() *EntityQuery + func (iq *IntervalQuery) QueryTrades() *TradeTimeRangeQuery + func (iq *IntervalQuery) Select(fields ...string) *IntervalSelect + func (iq *IntervalQuery) Unique(unique bool) *IntervalQuery + func (iq *IntervalQuery) Where(ps ...predicate.Interval) *IntervalQuery + func (iq *IntervalQuery) WithBars(opts ...func(*BarTimeRangeQuery)) *IntervalQuery + func (iq *IntervalQuery) WithDataSource(opts ...func(*DataSourceQuery)) *IntervalQuery + func (iq *IntervalQuery) WithStock(opts ...func(*EntityQuery)) *IntervalQuery + func (iq *IntervalQuery) WithTrades(opts ...func(*TradeTimeRangeQuery)) *IntervalQuery + type IntervalSelect struct + func (is *IntervalSelect) Aggregate(fns ...AggregateFunc) *IntervalSelect + func (is *IntervalSelect) Scan(ctx context.Context, v any) error + func (s *IntervalSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *IntervalSelect) BoolX(ctx context.Context) bool + func (s *IntervalSelect) Bools(ctx context.Context) ([]bool, error) + func (s *IntervalSelect) BoolsX(ctx context.Context) []bool + func (s *IntervalSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *IntervalSelect) Float64X(ctx context.Context) float64 + func (s *IntervalSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *IntervalSelect) Float64sX(ctx context.Context) []float64 + func (s *IntervalSelect) Int(ctx context.Context) (_ int, err error) + func (s *IntervalSelect) IntX(ctx context.Context) int + func (s *IntervalSelect) Ints(ctx context.Context) ([]int, error) + func (s *IntervalSelect) IntsX(ctx context.Context) []int + func (s *IntervalSelect) ScanX(ctx context.Context, v any) + func (s *IntervalSelect) String(ctx context.Context) (_ string, err error) + func (s *IntervalSelect) StringX(ctx context.Context) string + func (s *IntervalSelect) Strings(ctx context.Context) ([]string, error) + func (s *IntervalSelect) StringsX(ctx context.Context) []string + type IntervalUpdate struct + func (iu *IntervalUpdate) AddBarIDs(ids ...int) *IntervalUpdate + func (iu *IntervalUpdate) AddBars(b ...*BarTimeRange) *IntervalUpdate + func (iu *IntervalUpdate) AddTradeIDs(ids ...int) *IntervalUpdate + func (iu *IntervalUpdate) AddTrades(t ...*TradeTimeRange) *IntervalUpdate + func (iu *IntervalUpdate) ClearBars() *IntervalUpdate + func (iu *IntervalUpdate) ClearDataSource() *IntervalUpdate + func (iu *IntervalUpdate) ClearStock() *IntervalUpdate + func (iu *IntervalUpdate) ClearTrades() *IntervalUpdate + func (iu *IntervalUpdate) Exec(ctx context.Context) error + func (iu *IntervalUpdate) ExecX(ctx context.Context) + func (iu *IntervalUpdate) Mutation() *IntervalMutation + func (iu *IntervalUpdate) RemoveBarIDs(ids ...int) *IntervalUpdate + func (iu *IntervalUpdate) RemoveBars(b ...*BarTimeRange) *IntervalUpdate + func (iu *IntervalUpdate) RemoveTradeIDs(ids ...int) *IntervalUpdate + func (iu *IntervalUpdate) RemoveTrades(t ...*TradeTimeRange) *IntervalUpdate + func (iu *IntervalUpdate) Save(ctx context.Context) (int, error) + func (iu *IntervalUpdate) SaveX(ctx context.Context) int + func (iu *IntervalUpdate) SetActive(b bool) *IntervalUpdate + func (iu *IntervalUpdate) SetDataSource(d *DataSource) *IntervalUpdate + func (iu *IntervalUpdate) SetDataSourceID(i int) *IntervalUpdate + func (iu *IntervalUpdate) SetInterval(i interval.Interval) *IntervalUpdate + func (iu *IntervalUpdate) SetNillableActive(b *bool) *IntervalUpdate + func (iu *IntervalUpdate) SetStock(e *Entity) *IntervalUpdate + func (iu *IntervalUpdate) SetStockID(i int) *IntervalUpdate + func (iu *IntervalUpdate) Where(ps ...predicate.Interval) *IntervalUpdate + type IntervalUpdateOne struct + func (iuo *IntervalUpdateOne) AddBarIDs(ids ...int) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) AddBars(b ...*BarTimeRange) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) AddTradeIDs(ids ...int) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) AddTrades(t ...*TradeTimeRange) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) ClearBars() *IntervalUpdateOne + func (iuo *IntervalUpdateOne) ClearDataSource() *IntervalUpdateOne + func (iuo *IntervalUpdateOne) ClearStock() *IntervalUpdateOne + func (iuo *IntervalUpdateOne) ClearTrades() *IntervalUpdateOne + func (iuo *IntervalUpdateOne) Exec(ctx context.Context) error + func (iuo *IntervalUpdateOne) ExecX(ctx context.Context) + func (iuo *IntervalUpdateOne) Mutation() *IntervalMutation + func (iuo *IntervalUpdateOne) RemoveBarIDs(ids ...int) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) RemoveBars(b ...*BarTimeRange) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) RemoveTradeIDs(ids ...int) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) RemoveTrades(t ...*TradeTimeRange) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) Save(ctx context.Context) (*Interval, error) + func (iuo *IntervalUpdateOne) SaveX(ctx context.Context) *Interval + func (iuo *IntervalUpdateOne) Select(field string, fields ...string) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetActive(b bool) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetDataSource(d *DataSource) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetDataSourceID(i int) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetInterval(i interval.Interval) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetNillableActive(b *bool) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetStock(e *Entity) *IntervalUpdateOne + func (iuo *IntervalUpdateOne) SetStockID(i int) *IntervalUpdateOne + type Intervals []*Interval + type MarketHours struct + Date time.Time + Edges MarketHoursEdges + EndTime time.Time + ID int + StartTime time.Time + func (mh *MarketHours) QueryMarketInfo() *MarketInfoQuery + func (mh *MarketHours) String() string + func (mh *MarketHours) Unwrap() *MarketHours + func (mh *MarketHours) Update() *MarketHoursUpdateOne + type MarketHoursClient struct + func NewMarketHoursClient(c config) *MarketHoursClient + func (c *MarketHoursClient) Create() *MarketHoursCreate + func (c *MarketHoursClient) CreateBulk(builders ...*MarketHoursCreate) *MarketHoursCreateBulk + func (c *MarketHoursClient) Delete() *MarketHoursDelete + func (c *MarketHoursClient) DeleteOne(mh *MarketHours) *MarketHoursDeleteOne + func (c *MarketHoursClient) DeleteOneID(id int) *MarketHoursDeleteOne + func (c *MarketHoursClient) Get(ctx context.Context, id int) (*MarketHours, error) + func (c *MarketHoursClient) GetX(ctx context.Context, id int) *MarketHours + func (c *MarketHoursClient) Hooks() []Hook + func (c *MarketHoursClient) Intercept(interceptors ...Interceptor) + func (c *MarketHoursClient) Interceptors() []Interceptor + func (c *MarketHoursClient) Query() *MarketHoursQuery + func (c *MarketHoursClient) QueryMarketInfo(mh *MarketHours) *MarketInfoQuery + func (c *MarketHoursClient) Update() *MarketHoursUpdate + func (c *MarketHoursClient) UpdateOne(mh *MarketHours) *MarketHoursUpdateOne + func (c *MarketHoursClient) UpdateOneID(id int) *MarketHoursUpdateOne + func (c *MarketHoursClient) Use(hooks ...Hook) + type MarketHoursCreate struct + func (mhc *MarketHoursCreate) Exec(ctx context.Context) error + func (mhc *MarketHoursCreate) ExecX(ctx context.Context) + func (mhc *MarketHoursCreate) Mutation() *MarketHoursMutation + func (mhc *MarketHoursCreate) Save(ctx context.Context) (*MarketHours, error) + func (mhc *MarketHoursCreate) SaveX(ctx context.Context) *MarketHours + func (mhc *MarketHoursCreate) SetDate(t time.Time) *MarketHoursCreate + func (mhc *MarketHoursCreate) SetEndTime(t time.Time) *MarketHoursCreate + func (mhc *MarketHoursCreate) SetMarketInfo(m *MarketInfo) *MarketHoursCreate + func (mhc *MarketHoursCreate) SetMarketInfoID(id int) *MarketHoursCreate + func (mhc *MarketHoursCreate) SetNillableMarketInfoID(id *int) *MarketHoursCreate + func (mhc *MarketHoursCreate) SetStartTime(t time.Time) *MarketHoursCreate + type MarketHoursCreateBulk struct + func (mhcb *MarketHoursCreateBulk) Exec(ctx context.Context) error + func (mhcb *MarketHoursCreateBulk) ExecX(ctx context.Context) + func (mhcb *MarketHoursCreateBulk) Save(ctx context.Context) ([]*MarketHours, error) + func (mhcb *MarketHoursCreateBulk) SaveX(ctx context.Context) []*MarketHours + type MarketHoursDelete struct + func (mhd *MarketHoursDelete) Exec(ctx context.Context) (int, error) + func (mhd *MarketHoursDelete) ExecX(ctx context.Context) int + func (mhd *MarketHoursDelete) Where(ps ...predicate.MarketHours) *MarketHoursDelete + type MarketHoursDeleteOne struct + func (mhdo *MarketHoursDeleteOne) Exec(ctx context.Context) error + func (mhdo *MarketHoursDeleteOne) ExecX(ctx context.Context) + type MarketHoursEdges struct + MarketInfo *MarketInfo + func (e MarketHoursEdges) MarketInfoOrErr() (*MarketInfo, error) + type MarketHoursGroupBy struct + func (mhgb *MarketHoursGroupBy) Aggregate(fns ...AggregateFunc) *MarketHoursGroupBy + func (mhgb *MarketHoursGroupBy) Scan(ctx context.Context, v any) error + func (s *MarketHoursGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *MarketHoursGroupBy) BoolX(ctx context.Context) bool + func (s *MarketHoursGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *MarketHoursGroupBy) BoolsX(ctx context.Context) []bool + func (s *MarketHoursGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *MarketHoursGroupBy) Float64X(ctx context.Context) float64 + func (s *MarketHoursGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *MarketHoursGroupBy) Float64sX(ctx context.Context) []float64 + func (s *MarketHoursGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *MarketHoursGroupBy) IntX(ctx context.Context) int + func (s *MarketHoursGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *MarketHoursGroupBy) IntsX(ctx context.Context) []int + func (s *MarketHoursGroupBy) ScanX(ctx context.Context, v any) + func (s *MarketHoursGroupBy) String(ctx context.Context) (_ string, err error) + func (s *MarketHoursGroupBy) StringX(ctx context.Context) string + func (s *MarketHoursGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *MarketHoursGroupBy) StringsX(ctx context.Context) []string + type MarketHoursMutation struct + func (m *MarketHoursMutation) AddField(name string, value ent.Value) error + func (m *MarketHoursMutation) AddedEdges() []string + func (m *MarketHoursMutation) AddedField(name string) (ent.Value, bool) + func (m *MarketHoursMutation) AddedFields() []string + func (m *MarketHoursMutation) AddedIDs(name string) []ent.Value + func (m *MarketHoursMutation) ClearEdge(name string) error + func (m *MarketHoursMutation) ClearField(name string) error + func (m *MarketHoursMutation) ClearMarketInfo() + func (m *MarketHoursMutation) ClearedEdges() []string + func (m *MarketHoursMutation) ClearedFields() []string + func (m *MarketHoursMutation) Date() (r time.Time, exists bool) + func (m *MarketHoursMutation) EdgeCleared(name string) bool + func (m *MarketHoursMutation) EndTime() (r time.Time, exists bool) + func (m *MarketHoursMutation) Field(name string) (ent.Value, bool) + func (m *MarketHoursMutation) FieldCleared(name string) bool + func (m *MarketHoursMutation) Fields() []string + func (m *MarketHoursMutation) ID() (id int, exists bool) + func (m *MarketHoursMutation) IDs(ctx context.Context) ([]int, error) + func (m *MarketHoursMutation) MarketInfoCleared() bool + func (m *MarketHoursMutation) MarketInfoID() (id int, exists bool) + func (m *MarketHoursMutation) MarketInfoIDs() (ids []int) + func (m *MarketHoursMutation) OldDate(ctx context.Context) (v time.Time, err error) + func (m *MarketHoursMutation) OldEndTime(ctx context.Context) (v time.Time, err error) + func (m *MarketHoursMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MarketHoursMutation) OldStartTime(ctx context.Context) (v time.Time, err error) + func (m *MarketHoursMutation) Op() Op + func (m *MarketHoursMutation) RemovedEdges() []string + func (m *MarketHoursMutation) RemovedIDs(name string) []ent.Value + func (m *MarketHoursMutation) ResetDate() + func (m *MarketHoursMutation) ResetEdge(name string) error + func (m *MarketHoursMutation) ResetEndTime() + func (m *MarketHoursMutation) ResetField(name string) error + func (m *MarketHoursMutation) ResetMarketInfo() + func (m *MarketHoursMutation) ResetStartTime() + func (m *MarketHoursMutation) SetDate(t time.Time) + func (m *MarketHoursMutation) SetEndTime(t time.Time) + func (m *MarketHoursMutation) SetField(name string, value ent.Value) error + func (m *MarketHoursMutation) SetMarketInfoID(id int) + func (m *MarketHoursMutation) SetOp(op Op) + func (m *MarketHoursMutation) SetStartTime(t time.Time) + func (m *MarketHoursMutation) StartTime() (r time.Time, exists bool) + func (m *MarketHoursMutation) Type() string + func (m *MarketHoursMutation) Where(ps ...predicate.MarketHours) + func (m *MarketHoursMutation) WhereP(ps ...func(*sql.Selector)) + func (m MarketHoursMutation) Client() *Client + func (m MarketHoursMutation) Tx() (*Tx, error) + type MarketHoursQuery struct + func (mhq *MarketHoursQuery) Aggregate(fns ...AggregateFunc) *MarketHoursSelect + func (mhq *MarketHoursQuery) All(ctx context.Context) ([]*MarketHours, error) + func (mhq *MarketHoursQuery) AllX(ctx context.Context) []*MarketHours + func (mhq *MarketHoursQuery) Clone() *MarketHoursQuery + func (mhq *MarketHoursQuery) Count(ctx context.Context) (int, error) + func (mhq *MarketHoursQuery) CountX(ctx context.Context) int + func (mhq *MarketHoursQuery) Exist(ctx context.Context) (bool, error) + func (mhq *MarketHoursQuery) ExistX(ctx context.Context) bool + func (mhq *MarketHoursQuery) First(ctx context.Context) (*MarketHours, error) + func (mhq *MarketHoursQuery) FirstID(ctx context.Context) (id int, err error) + func (mhq *MarketHoursQuery) FirstIDX(ctx context.Context) int + func (mhq *MarketHoursQuery) FirstX(ctx context.Context) *MarketHours + func (mhq *MarketHoursQuery) GroupBy(field string, fields ...string) *MarketHoursGroupBy + func (mhq *MarketHoursQuery) IDs(ctx context.Context) ([]int, error) + func (mhq *MarketHoursQuery) IDsX(ctx context.Context) []int + func (mhq *MarketHoursQuery) Limit(limit int) *MarketHoursQuery + func (mhq *MarketHoursQuery) Offset(offset int) *MarketHoursQuery + func (mhq *MarketHoursQuery) Only(ctx context.Context) (*MarketHours, error) + func (mhq *MarketHoursQuery) OnlyID(ctx context.Context) (id int, err error) + func (mhq *MarketHoursQuery) OnlyIDX(ctx context.Context) int + func (mhq *MarketHoursQuery) OnlyX(ctx context.Context) *MarketHours + func (mhq *MarketHoursQuery) Order(o ...OrderFunc) *MarketHoursQuery + func (mhq *MarketHoursQuery) QueryMarketInfo() *MarketInfoQuery + func (mhq *MarketHoursQuery) Select(fields ...string) *MarketHoursSelect + func (mhq *MarketHoursQuery) Unique(unique bool) *MarketHoursQuery + func (mhq *MarketHoursQuery) Where(ps ...predicate.MarketHours) *MarketHoursQuery + func (mhq *MarketHoursQuery) WithMarketInfo(opts ...func(*MarketInfoQuery)) *MarketHoursQuery + type MarketHoursSelect struct + func (mhs *MarketHoursSelect) Aggregate(fns ...AggregateFunc) *MarketHoursSelect + func (mhs *MarketHoursSelect) Scan(ctx context.Context, v any) error + func (s *MarketHoursSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *MarketHoursSelect) BoolX(ctx context.Context) bool + func (s *MarketHoursSelect) Bools(ctx context.Context) ([]bool, error) + func (s *MarketHoursSelect) BoolsX(ctx context.Context) []bool + func (s *MarketHoursSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *MarketHoursSelect) Float64X(ctx context.Context) float64 + func (s *MarketHoursSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *MarketHoursSelect) Float64sX(ctx context.Context) []float64 + func (s *MarketHoursSelect) Int(ctx context.Context) (_ int, err error) + func (s *MarketHoursSelect) IntX(ctx context.Context) int + func (s *MarketHoursSelect) Ints(ctx context.Context) ([]int, error) + func (s *MarketHoursSelect) IntsX(ctx context.Context) []int + func (s *MarketHoursSelect) ScanX(ctx context.Context, v any) + func (s *MarketHoursSelect) String(ctx context.Context) (_ string, err error) + func (s *MarketHoursSelect) StringX(ctx context.Context) string + func (s *MarketHoursSelect) Strings(ctx context.Context) ([]string, error) + func (s *MarketHoursSelect) StringsX(ctx context.Context) []string + type MarketHoursSlice []*MarketHours + type MarketHoursUpdate struct + func (mhu *MarketHoursUpdate) ClearMarketInfo() *MarketHoursUpdate + func (mhu *MarketHoursUpdate) Exec(ctx context.Context) error + func (mhu *MarketHoursUpdate) ExecX(ctx context.Context) + func (mhu *MarketHoursUpdate) Mutation() *MarketHoursMutation + func (mhu *MarketHoursUpdate) Save(ctx context.Context) (int, error) + func (mhu *MarketHoursUpdate) SaveX(ctx context.Context) int + func (mhu *MarketHoursUpdate) SetDate(t time.Time) *MarketHoursUpdate + func (mhu *MarketHoursUpdate) SetEndTime(t time.Time) *MarketHoursUpdate + func (mhu *MarketHoursUpdate) SetMarketInfo(m *MarketInfo) *MarketHoursUpdate + func (mhu *MarketHoursUpdate) SetMarketInfoID(id int) *MarketHoursUpdate + func (mhu *MarketHoursUpdate) SetNillableMarketInfoID(id *int) *MarketHoursUpdate + func (mhu *MarketHoursUpdate) SetStartTime(t time.Time) *MarketHoursUpdate + func (mhu *MarketHoursUpdate) Where(ps ...predicate.MarketHours) *MarketHoursUpdate + type MarketHoursUpdateOne struct + func (mhuo *MarketHoursUpdateOne) ClearMarketInfo() *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) Exec(ctx context.Context) error + func (mhuo *MarketHoursUpdateOne) ExecX(ctx context.Context) + func (mhuo *MarketHoursUpdateOne) Mutation() *MarketHoursMutation + func (mhuo *MarketHoursUpdateOne) Save(ctx context.Context) (*MarketHours, error) + func (mhuo *MarketHoursUpdateOne) SaveX(ctx context.Context) *MarketHours + func (mhuo *MarketHoursUpdateOne) Select(field string, fields ...string) *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) SetDate(t time.Time) *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) SetEndTime(t time.Time) *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) SetMarketInfo(m *MarketInfo) *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) SetMarketInfoID(id int) *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) SetNillableMarketInfoID(id *int) *MarketHoursUpdateOne + func (mhuo *MarketHoursUpdateOne) SetStartTime(t time.Time) *MarketHoursUpdateOne + type MarketInfo struct + Edges MarketInfoEdges + HoursEnd time.Time + HoursStart time.Time + ID int + func (mi *MarketInfo) QueryHours() *MarketHoursQuery + func (mi *MarketInfo) String() string + func (mi *MarketInfo) Unwrap() *MarketInfo + func (mi *MarketInfo) Update() *MarketInfoUpdateOne + type MarketInfoClient struct + func NewMarketInfoClient(c config) *MarketInfoClient + func (c *MarketInfoClient) Create() *MarketInfoCreate + func (c *MarketInfoClient) CreateBulk(builders ...*MarketInfoCreate) *MarketInfoCreateBulk + func (c *MarketInfoClient) Delete() *MarketInfoDelete + func (c *MarketInfoClient) DeleteOne(mi *MarketInfo) *MarketInfoDeleteOne + func (c *MarketInfoClient) DeleteOneID(id int) *MarketInfoDeleteOne + func (c *MarketInfoClient) Get(ctx context.Context, id int) (*MarketInfo, error) + func (c *MarketInfoClient) GetX(ctx context.Context, id int) *MarketInfo + func (c *MarketInfoClient) Hooks() []Hook + func (c *MarketInfoClient) Intercept(interceptors ...Interceptor) + func (c *MarketInfoClient) Interceptors() []Interceptor + func (c *MarketInfoClient) Query() *MarketInfoQuery + func (c *MarketInfoClient) QueryHours(mi *MarketInfo) *MarketHoursQuery + func (c *MarketInfoClient) Update() *MarketInfoUpdate + func (c *MarketInfoClient) UpdateOne(mi *MarketInfo) *MarketInfoUpdateOne + func (c *MarketInfoClient) UpdateOneID(id int) *MarketInfoUpdateOne + func (c *MarketInfoClient) Use(hooks ...Hook) + type MarketInfoCreate struct + func (mic *MarketInfoCreate) AddHourIDs(ids ...int) *MarketInfoCreate + func (mic *MarketInfoCreate) AddHours(m ...*MarketHours) *MarketInfoCreate + func (mic *MarketInfoCreate) Exec(ctx context.Context) error + func (mic *MarketInfoCreate) ExecX(ctx context.Context) + func (mic *MarketInfoCreate) Mutation() *MarketInfoMutation + func (mic *MarketInfoCreate) Save(ctx context.Context) (*MarketInfo, error) + func (mic *MarketInfoCreate) SaveX(ctx context.Context) *MarketInfo + func (mic *MarketInfoCreate) SetHoursEnd(t time.Time) *MarketInfoCreate + func (mic *MarketInfoCreate) SetHoursStart(t time.Time) *MarketInfoCreate + type MarketInfoCreateBulk struct + func (micb *MarketInfoCreateBulk) Exec(ctx context.Context) error + func (micb *MarketInfoCreateBulk) ExecX(ctx context.Context) + func (micb *MarketInfoCreateBulk) Save(ctx context.Context) ([]*MarketInfo, error) + func (micb *MarketInfoCreateBulk) SaveX(ctx context.Context) []*MarketInfo + type MarketInfoDelete struct + func (mid *MarketInfoDelete) Exec(ctx context.Context) (int, error) + func (mid *MarketInfoDelete) ExecX(ctx context.Context) int + func (mid *MarketInfoDelete) Where(ps ...predicate.MarketInfo) *MarketInfoDelete + type MarketInfoDeleteOne struct + func (mido *MarketInfoDeleteOne) Exec(ctx context.Context) error + func (mido *MarketInfoDeleteOne) ExecX(ctx context.Context) + type MarketInfoEdges struct + Hours []*MarketHours + func (e MarketInfoEdges) HoursOrErr() ([]*MarketHours, error) + type MarketInfoGroupBy struct + func (migb *MarketInfoGroupBy) Aggregate(fns ...AggregateFunc) *MarketInfoGroupBy + func (migb *MarketInfoGroupBy) Scan(ctx context.Context, v any) error + func (s *MarketInfoGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *MarketInfoGroupBy) BoolX(ctx context.Context) bool + func (s *MarketInfoGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *MarketInfoGroupBy) BoolsX(ctx context.Context) []bool + func (s *MarketInfoGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *MarketInfoGroupBy) Float64X(ctx context.Context) float64 + func (s *MarketInfoGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *MarketInfoGroupBy) Float64sX(ctx context.Context) []float64 + func (s *MarketInfoGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *MarketInfoGroupBy) IntX(ctx context.Context) int + func (s *MarketInfoGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *MarketInfoGroupBy) IntsX(ctx context.Context) []int + func (s *MarketInfoGroupBy) ScanX(ctx context.Context, v any) + func (s *MarketInfoGroupBy) String(ctx context.Context) (_ string, err error) + func (s *MarketInfoGroupBy) StringX(ctx context.Context) string + func (s *MarketInfoGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *MarketInfoGroupBy) StringsX(ctx context.Context) []string + type MarketInfoMutation struct + func (m *MarketInfoMutation) AddField(name string, value ent.Value) error + func (m *MarketInfoMutation) AddHourIDs(ids ...int) + func (m *MarketInfoMutation) AddedEdges() []string + func (m *MarketInfoMutation) AddedField(name string) (ent.Value, bool) + func (m *MarketInfoMutation) AddedFields() []string + func (m *MarketInfoMutation) AddedIDs(name string) []ent.Value + func (m *MarketInfoMutation) ClearEdge(name string) error + func (m *MarketInfoMutation) ClearField(name string) error + func (m *MarketInfoMutation) ClearHours() + func (m *MarketInfoMutation) ClearedEdges() []string + func (m *MarketInfoMutation) ClearedFields() []string + func (m *MarketInfoMutation) EdgeCleared(name string) bool + func (m *MarketInfoMutation) Field(name string) (ent.Value, bool) + func (m *MarketInfoMutation) FieldCleared(name string) bool + func (m *MarketInfoMutation) Fields() []string + func (m *MarketInfoMutation) HoursCleared() bool + func (m *MarketInfoMutation) HoursEnd() (r time.Time, exists bool) + func (m *MarketInfoMutation) HoursIDs() (ids []int) + func (m *MarketInfoMutation) HoursStart() (r time.Time, exists bool) + func (m *MarketInfoMutation) ID() (id int, exists bool) + func (m *MarketInfoMutation) IDs(ctx context.Context) ([]int, error) + func (m *MarketInfoMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MarketInfoMutation) OldHoursEnd(ctx context.Context) (v time.Time, err error) + func (m *MarketInfoMutation) OldHoursStart(ctx context.Context) (v time.Time, err error) + func (m *MarketInfoMutation) Op() Op + func (m *MarketInfoMutation) RemoveHourIDs(ids ...int) + func (m *MarketInfoMutation) RemovedEdges() []string + func (m *MarketInfoMutation) RemovedHoursIDs() (ids []int) + func (m *MarketInfoMutation) RemovedIDs(name string) []ent.Value + func (m *MarketInfoMutation) ResetEdge(name string) error + func (m *MarketInfoMutation) ResetField(name string) error + func (m *MarketInfoMutation) ResetHours() + func (m *MarketInfoMutation) ResetHoursEnd() + func (m *MarketInfoMutation) ResetHoursStart() + func (m *MarketInfoMutation) SetField(name string, value ent.Value) error + func (m *MarketInfoMutation) SetHoursEnd(t time.Time) + func (m *MarketInfoMutation) SetHoursStart(t time.Time) + func (m *MarketInfoMutation) SetOp(op Op) + func (m *MarketInfoMutation) Type() string + func (m *MarketInfoMutation) Where(ps ...predicate.MarketInfo) + func (m *MarketInfoMutation) WhereP(ps ...func(*sql.Selector)) + func (m MarketInfoMutation) Client() *Client + func (m MarketInfoMutation) Tx() (*Tx, error) + type MarketInfoQuery struct + func (miq *MarketInfoQuery) Aggregate(fns ...AggregateFunc) *MarketInfoSelect + func (miq *MarketInfoQuery) All(ctx context.Context) ([]*MarketInfo, error) + func (miq *MarketInfoQuery) AllX(ctx context.Context) []*MarketInfo + func (miq *MarketInfoQuery) Clone() *MarketInfoQuery + func (miq *MarketInfoQuery) Count(ctx context.Context) (int, error) + func (miq *MarketInfoQuery) CountX(ctx context.Context) int + func (miq *MarketInfoQuery) Exist(ctx context.Context) (bool, error) + func (miq *MarketInfoQuery) ExistX(ctx context.Context) bool + func (miq *MarketInfoQuery) First(ctx context.Context) (*MarketInfo, error) + func (miq *MarketInfoQuery) FirstID(ctx context.Context) (id int, err error) + func (miq *MarketInfoQuery) FirstIDX(ctx context.Context) int + func (miq *MarketInfoQuery) FirstX(ctx context.Context) *MarketInfo + func (miq *MarketInfoQuery) GroupBy(field string, fields ...string) *MarketInfoGroupBy + func (miq *MarketInfoQuery) IDs(ctx context.Context) ([]int, error) + func (miq *MarketInfoQuery) IDsX(ctx context.Context) []int + func (miq *MarketInfoQuery) Limit(limit int) *MarketInfoQuery + func (miq *MarketInfoQuery) Offset(offset int) *MarketInfoQuery + func (miq *MarketInfoQuery) Only(ctx context.Context) (*MarketInfo, error) + func (miq *MarketInfoQuery) OnlyID(ctx context.Context) (id int, err error) + func (miq *MarketInfoQuery) OnlyIDX(ctx context.Context) int + func (miq *MarketInfoQuery) OnlyX(ctx context.Context) *MarketInfo + func (miq *MarketInfoQuery) Order(o ...OrderFunc) *MarketInfoQuery + func (miq *MarketInfoQuery) QueryHours() *MarketHoursQuery + func (miq *MarketInfoQuery) Select(fields ...string) *MarketInfoSelect + func (miq *MarketInfoQuery) Unique(unique bool) *MarketInfoQuery + func (miq *MarketInfoQuery) Where(ps ...predicate.MarketInfo) *MarketInfoQuery + func (miq *MarketInfoQuery) WithHours(opts ...func(*MarketHoursQuery)) *MarketInfoQuery + type MarketInfoSelect struct + func (mis *MarketInfoSelect) Aggregate(fns ...AggregateFunc) *MarketInfoSelect + func (mis *MarketInfoSelect) Scan(ctx context.Context, v any) error + func (s *MarketInfoSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *MarketInfoSelect) BoolX(ctx context.Context) bool + func (s *MarketInfoSelect) Bools(ctx context.Context) ([]bool, error) + func (s *MarketInfoSelect) BoolsX(ctx context.Context) []bool + func (s *MarketInfoSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *MarketInfoSelect) Float64X(ctx context.Context) float64 + func (s *MarketInfoSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *MarketInfoSelect) Float64sX(ctx context.Context) []float64 + func (s *MarketInfoSelect) Int(ctx context.Context) (_ int, err error) + func (s *MarketInfoSelect) IntX(ctx context.Context) int + func (s *MarketInfoSelect) Ints(ctx context.Context) ([]int, error) + func (s *MarketInfoSelect) IntsX(ctx context.Context) []int + func (s *MarketInfoSelect) ScanX(ctx context.Context, v any) + func (s *MarketInfoSelect) String(ctx context.Context) (_ string, err error) + func (s *MarketInfoSelect) StringX(ctx context.Context) string + func (s *MarketInfoSelect) Strings(ctx context.Context) ([]string, error) + func (s *MarketInfoSelect) StringsX(ctx context.Context) []string + type MarketInfoUpdate struct + func (miu *MarketInfoUpdate) AddHourIDs(ids ...int) *MarketInfoUpdate + func (miu *MarketInfoUpdate) AddHours(m ...*MarketHours) *MarketInfoUpdate + func (miu *MarketInfoUpdate) ClearHours() *MarketInfoUpdate + func (miu *MarketInfoUpdate) Exec(ctx context.Context) error + func (miu *MarketInfoUpdate) ExecX(ctx context.Context) + func (miu *MarketInfoUpdate) Mutation() *MarketInfoMutation + func (miu *MarketInfoUpdate) RemoveHourIDs(ids ...int) *MarketInfoUpdate + func (miu *MarketInfoUpdate) RemoveHours(m ...*MarketHours) *MarketInfoUpdate + func (miu *MarketInfoUpdate) Save(ctx context.Context) (int, error) + func (miu *MarketInfoUpdate) SaveX(ctx context.Context) int + func (miu *MarketInfoUpdate) SetHoursEnd(t time.Time) *MarketInfoUpdate + func (miu *MarketInfoUpdate) SetHoursStart(t time.Time) *MarketInfoUpdate + func (miu *MarketInfoUpdate) Where(ps ...predicate.MarketInfo) *MarketInfoUpdate + type MarketInfoUpdateOne struct + func (miuo *MarketInfoUpdateOne) AddHourIDs(ids ...int) *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) AddHours(m ...*MarketHours) *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) ClearHours() *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) Exec(ctx context.Context) error + func (miuo *MarketInfoUpdateOne) ExecX(ctx context.Context) + func (miuo *MarketInfoUpdateOne) Mutation() *MarketInfoMutation + func (miuo *MarketInfoUpdateOne) RemoveHourIDs(ids ...int) *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) RemoveHours(m ...*MarketHours) *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) Save(ctx context.Context) (*MarketInfo, error) + func (miuo *MarketInfoUpdateOne) SaveX(ctx context.Context) *MarketInfo + func (miuo *MarketInfoUpdateOne) Select(field string, fields ...string) *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) SetHoursEnd(t time.Time) *MarketInfoUpdateOne + func (miuo *MarketInfoUpdateOne) SetHoursStart(t time.Time) *MarketInfoUpdateOne + type MarketInfos []*MarketInfo + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + 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 OrderFunc func(*sql.Selector) + func Asc(fields ...string) OrderFunc + func Desc(fields ...string) OrderFunc + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + 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 Split struct + Edges SplitEdges + ExecutionDate time.Time + From float64 + ID int + To float64 + func (s *Split) QueryStock() *EntityQuery + func (s *Split) String() string + func (s *Split) Unwrap() *Split + func (s *Split) Update() *SplitUpdateOne + type SplitClient struct + func NewSplitClient(c config) *SplitClient + func (c *SplitClient) Create() *SplitCreate + func (c *SplitClient) CreateBulk(builders ...*SplitCreate) *SplitCreateBulk + func (c *SplitClient) Delete() *SplitDelete + func (c *SplitClient) DeleteOne(s *Split) *SplitDeleteOne + func (c *SplitClient) DeleteOneID(id int) *SplitDeleteOne + func (c *SplitClient) Get(ctx context.Context, id int) (*Split, error) + func (c *SplitClient) GetX(ctx context.Context, id int) *Split + func (c *SplitClient) Hooks() []Hook + func (c *SplitClient) Intercept(interceptors ...Interceptor) + func (c *SplitClient) Interceptors() []Interceptor + func (c *SplitClient) Query() *SplitQuery + func (c *SplitClient) QueryStock(s *Split) *EntityQuery + func (c *SplitClient) Update() *SplitUpdate + func (c *SplitClient) UpdateOne(s *Split) *SplitUpdateOne + func (c *SplitClient) UpdateOneID(id int) *SplitUpdateOne + func (c *SplitClient) Use(hooks ...Hook) + type SplitCreate struct + func (sc *SplitCreate) Exec(ctx context.Context) error + func (sc *SplitCreate) ExecX(ctx context.Context) + func (sc *SplitCreate) Mutation() *SplitMutation + func (sc *SplitCreate) Save(ctx context.Context) (*Split, error) + func (sc *SplitCreate) SaveX(ctx context.Context) *Split + func (sc *SplitCreate) SetExecutionDate(t time.Time) *SplitCreate + func (sc *SplitCreate) SetFrom(f float64) *SplitCreate + func (sc *SplitCreate) SetNillableStockID(id *int) *SplitCreate + func (sc *SplitCreate) SetStock(e *Entity) *SplitCreate + func (sc *SplitCreate) SetStockID(id int) *SplitCreate + func (sc *SplitCreate) SetTo(f float64) *SplitCreate + type SplitCreateBulk struct + func (scb *SplitCreateBulk) Exec(ctx context.Context) error + func (scb *SplitCreateBulk) ExecX(ctx context.Context) + func (scb *SplitCreateBulk) Save(ctx context.Context) ([]*Split, error) + func (scb *SplitCreateBulk) SaveX(ctx context.Context) []*Split + type SplitDelete struct + func (sd *SplitDelete) Exec(ctx context.Context) (int, error) + func (sd *SplitDelete) ExecX(ctx context.Context) int + func (sd *SplitDelete) Where(ps ...predicate.Split) *SplitDelete + type SplitDeleteOne struct + func (sdo *SplitDeleteOne) Exec(ctx context.Context) error + func (sdo *SplitDeleteOne) ExecX(ctx context.Context) + type SplitEdges struct + Stock *Entity + func (e SplitEdges) StockOrErr() (*Entity, error) + type SplitGroupBy struct + func (s *SplitGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *SplitGroupBy) BoolX(ctx context.Context) bool + func (s *SplitGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *SplitGroupBy) BoolsX(ctx context.Context) []bool + func (s *SplitGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *SplitGroupBy) Float64X(ctx context.Context) float64 + func (s *SplitGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *SplitGroupBy) Float64sX(ctx context.Context) []float64 + func (s *SplitGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *SplitGroupBy) IntX(ctx context.Context) int + func (s *SplitGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *SplitGroupBy) IntsX(ctx context.Context) []int + func (s *SplitGroupBy) ScanX(ctx context.Context, v any) + func (s *SplitGroupBy) String(ctx context.Context) (_ string, err error) + func (s *SplitGroupBy) StringX(ctx context.Context) string + func (s *SplitGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *SplitGroupBy) StringsX(ctx context.Context) []string + func (sgb *SplitGroupBy) Aggregate(fns ...AggregateFunc) *SplitGroupBy + func (sgb *SplitGroupBy) Scan(ctx context.Context, v any) error + type SplitMutation struct + func (m *SplitMutation) AddField(name string, value ent.Value) error + func (m *SplitMutation) AddFrom(f float64) + func (m *SplitMutation) AddTo(f float64) + func (m *SplitMutation) AddedEdges() []string + func (m *SplitMutation) AddedField(name string) (ent.Value, bool) + func (m *SplitMutation) AddedFields() []string + func (m *SplitMutation) AddedFrom() (r float64, exists bool) + func (m *SplitMutation) AddedIDs(name string) []ent.Value + func (m *SplitMutation) AddedTo() (r float64, exists bool) + func (m *SplitMutation) ClearEdge(name string) error + func (m *SplitMutation) ClearField(name string) error + func (m *SplitMutation) ClearStock() + func (m *SplitMutation) ClearedEdges() []string + func (m *SplitMutation) ClearedFields() []string + func (m *SplitMutation) EdgeCleared(name string) bool + func (m *SplitMutation) ExecutionDate() (r time.Time, exists bool) + func (m *SplitMutation) Field(name string) (ent.Value, bool) + func (m *SplitMutation) FieldCleared(name string) bool + func (m *SplitMutation) Fields() []string + func (m *SplitMutation) From() (r float64, exists bool) + func (m *SplitMutation) ID() (id int, exists bool) + func (m *SplitMutation) IDs(ctx context.Context) ([]int, error) + func (m *SplitMutation) OldExecutionDate(ctx context.Context) (v time.Time, err error) + func (m *SplitMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SplitMutation) OldFrom(ctx context.Context) (v float64, err error) + func (m *SplitMutation) OldTo(ctx context.Context) (v float64, err error) + func (m *SplitMutation) Op() Op + func (m *SplitMutation) RemovedEdges() []string + func (m *SplitMutation) RemovedIDs(name string) []ent.Value + func (m *SplitMutation) ResetEdge(name string) error + func (m *SplitMutation) ResetExecutionDate() + func (m *SplitMutation) ResetField(name string) error + func (m *SplitMutation) ResetFrom() + func (m *SplitMutation) ResetStock() + func (m *SplitMutation) ResetTo() + func (m *SplitMutation) SetExecutionDate(t time.Time) + func (m *SplitMutation) SetField(name string, value ent.Value) error + func (m *SplitMutation) SetFrom(f float64) + func (m *SplitMutation) SetOp(op Op) + func (m *SplitMutation) SetStockID(id int) + func (m *SplitMutation) SetTo(f float64) + func (m *SplitMutation) StockCleared() bool + func (m *SplitMutation) StockID() (id int, exists bool) + func (m *SplitMutation) StockIDs() (ids []int) + func (m *SplitMutation) To() (r float64, exists bool) + func (m *SplitMutation) Type() string + func (m *SplitMutation) Where(ps ...predicate.Split) + func (m *SplitMutation) WhereP(ps ...func(*sql.Selector)) + func (m SplitMutation) Client() *Client + func (m SplitMutation) Tx() (*Tx, error) + type SplitQuery struct + func (sq *SplitQuery) Aggregate(fns ...AggregateFunc) *SplitSelect + func (sq *SplitQuery) All(ctx context.Context) ([]*Split, error) + func (sq *SplitQuery) AllX(ctx context.Context) []*Split + func (sq *SplitQuery) Clone() *SplitQuery + func (sq *SplitQuery) Count(ctx context.Context) (int, error) + func (sq *SplitQuery) CountX(ctx context.Context) int + func (sq *SplitQuery) Exist(ctx context.Context) (bool, error) + func (sq *SplitQuery) ExistX(ctx context.Context) bool + func (sq *SplitQuery) First(ctx context.Context) (*Split, error) + func (sq *SplitQuery) FirstID(ctx context.Context) (id int, err error) + func (sq *SplitQuery) FirstIDX(ctx context.Context) int + func (sq *SplitQuery) FirstX(ctx context.Context) *Split + func (sq *SplitQuery) GroupBy(field string, fields ...string) *SplitGroupBy + func (sq *SplitQuery) IDs(ctx context.Context) ([]int, error) + func (sq *SplitQuery) IDsX(ctx context.Context) []int + func (sq *SplitQuery) Limit(limit int) *SplitQuery + func (sq *SplitQuery) Offset(offset int) *SplitQuery + func (sq *SplitQuery) Only(ctx context.Context) (*Split, error) + func (sq *SplitQuery) OnlyID(ctx context.Context) (id int, err error) + func (sq *SplitQuery) OnlyIDX(ctx context.Context) int + func (sq *SplitQuery) OnlyX(ctx context.Context) *Split + func (sq *SplitQuery) Order(o ...OrderFunc) *SplitQuery + func (sq *SplitQuery) QueryStock() *EntityQuery + func (sq *SplitQuery) Select(fields ...string) *SplitSelect + func (sq *SplitQuery) Unique(unique bool) *SplitQuery + func (sq *SplitQuery) Where(ps ...predicate.Split) *SplitQuery + func (sq *SplitQuery) WithStock(opts ...func(*EntityQuery)) *SplitQuery + type SplitSelect struct + func (s *SplitSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *SplitSelect) BoolX(ctx context.Context) bool + func (s *SplitSelect) Bools(ctx context.Context) ([]bool, error) + func (s *SplitSelect) BoolsX(ctx context.Context) []bool + func (s *SplitSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *SplitSelect) Float64X(ctx context.Context) float64 + func (s *SplitSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *SplitSelect) Float64sX(ctx context.Context) []float64 + func (s *SplitSelect) Int(ctx context.Context) (_ int, err error) + func (s *SplitSelect) IntX(ctx context.Context) int + func (s *SplitSelect) Ints(ctx context.Context) ([]int, error) + func (s *SplitSelect) IntsX(ctx context.Context) []int + func (s *SplitSelect) ScanX(ctx context.Context, v any) + func (s *SplitSelect) String(ctx context.Context) (_ string, err error) + func (s *SplitSelect) StringX(ctx context.Context) string + func (s *SplitSelect) Strings(ctx context.Context) ([]string, error) + func (s *SplitSelect) StringsX(ctx context.Context) []string + func (ss *SplitSelect) Aggregate(fns ...AggregateFunc) *SplitSelect + func (ss *SplitSelect) Scan(ctx context.Context, v any) error + type SplitUpdate struct + func (su *SplitUpdate) AddFrom(f float64) *SplitUpdate + func (su *SplitUpdate) AddTo(f float64) *SplitUpdate + func (su *SplitUpdate) ClearStock() *SplitUpdate + func (su *SplitUpdate) Exec(ctx context.Context) error + func (su *SplitUpdate) ExecX(ctx context.Context) + func (su *SplitUpdate) Mutation() *SplitMutation + func (su *SplitUpdate) Save(ctx context.Context) (int, error) + func (su *SplitUpdate) SaveX(ctx context.Context) int + func (su *SplitUpdate) SetExecutionDate(t time.Time) *SplitUpdate + func (su *SplitUpdate) SetFrom(f float64) *SplitUpdate + func (su *SplitUpdate) SetNillableStockID(id *int) *SplitUpdate + func (su *SplitUpdate) SetStock(e *Entity) *SplitUpdate + func (su *SplitUpdate) SetStockID(id int) *SplitUpdate + func (su *SplitUpdate) SetTo(f float64) *SplitUpdate + func (su *SplitUpdate) Where(ps ...predicate.Split) *SplitUpdate + type SplitUpdateOne struct + func (suo *SplitUpdateOne) AddFrom(f float64) *SplitUpdateOne + func (suo *SplitUpdateOne) AddTo(f float64) *SplitUpdateOne + func (suo *SplitUpdateOne) ClearStock() *SplitUpdateOne + func (suo *SplitUpdateOne) Exec(ctx context.Context) error + func (suo *SplitUpdateOne) ExecX(ctx context.Context) + func (suo *SplitUpdateOne) Mutation() *SplitMutation + func (suo *SplitUpdateOne) Save(ctx context.Context) (*Split, error) + func (suo *SplitUpdateOne) SaveX(ctx context.Context) *Split + func (suo *SplitUpdateOne) Select(field string, fields ...string) *SplitUpdateOne + func (suo *SplitUpdateOne) SetExecutionDate(t time.Time) *SplitUpdateOne + func (suo *SplitUpdateOne) SetFrom(f float64) *SplitUpdateOne + func (suo *SplitUpdateOne) SetNillableStockID(id *int) *SplitUpdateOne + func (suo *SplitUpdateOne) SetStock(e *Entity) *SplitUpdateOne + func (suo *SplitUpdateOne) SetStockID(id int) *SplitUpdateOne + func (suo *SplitUpdateOne) SetTo(f float64) *SplitUpdateOne + type Splits []*Split + type TradeCondition struct + Condition string + Edges TradeConditionEdges + ID int + func (tc *TradeCondition) QueryRecord() *TradeRecordQuery + func (tc *TradeCondition) String() string + func (tc *TradeCondition) Unwrap() *TradeCondition + func (tc *TradeCondition) Update() *TradeConditionUpdateOne + type TradeConditionClient struct + func NewTradeConditionClient(c config) *TradeConditionClient + func (c *TradeConditionClient) Create() *TradeConditionCreate + func (c *TradeConditionClient) CreateBulk(builders ...*TradeConditionCreate) *TradeConditionCreateBulk + func (c *TradeConditionClient) Delete() *TradeConditionDelete + func (c *TradeConditionClient) DeleteOne(tc *TradeCondition) *TradeConditionDeleteOne + func (c *TradeConditionClient) DeleteOneID(id int) *TradeConditionDeleteOne + func (c *TradeConditionClient) Get(ctx context.Context, id int) (*TradeCondition, error) + func (c *TradeConditionClient) GetX(ctx context.Context, id int) *TradeCondition + func (c *TradeConditionClient) Hooks() []Hook + func (c *TradeConditionClient) Intercept(interceptors ...Interceptor) + func (c *TradeConditionClient) Interceptors() []Interceptor + func (c *TradeConditionClient) Query() *TradeConditionQuery + func (c *TradeConditionClient) QueryRecord(tc *TradeCondition) *TradeRecordQuery + func (c *TradeConditionClient) Update() *TradeConditionUpdate + func (c *TradeConditionClient) UpdateOne(tc *TradeCondition) *TradeConditionUpdateOne + func (c *TradeConditionClient) UpdateOneID(id int) *TradeConditionUpdateOne + func (c *TradeConditionClient) Use(hooks ...Hook) + type TradeConditionCreate struct + func (tcc *TradeConditionCreate) AddRecord(t ...*TradeRecord) *TradeConditionCreate + func (tcc *TradeConditionCreate) AddRecordIDs(ids ...int) *TradeConditionCreate + func (tcc *TradeConditionCreate) Exec(ctx context.Context) error + func (tcc *TradeConditionCreate) ExecX(ctx context.Context) + func (tcc *TradeConditionCreate) Mutation() *TradeConditionMutation + func (tcc *TradeConditionCreate) Save(ctx context.Context) (*TradeCondition, error) + func (tcc *TradeConditionCreate) SaveX(ctx context.Context) *TradeCondition + func (tcc *TradeConditionCreate) SetCondition(s string) *TradeConditionCreate + type TradeConditionCreateBulk struct + func (tccb *TradeConditionCreateBulk) Exec(ctx context.Context) error + func (tccb *TradeConditionCreateBulk) ExecX(ctx context.Context) + func (tccb *TradeConditionCreateBulk) Save(ctx context.Context) ([]*TradeCondition, error) + func (tccb *TradeConditionCreateBulk) SaveX(ctx context.Context) []*TradeCondition + type TradeConditionDelete struct + func (tcd *TradeConditionDelete) Exec(ctx context.Context) (int, error) + func (tcd *TradeConditionDelete) ExecX(ctx context.Context) int + func (tcd *TradeConditionDelete) Where(ps ...predicate.TradeCondition) *TradeConditionDelete + type TradeConditionDeleteOne struct + func (tcdo *TradeConditionDeleteOne) Exec(ctx context.Context) error + func (tcdo *TradeConditionDeleteOne) ExecX(ctx context.Context) + type TradeConditionEdges struct + Record []*TradeRecord + func (e TradeConditionEdges) RecordOrErr() ([]*TradeRecord, error) + type TradeConditionGroupBy struct + func (s *TradeConditionGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeConditionGroupBy) BoolX(ctx context.Context) bool + func (s *TradeConditionGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TradeConditionGroupBy) BoolsX(ctx context.Context) []bool + func (s *TradeConditionGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeConditionGroupBy) Float64X(ctx context.Context) float64 + func (s *TradeConditionGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeConditionGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TradeConditionGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TradeConditionGroupBy) IntX(ctx context.Context) int + func (s *TradeConditionGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TradeConditionGroupBy) IntsX(ctx context.Context) []int + func (s *TradeConditionGroupBy) ScanX(ctx context.Context, v any) + func (s *TradeConditionGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TradeConditionGroupBy) StringX(ctx context.Context) string + func (s *TradeConditionGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TradeConditionGroupBy) StringsX(ctx context.Context) []string + func (tcgb *TradeConditionGroupBy) Aggregate(fns ...AggregateFunc) *TradeConditionGroupBy + func (tcgb *TradeConditionGroupBy) Scan(ctx context.Context, v any) error + type TradeConditionMutation struct + func (m *TradeConditionMutation) AddField(name string, value ent.Value) error + func (m *TradeConditionMutation) AddRecordIDs(ids ...int) + func (m *TradeConditionMutation) AddedEdges() []string + func (m *TradeConditionMutation) AddedField(name string) (ent.Value, bool) + func (m *TradeConditionMutation) AddedFields() []string + func (m *TradeConditionMutation) AddedIDs(name string) []ent.Value + func (m *TradeConditionMutation) ClearEdge(name string) error + func (m *TradeConditionMutation) ClearField(name string) error + func (m *TradeConditionMutation) ClearRecord() + func (m *TradeConditionMutation) ClearedEdges() []string + func (m *TradeConditionMutation) ClearedFields() []string + func (m *TradeConditionMutation) Condition() (r string, exists bool) + func (m *TradeConditionMutation) EdgeCleared(name string) bool + func (m *TradeConditionMutation) Field(name string) (ent.Value, bool) + func (m *TradeConditionMutation) FieldCleared(name string) bool + func (m *TradeConditionMutation) Fields() []string + func (m *TradeConditionMutation) ID() (id int, exists bool) + func (m *TradeConditionMutation) IDs(ctx context.Context) ([]int, error) + func (m *TradeConditionMutation) OldCondition(ctx context.Context) (v string, err error) + func (m *TradeConditionMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TradeConditionMutation) Op() Op + func (m *TradeConditionMutation) RecordCleared() bool + func (m *TradeConditionMutation) RecordIDs() (ids []int) + func (m *TradeConditionMutation) RemoveRecordIDs(ids ...int) + func (m *TradeConditionMutation) RemovedEdges() []string + func (m *TradeConditionMutation) RemovedIDs(name string) []ent.Value + func (m *TradeConditionMutation) RemovedRecordIDs() (ids []int) + func (m *TradeConditionMutation) ResetCondition() + func (m *TradeConditionMutation) ResetEdge(name string) error + func (m *TradeConditionMutation) ResetField(name string) error + func (m *TradeConditionMutation) ResetRecord() + func (m *TradeConditionMutation) SetCondition(s string) + func (m *TradeConditionMutation) SetField(name string, value ent.Value) error + func (m *TradeConditionMutation) SetOp(op Op) + func (m *TradeConditionMutation) Type() string + func (m *TradeConditionMutation) Where(ps ...predicate.TradeCondition) + func (m *TradeConditionMutation) WhereP(ps ...func(*sql.Selector)) + func (m TradeConditionMutation) Client() *Client + func (m TradeConditionMutation) Tx() (*Tx, error) + type TradeConditionQuery struct + func (tcq *TradeConditionQuery) Aggregate(fns ...AggregateFunc) *TradeConditionSelect + func (tcq *TradeConditionQuery) All(ctx context.Context) ([]*TradeCondition, error) + func (tcq *TradeConditionQuery) AllX(ctx context.Context) []*TradeCondition + func (tcq *TradeConditionQuery) Clone() *TradeConditionQuery + func (tcq *TradeConditionQuery) Count(ctx context.Context) (int, error) + func (tcq *TradeConditionQuery) CountX(ctx context.Context) int + func (tcq *TradeConditionQuery) Exist(ctx context.Context) (bool, error) + func (tcq *TradeConditionQuery) ExistX(ctx context.Context) bool + func (tcq *TradeConditionQuery) First(ctx context.Context) (*TradeCondition, error) + func (tcq *TradeConditionQuery) FirstID(ctx context.Context) (id int, err error) + func (tcq *TradeConditionQuery) FirstIDX(ctx context.Context) int + func (tcq *TradeConditionQuery) FirstX(ctx context.Context) *TradeCondition + func (tcq *TradeConditionQuery) GroupBy(field string, fields ...string) *TradeConditionGroupBy + func (tcq *TradeConditionQuery) IDs(ctx context.Context) ([]int, error) + func (tcq *TradeConditionQuery) IDsX(ctx context.Context) []int + func (tcq *TradeConditionQuery) Limit(limit int) *TradeConditionQuery + func (tcq *TradeConditionQuery) Offset(offset int) *TradeConditionQuery + func (tcq *TradeConditionQuery) Only(ctx context.Context) (*TradeCondition, error) + func (tcq *TradeConditionQuery) OnlyID(ctx context.Context) (id int, err error) + func (tcq *TradeConditionQuery) OnlyIDX(ctx context.Context) int + func (tcq *TradeConditionQuery) OnlyX(ctx context.Context) *TradeCondition + func (tcq *TradeConditionQuery) Order(o ...OrderFunc) *TradeConditionQuery + func (tcq *TradeConditionQuery) QueryRecord() *TradeRecordQuery + func (tcq *TradeConditionQuery) Select(fields ...string) *TradeConditionSelect + func (tcq *TradeConditionQuery) Unique(unique bool) *TradeConditionQuery + func (tcq *TradeConditionQuery) Where(ps ...predicate.TradeCondition) *TradeConditionQuery + func (tcq *TradeConditionQuery) WithRecord(opts ...func(*TradeRecordQuery)) *TradeConditionQuery + type TradeConditionSelect struct + func (s *TradeConditionSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeConditionSelect) BoolX(ctx context.Context) bool + func (s *TradeConditionSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TradeConditionSelect) BoolsX(ctx context.Context) []bool + func (s *TradeConditionSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeConditionSelect) Float64X(ctx context.Context) float64 + func (s *TradeConditionSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeConditionSelect) Float64sX(ctx context.Context) []float64 + func (s *TradeConditionSelect) Int(ctx context.Context) (_ int, err error) + func (s *TradeConditionSelect) IntX(ctx context.Context) int + func (s *TradeConditionSelect) Ints(ctx context.Context) ([]int, error) + func (s *TradeConditionSelect) IntsX(ctx context.Context) []int + func (s *TradeConditionSelect) ScanX(ctx context.Context, v any) + func (s *TradeConditionSelect) String(ctx context.Context) (_ string, err error) + func (s *TradeConditionSelect) StringX(ctx context.Context) string + func (s *TradeConditionSelect) Strings(ctx context.Context) ([]string, error) + func (s *TradeConditionSelect) StringsX(ctx context.Context) []string + func (tcs *TradeConditionSelect) Aggregate(fns ...AggregateFunc) *TradeConditionSelect + func (tcs *TradeConditionSelect) Scan(ctx context.Context, v any) error + type TradeConditionUpdate struct + func (tcu *TradeConditionUpdate) AddRecord(t ...*TradeRecord) *TradeConditionUpdate + func (tcu *TradeConditionUpdate) AddRecordIDs(ids ...int) *TradeConditionUpdate + func (tcu *TradeConditionUpdate) ClearRecord() *TradeConditionUpdate + func (tcu *TradeConditionUpdate) Exec(ctx context.Context) error + func (tcu *TradeConditionUpdate) ExecX(ctx context.Context) + func (tcu *TradeConditionUpdate) Mutation() *TradeConditionMutation + func (tcu *TradeConditionUpdate) RemoveRecord(t ...*TradeRecord) *TradeConditionUpdate + func (tcu *TradeConditionUpdate) RemoveRecordIDs(ids ...int) *TradeConditionUpdate + func (tcu *TradeConditionUpdate) Save(ctx context.Context) (int, error) + func (tcu *TradeConditionUpdate) SaveX(ctx context.Context) int + func (tcu *TradeConditionUpdate) SetCondition(s string) *TradeConditionUpdate + func (tcu *TradeConditionUpdate) Where(ps ...predicate.TradeCondition) *TradeConditionUpdate + type TradeConditionUpdateOne struct + func (tcuo *TradeConditionUpdateOne) AddRecord(t ...*TradeRecord) *TradeConditionUpdateOne + func (tcuo *TradeConditionUpdateOne) AddRecordIDs(ids ...int) *TradeConditionUpdateOne + func (tcuo *TradeConditionUpdateOne) ClearRecord() *TradeConditionUpdateOne + func (tcuo *TradeConditionUpdateOne) Exec(ctx context.Context) error + func (tcuo *TradeConditionUpdateOne) ExecX(ctx context.Context) + func (tcuo *TradeConditionUpdateOne) Mutation() *TradeConditionMutation + func (tcuo *TradeConditionUpdateOne) RemoveRecord(t ...*TradeRecord) *TradeConditionUpdateOne + func (tcuo *TradeConditionUpdateOne) RemoveRecordIDs(ids ...int) *TradeConditionUpdateOne + func (tcuo *TradeConditionUpdateOne) Save(ctx context.Context) (*TradeCondition, error) + func (tcuo *TradeConditionUpdateOne) SaveX(ctx context.Context) *TradeCondition + func (tcuo *TradeConditionUpdateOne) Select(field string, fields ...string) *TradeConditionUpdateOne + func (tcuo *TradeConditionUpdateOne) SetCondition(s string) *TradeConditionUpdateOne + type TradeConditions []*TradeCondition + type TradeCorrection struct + Correction string + Edges TradeCorrectionEdges + ID int + func (tc *TradeCorrection) QueryRecord() *TradeRecordQuery + func (tc *TradeCorrection) String() string + func (tc *TradeCorrection) Unwrap() *TradeCorrection + func (tc *TradeCorrection) Update() *TradeCorrectionUpdateOne + type TradeCorrectionClient struct + func NewTradeCorrectionClient(c config) *TradeCorrectionClient + func (c *TradeCorrectionClient) Create() *TradeCorrectionCreate + func (c *TradeCorrectionClient) CreateBulk(builders ...*TradeCorrectionCreate) *TradeCorrectionCreateBulk + func (c *TradeCorrectionClient) Delete() *TradeCorrectionDelete + func (c *TradeCorrectionClient) DeleteOne(tc *TradeCorrection) *TradeCorrectionDeleteOne + func (c *TradeCorrectionClient) DeleteOneID(id int) *TradeCorrectionDeleteOne + func (c *TradeCorrectionClient) Get(ctx context.Context, id int) (*TradeCorrection, error) + func (c *TradeCorrectionClient) GetX(ctx context.Context, id int) *TradeCorrection + func (c *TradeCorrectionClient) Hooks() []Hook + func (c *TradeCorrectionClient) Intercept(interceptors ...Interceptor) + func (c *TradeCorrectionClient) Interceptors() []Interceptor + func (c *TradeCorrectionClient) Query() *TradeCorrectionQuery + func (c *TradeCorrectionClient) QueryRecord(tc *TradeCorrection) *TradeRecordQuery + func (c *TradeCorrectionClient) Update() *TradeCorrectionUpdate + func (c *TradeCorrectionClient) UpdateOne(tc *TradeCorrection) *TradeCorrectionUpdateOne + func (c *TradeCorrectionClient) UpdateOneID(id int) *TradeCorrectionUpdateOne + func (c *TradeCorrectionClient) Use(hooks ...Hook) + type TradeCorrectionCreate struct + func (tcc *TradeCorrectionCreate) AddRecord(t ...*TradeRecord) *TradeCorrectionCreate + func (tcc *TradeCorrectionCreate) AddRecordIDs(ids ...int) *TradeCorrectionCreate + func (tcc *TradeCorrectionCreate) Exec(ctx context.Context) error + func (tcc *TradeCorrectionCreate) ExecX(ctx context.Context) + func (tcc *TradeCorrectionCreate) Mutation() *TradeCorrectionMutation + func (tcc *TradeCorrectionCreate) Save(ctx context.Context) (*TradeCorrection, error) + func (tcc *TradeCorrectionCreate) SaveX(ctx context.Context) *TradeCorrection + func (tcc *TradeCorrectionCreate) SetCorrection(s string) *TradeCorrectionCreate + type TradeCorrectionCreateBulk struct + func (tccb *TradeCorrectionCreateBulk) Exec(ctx context.Context) error + func (tccb *TradeCorrectionCreateBulk) ExecX(ctx context.Context) + func (tccb *TradeCorrectionCreateBulk) Save(ctx context.Context) ([]*TradeCorrection, error) + func (tccb *TradeCorrectionCreateBulk) SaveX(ctx context.Context) []*TradeCorrection + type TradeCorrectionDelete struct + func (tcd *TradeCorrectionDelete) Exec(ctx context.Context) (int, error) + func (tcd *TradeCorrectionDelete) ExecX(ctx context.Context) int + func (tcd *TradeCorrectionDelete) Where(ps ...predicate.TradeCorrection) *TradeCorrectionDelete + type TradeCorrectionDeleteOne struct + func (tcdo *TradeCorrectionDeleteOne) Exec(ctx context.Context) error + func (tcdo *TradeCorrectionDeleteOne) ExecX(ctx context.Context) + type TradeCorrectionEdges struct + Record []*TradeRecord + func (e TradeCorrectionEdges) RecordOrErr() ([]*TradeRecord, error) + type TradeCorrectionGroupBy struct + func (s *TradeCorrectionGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeCorrectionGroupBy) BoolX(ctx context.Context) bool + func (s *TradeCorrectionGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TradeCorrectionGroupBy) BoolsX(ctx context.Context) []bool + func (s *TradeCorrectionGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeCorrectionGroupBy) Float64X(ctx context.Context) float64 + func (s *TradeCorrectionGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeCorrectionGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TradeCorrectionGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TradeCorrectionGroupBy) IntX(ctx context.Context) int + func (s *TradeCorrectionGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TradeCorrectionGroupBy) IntsX(ctx context.Context) []int + func (s *TradeCorrectionGroupBy) ScanX(ctx context.Context, v any) + func (s *TradeCorrectionGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TradeCorrectionGroupBy) StringX(ctx context.Context) string + func (s *TradeCorrectionGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TradeCorrectionGroupBy) StringsX(ctx context.Context) []string + func (tcgb *TradeCorrectionGroupBy) Aggregate(fns ...AggregateFunc) *TradeCorrectionGroupBy + func (tcgb *TradeCorrectionGroupBy) Scan(ctx context.Context, v any) error + type TradeCorrectionMutation struct + func (m *TradeCorrectionMutation) AddField(name string, value ent.Value) error + func (m *TradeCorrectionMutation) AddRecordIDs(ids ...int) + func (m *TradeCorrectionMutation) AddedEdges() []string + func (m *TradeCorrectionMutation) AddedField(name string) (ent.Value, bool) + func (m *TradeCorrectionMutation) AddedFields() []string + func (m *TradeCorrectionMutation) AddedIDs(name string) []ent.Value + func (m *TradeCorrectionMutation) ClearEdge(name string) error + func (m *TradeCorrectionMutation) ClearField(name string) error + func (m *TradeCorrectionMutation) ClearRecord() + func (m *TradeCorrectionMutation) ClearedEdges() []string + func (m *TradeCorrectionMutation) ClearedFields() []string + func (m *TradeCorrectionMutation) Correction() (r string, exists bool) + func (m *TradeCorrectionMutation) EdgeCleared(name string) bool + func (m *TradeCorrectionMutation) Field(name string) (ent.Value, bool) + func (m *TradeCorrectionMutation) FieldCleared(name string) bool + func (m *TradeCorrectionMutation) Fields() []string + func (m *TradeCorrectionMutation) ID() (id int, exists bool) + func (m *TradeCorrectionMutation) IDs(ctx context.Context) ([]int, error) + func (m *TradeCorrectionMutation) OldCorrection(ctx context.Context) (v string, err error) + func (m *TradeCorrectionMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TradeCorrectionMutation) Op() Op + func (m *TradeCorrectionMutation) RecordCleared() bool + func (m *TradeCorrectionMutation) RecordIDs() (ids []int) + func (m *TradeCorrectionMutation) RemoveRecordIDs(ids ...int) + func (m *TradeCorrectionMutation) RemovedEdges() []string + func (m *TradeCorrectionMutation) RemovedIDs(name string) []ent.Value + func (m *TradeCorrectionMutation) RemovedRecordIDs() (ids []int) + func (m *TradeCorrectionMutation) ResetCorrection() + func (m *TradeCorrectionMutation) ResetEdge(name string) error + func (m *TradeCorrectionMutation) ResetField(name string) error + func (m *TradeCorrectionMutation) ResetRecord() + func (m *TradeCorrectionMutation) SetCorrection(s string) + func (m *TradeCorrectionMutation) SetField(name string, value ent.Value) error + func (m *TradeCorrectionMutation) SetOp(op Op) + func (m *TradeCorrectionMutation) Type() string + func (m *TradeCorrectionMutation) Where(ps ...predicate.TradeCorrection) + func (m *TradeCorrectionMutation) WhereP(ps ...func(*sql.Selector)) + func (m TradeCorrectionMutation) Client() *Client + func (m TradeCorrectionMutation) Tx() (*Tx, error) + type TradeCorrectionQuery struct + func (tcq *TradeCorrectionQuery) Aggregate(fns ...AggregateFunc) *TradeCorrectionSelect + func (tcq *TradeCorrectionQuery) All(ctx context.Context) ([]*TradeCorrection, error) + func (tcq *TradeCorrectionQuery) AllX(ctx context.Context) []*TradeCorrection + func (tcq *TradeCorrectionQuery) Clone() *TradeCorrectionQuery + func (tcq *TradeCorrectionQuery) Count(ctx context.Context) (int, error) + func (tcq *TradeCorrectionQuery) CountX(ctx context.Context) int + func (tcq *TradeCorrectionQuery) Exist(ctx context.Context) (bool, error) + func (tcq *TradeCorrectionQuery) ExistX(ctx context.Context) bool + func (tcq *TradeCorrectionQuery) First(ctx context.Context) (*TradeCorrection, error) + func (tcq *TradeCorrectionQuery) FirstID(ctx context.Context) (id int, err error) + func (tcq *TradeCorrectionQuery) FirstIDX(ctx context.Context) int + func (tcq *TradeCorrectionQuery) FirstX(ctx context.Context) *TradeCorrection + func (tcq *TradeCorrectionQuery) GroupBy(field string, fields ...string) *TradeCorrectionGroupBy + func (tcq *TradeCorrectionQuery) IDs(ctx context.Context) ([]int, error) + func (tcq *TradeCorrectionQuery) IDsX(ctx context.Context) []int + func (tcq *TradeCorrectionQuery) Limit(limit int) *TradeCorrectionQuery + func (tcq *TradeCorrectionQuery) Offset(offset int) *TradeCorrectionQuery + func (tcq *TradeCorrectionQuery) Only(ctx context.Context) (*TradeCorrection, error) + func (tcq *TradeCorrectionQuery) OnlyID(ctx context.Context) (id int, err error) + func (tcq *TradeCorrectionQuery) OnlyIDX(ctx context.Context) int + func (tcq *TradeCorrectionQuery) OnlyX(ctx context.Context) *TradeCorrection + func (tcq *TradeCorrectionQuery) Order(o ...OrderFunc) *TradeCorrectionQuery + func (tcq *TradeCorrectionQuery) QueryRecord() *TradeRecordQuery + func (tcq *TradeCorrectionQuery) Select(fields ...string) *TradeCorrectionSelect + func (tcq *TradeCorrectionQuery) Unique(unique bool) *TradeCorrectionQuery + func (tcq *TradeCorrectionQuery) Where(ps ...predicate.TradeCorrection) *TradeCorrectionQuery + func (tcq *TradeCorrectionQuery) WithRecord(opts ...func(*TradeRecordQuery)) *TradeCorrectionQuery + type TradeCorrectionSelect struct + func (s *TradeCorrectionSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeCorrectionSelect) BoolX(ctx context.Context) bool + func (s *TradeCorrectionSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TradeCorrectionSelect) BoolsX(ctx context.Context) []bool + func (s *TradeCorrectionSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeCorrectionSelect) Float64X(ctx context.Context) float64 + func (s *TradeCorrectionSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeCorrectionSelect) Float64sX(ctx context.Context) []float64 + func (s *TradeCorrectionSelect) Int(ctx context.Context) (_ int, err error) + func (s *TradeCorrectionSelect) IntX(ctx context.Context) int + func (s *TradeCorrectionSelect) Ints(ctx context.Context) ([]int, error) + func (s *TradeCorrectionSelect) IntsX(ctx context.Context) []int + func (s *TradeCorrectionSelect) ScanX(ctx context.Context, v any) + func (s *TradeCorrectionSelect) String(ctx context.Context) (_ string, err error) + func (s *TradeCorrectionSelect) StringX(ctx context.Context) string + func (s *TradeCorrectionSelect) Strings(ctx context.Context) ([]string, error) + func (s *TradeCorrectionSelect) StringsX(ctx context.Context) []string + func (tcs *TradeCorrectionSelect) Aggregate(fns ...AggregateFunc) *TradeCorrectionSelect + func (tcs *TradeCorrectionSelect) Scan(ctx context.Context, v any) error + type TradeCorrectionUpdate struct + func (tcu *TradeCorrectionUpdate) AddRecord(t ...*TradeRecord) *TradeCorrectionUpdate + func (tcu *TradeCorrectionUpdate) AddRecordIDs(ids ...int) *TradeCorrectionUpdate + func (tcu *TradeCorrectionUpdate) ClearRecord() *TradeCorrectionUpdate + func (tcu *TradeCorrectionUpdate) Exec(ctx context.Context) error + func (tcu *TradeCorrectionUpdate) ExecX(ctx context.Context) + func (tcu *TradeCorrectionUpdate) Mutation() *TradeCorrectionMutation + func (tcu *TradeCorrectionUpdate) RemoveRecord(t ...*TradeRecord) *TradeCorrectionUpdate + func (tcu *TradeCorrectionUpdate) RemoveRecordIDs(ids ...int) *TradeCorrectionUpdate + func (tcu *TradeCorrectionUpdate) Save(ctx context.Context) (int, error) + func (tcu *TradeCorrectionUpdate) SaveX(ctx context.Context) int + func (tcu *TradeCorrectionUpdate) SetCorrection(s string) *TradeCorrectionUpdate + func (tcu *TradeCorrectionUpdate) Where(ps ...predicate.TradeCorrection) *TradeCorrectionUpdate + type TradeCorrectionUpdateOne struct + func (tcuo *TradeCorrectionUpdateOne) AddRecord(t ...*TradeRecord) *TradeCorrectionUpdateOne + func (tcuo *TradeCorrectionUpdateOne) AddRecordIDs(ids ...int) *TradeCorrectionUpdateOne + func (tcuo *TradeCorrectionUpdateOne) ClearRecord() *TradeCorrectionUpdateOne + func (tcuo *TradeCorrectionUpdateOne) Exec(ctx context.Context) error + func (tcuo *TradeCorrectionUpdateOne) ExecX(ctx context.Context) + func (tcuo *TradeCorrectionUpdateOne) Mutation() *TradeCorrectionMutation + func (tcuo *TradeCorrectionUpdateOne) RemoveRecord(t ...*TradeRecord) *TradeCorrectionUpdateOne + func (tcuo *TradeCorrectionUpdateOne) RemoveRecordIDs(ids ...int) *TradeCorrectionUpdateOne + func (tcuo *TradeCorrectionUpdateOne) Save(ctx context.Context) (*TradeCorrection, error) + func (tcuo *TradeCorrectionUpdateOne) SaveX(ctx context.Context) *TradeCorrection + func (tcuo *TradeCorrectionUpdateOne) Select(field string, fields ...string) *TradeCorrectionUpdateOne + func (tcuo *TradeCorrectionUpdateOne) SetCorrection(s string) *TradeCorrectionUpdateOne + type TradeCorrections []*TradeCorrection + type TradeRecord struct + Edges TradeRecordEdges + ID int + Price float64 + TimeRangeID int + Timestamp time.Time + Volume int32 + func (tr *TradeRecord) QueryConditions() *TradeConditionQuery + func (tr *TradeRecord) QueryCorrection() *TradeCorrectionQuery + func (tr *TradeRecord) QueryExchange() *ExchangeQuery + func (tr *TradeRecord) QueryTimeRange() *TradeTimeRangeQuery + func (tr *TradeRecord) String() string + func (tr *TradeRecord) Unwrap() *TradeRecord + func (tr *TradeRecord) Update() *TradeRecordUpdateOne + type TradeRecordClient struct + func NewTradeRecordClient(c config) *TradeRecordClient + func (c *TradeRecordClient) Create() *TradeRecordCreate + func (c *TradeRecordClient) CreateBulk(builders ...*TradeRecordCreate) *TradeRecordCreateBulk + func (c *TradeRecordClient) Delete() *TradeRecordDelete + func (c *TradeRecordClient) DeleteOne(tr *TradeRecord) *TradeRecordDeleteOne + func (c *TradeRecordClient) DeleteOneID(id int) *TradeRecordDeleteOne + func (c *TradeRecordClient) Get(ctx context.Context, id int) (*TradeRecord, error) + func (c *TradeRecordClient) GetX(ctx context.Context, id int) *TradeRecord + func (c *TradeRecordClient) Hooks() []Hook + func (c *TradeRecordClient) Intercept(interceptors ...Interceptor) + func (c *TradeRecordClient) Interceptors() []Interceptor + func (c *TradeRecordClient) Query() *TradeRecordQuery + func (c *TradeRecordClient) QueryConditions(tr *TradeRecord) *TradeConditionQuery + func (c *TradeRecordClient) QueryCorrection(tr *TradeRecord) *TradeCorrectionQuery + func (c *TradeRecordClient) QueryExchange(tr *TradeRecord) *ExchangeQuery + func (c *TradeRecordClient) QueryTimeRange(tr *TradeRecord) *TradeTimeRangeQuery + func (c *TradeRecordClient) Update() *TradeRecordUpdate + func (c *TradeRecordClient) UpdateOne(tr *TradeRecord) *TradeRecordUpdateOne + func (c *TradeRecordClient) UpdateOneID(id int) *TradeRecordUpdateOne + func (c *TradeRecordClient) Use(hooks ...Hook) + type TradeRecordCreate struct + func (trc *TradeRecordCreate) AddConditionIDs(ids ...int) *TradeRecordCreate + func (trc *TradeRecordCreate) AddConditions(t ...*TradeCondition) *TradeRecordCreate + func (trc *TradeRecordCreate) AddCorrection(t ...*TradeCorrection) *TradeRecordCreate + func (trc *TradeRecordCreate) AddCorrectionIDs(ids ...int) *TradeRecordCreate + func (trc *TradeRecordCreate) AddExchange(e ...*Exchange) *TradeRecordCreate + func (trc *TradeRecordCreate) AddExchangeIDs(ids ...int) *TradeRecordCreate + func (trc *TradeRecordCreate) Exec(ctx context.Context) error + func (trc *TradeRecordCreate) ExecX(ctx context.Context) + func (trc *TradeRecordCreate) Mutation() *TradeRecordMutation + func (trc *TradeRecordCreate) Save(ctx context.Context) (*TradeRecord, error) + func (trc *TradeRecordCreate) SaveX(ctx context.Context) *TradeRecord + func (trc *TradeRecordCreate) SetPrice(f float64) *TradeRecordCreate + func (trc *TradeRecordCreate) SetTimeRange(t *TradeTimeRange) *TradeRecordCreate + func (trc *TradeRecordCreate) SetTimeRangeID(i int) *TradeRecordCreate + func (trc *TradeRecordCreate) SetTimestamp(t time.Time) *TradeRecordCreate + func (trc *TradeRecordCreate) SetVolume(i int32) *TradeRecordCreate + type TradeRecordCreateBulk struct + func (trcb *TradeRecordCreateBulk) Exec(ctx context.Context) error + func (trcb *TradeRecordCreateBulk) ExecX(ctx context.Context) + func (trcb *TradeRecordCreateBulk) Save(ctx context.Context) ([]*TradeRecord, error) + func (trcb *TradeRecordCreateBulk) SaveX(ctx context.Context) []*TradeRecord + type TradeRecordDelete struct + func (trd *TradeRecordDelete) Exec(ctx context.Context) (int, error) + func (trd *TradeRecordDelete) ExecX(ctx context.Context) int + func (trd *TradeRecordDelete) Where(ps ...predicate.TradeRecord) *TradeRecordDelete + type TradeRecordDeleteOne struct + func (trdo *TradeRecordDeleteOne) Exec(ctx context.Context) error + func (trdo *TradeRecordDeleteOne) ExecX(ctx context.Context) + type TradeRecordEdges struct + Conditions []*TradeCondition + Correction []*TradeCorrection + Exchange []*Exchange + TimeRange *TradeTimeRange + func (e TradeRecordEdges) ConditionsOrErr() ([]*TradeCondition, error) + func (e TradeRecordEdges) CorrectionOrErr() ([]*TradeCorrection, error) + func (e TradeRecordEdges) ExchangeOrErr() ([]*Exchange, error) + func (e TradeRecordEdges) TimeRangeOrErr() (*TradeTimeRange, error) + type TradeRecordGroupBy struct + func (s *TradeRecordGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeRecordGroupBy) BoolX(ctx context.Context) bool + func (s *TradeRecordGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TradeRecordGroupBy) BoolsX(ctx context.Context) []bool + func (s *TradeRecordGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeRecordGroupBy) Float64X(ctx context.Context) float64 + func (s *TradeRecordGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeRecordGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TradeRecordGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TradeRecordGroupBy) IntX(ctx context.Context) int + func (s *TradeRecordGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TradeRecordGroupBy) IntsX(ctx context.Context) []int + func (s *TradeRecordGroupBy) ScanX(ctx context.Context, v any) + func (s *TradeRecordGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TradeRecordGroupBy) StringX(ctx context.Context) string + func (s *TradeRecordGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TradeRecordGroupBy) StringsX(ctx context.Context) []string + func (trgb *TradeRecordGroupBy) Aggregate(fns ...AggregateFunc) *TradeRecordGroupBy + func (trgb *TradeRecordGroupBy) Scan(ctx context.Context, v any) error + type TradeRecordMutation struct + func (m *TradeRecordMutation) AddConditionIDs(ids ...int) + func (m *TradeRecordMutation) AddCorrectionIDs(ids ...int) + func (m *TradeRecordMutation) AddExchangeIDs(ids ...int) + func (m *TradeRecordMutation) AddField(name string, value ent.Value) error + func (m *TradeRecordMutation) AddPrice(f float64) + func (m *TradeRecordMutation) AddVolume(i int32) + func (m *TradeRecordMutation) AddedEdges() []string + func (m *TradeRecordMutation) AddedField(name string) (ent.Value, bool) + func (m *TradeRecordMutation) AddedFields() []string + func (m *TradeRecordMutation) AddedIDs(name string) []ent.Value + func (m *TradeRecordMutation) AddedPrice() (r float64, exists bool) + func (m *TradeRecordMutation) AddedVolume() (r int32, exists bool) + func (m *TradeRecordMutation) ClearConditions() + func (m *TradeRecordMutation) ClearCorrection() + func (m *TradeRecordMutation) ClearEdge(name string) error + func (m *TradeRecordMutation) ClearExchange() + func (m *TradeRecordMutation) ClearField(name string) error + func (m *TradeRecordMutation) ClearTimeRange() + func (m *TradeRecordMutation) ClearedEdges() []string + func (m *TradeRecordMutation) ClearedFields() []string + func (m *TradeRecordMutation) ConditionsCleared() bool + func (m *TradeRecordMutation) ConditionsIDs() (ids []int) + func (m *TradeRecordMutation) CorrectionCleared() bool + func (m *TradeRecordMutation) CorrectionIDs() (ids []int) + func (m *TradeRecordMutation) EdgeCleared(name string) bool + func (m *TradeRecordMutation) ExchangeCleared() bool + func (m *TradeRecordMutation) ExchangeIDs() (ids []int) + func (m *TradeRecordMutation) Field(name string) (ent.Value, bool) + func (m *TradeRecordMutation) FieldCleared(name string) bool + func (m *TradeRecordMutation) Fields() []string + func (m *TradeRecordMutation) ID() (id int, exists bool) + func (m *TradeRecordMutation) IDs(ctx context.Context) ([]int, error) + func (m *TradeRecordMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TradeRecordMutation) OldPrice(ctx context.Context) (v float64, err error) + func (m *TradeRecordMutation) OldTimeRangeID(ctx context.Context) (v int, err error) + func (m *TradeRecordMutation) OldTimestamp(ctx context.Context) (v time.Time, err error) + func (m *TradeRecordMutation) OldVolume(ctx context.Context) (v int32, err error) + func (m *TradeRecordMutation) Op() Op + func (m *TradeRecordMutation) Price() (r float64, exists bool) + func (m *TradeRecordMutation) RemoveConditionIDs(ids ...int) + func (m *TradeRecordMutation) RemoveCorrectionIDs(ids ...int) + func (m *TradeRecordMutation) RemoveExchangeIDs(ids ...int) + func (m *TradeRecordMutation) RemovedConditionsIDs() (ids []int) + func (m *TradeRecordMutation) RemovedCorrectionIDs() (ids []int) + func (m *TradeRecordMutation) RemovedEdges() []string + func (m *TradeRecordMutation) RemovedExchangeIDs() (ids []int) + func (m *TradeRecordMutation) RemovedIDs(name string) []ent.Value + func (m *TradeRecordMutation) ResetConditions() + func (m *TradeRecordMutation) ResetCorrection() + func (m *TradeRecordMutation) ResetEdge(name string) error + func (m *TradeRecordMutation) ResetExchange() + func (m *TradeRecordMutation) ResetField(name string) error + func (m *TradeRecordMutation) ResetPrice() + func (m *TradeRecordMutation) ResetTimeRange() + func (m *TradeRecordMutation) ResetTimeRangeID() + func (m *TradeRecordMutation) ResetTimestamp() + func (m *TradeRecordMutation) ResetVolume() + func (m *TradeRecordMutation) SetField(name string, value ent.Value) error + func (m *TradeRecordMutation) SetOp(op Op) + func (m *TradeRecordMutation) SetPrice(f float64) + func (m *TradeRecordMutation) SetTimeRangeID(i int) + func (m *TradeRecordMutation) SetTimestamp(t time.Time) + func (m *TradeRecordMutation) SetVolume(i int32) + func (m *TradeRecordMutation) TimeRangeCleared() bool + func (m *TradeRecordMutation) TimeRangeID() (r int, exists bool) + func (m *TradeRecordMutation) TimeRangeIDs() (ids []int) + func (m *TradeRecordMutation) Timestamp() (r time.Time, exists bool) + func (m *TradeRecordMutation) Type() string + func (m *TradeRecordMutation) Volume() (r int32, exists bool) + func (m *TradeRecordMutation) Where(ps ...predicate.TradeRecord) + func (m *TradeRecordMutation) WhereP(ps ...func(*sql.Selector)) + func (m TradeRecordMutation) Client() *Client + func (m TradeRecordMutation) Tx() (*Tx, error) + type TradeRecordQuery struct + func (trq *TradeRecordQuery) Aggregate(fns ...AggregateFunc) *TradeRecordSelect + func (trq *TradeRecordQuery) All(ctx context.Context) ([]*TradeRecord, error) + func (trq *TradeRecordQuery) AllX(ctx context.Context) []*TradeRecord + func (trq *TradeRecordQuery) Clone() *TradeRecordQuery + func (trq *TradeRecordQuery) Count(ctx context.Context) (int, error) + func (trq *TradeRecordQuery) CountX(ctx context.Context) int + func (trq *TradeRecordQuery) Exist(ctx context.Context) (bool, error) + func (trq *TradeRecordQuery) ExistX(ctx context.Context) bool + func (trq *TradeRecordQuery) First(ctx context.Context) (*TradeRecord, error) + func (trq *TradeRecordQuery) FirstID(ctx context.Context) (id int, err error) + func (trq *TradeRecordQuery) FirstIDX(ctx context.Context) int + func (trq *TradeRecordQuery) FirstX(ctx context.Context) *TradeRecord + func (trq *TradeRecordQuery) GroupBy(field string, fields ...string) *TradeRecordGroupBy + func (trq *TradeRecordQuery) IDs(ctx context.Context) ([]int, error) + func (trq *TradeRecordQuery) IDsX(ctx context.Context) []int + func (trq *TradeRecordQuery) Limit(limit int) *TradeRecordQuery + func (trq *TradeRecordQuery) Offset(offset int) *TradeRecordQuery + func (trq *TradeRecordQuery) Only(ctx context.Context) (*TradeRecord, error) + func (trq *TradeRecordQuery) OnlyID(ctx context.Context) (id int, err error) + func (trq *TradeRecordQuery) OnlyIDX(ctx context.Context) int + func (trq *TradeRecordQuery) OnlyX(ctx context.Context) *TradeRecord + func (trq *TradeRecordQuery) Order(o ...OrderFunc) *TradeRecordQuery + func (trq *TradeRecordQuery) QueryConditions() *TradeConditionQuery + func (trq *TradeRecordQuery) QueryCorrection() *TradeCorrectionQuery + func (trq *TradeRecordQuery) QueryExchange() *ExchangeQuery + func (trq *TradeRecordQuery) QueryTimeRange() *TradeTimeRangeQuery + func (trq *TradeRecordQuery) Select(fields ...string) *TradeRecordSelect + func (trq *TradeRecordQuery) Unique(unique bool) *TradeRecordQuery + func (trq *TradeRecordQuery) Where(ps ...predicate.TradeRecord) *TradeRecordQuery + func (trq *TradeRecordQuery) WithConditions(opts ...func(*TradeConditionQuery)) *TradeRecordQuery + func (trq *TradeRecordQuery) WithCorrection(opts ...func(*TradeCorrectionQuery)) *TradeRecordQuery + func (trq *TradeRecordQuery) WithExchange(opts ...func(*ExchangeQuery)) *TradeRecordQuery + func (trq *TradeRecordQuery) WithTimeRange(opts ...func(*TradeTimeRangeQuery)) *TradeRecordQuery + type TradeRecordSelect struct + func (s *TradeRecordSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeRecordSelect) BoolX(ctx context.Context) bool + func (s *TradeRecordSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TradeRecordSelect) BoolsX(ctx context.Context) []bool + func (s *TradeRecordSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeRecordSelect) Float64X(ctx context.Context) float64 + func (s *TradeRecordSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeRecordSelect) Float64sX(ctx context.Context) []float64 + func (s *TradeRecordSelect) Int(ctx context.Context) (_ int, err error) + func (s *TradeRecordSelect) IntX(ctx context.Context) int + func (s *TradeRecordSelect) Ints(ctx context.Context) ([]int, error) + func (s *TradeRecordSelect) IntsX(ctx context.Context) []int + func (s *TradeRecordSelect) ScanX(ctx context.Context, v any) + func (s *TradeRecordSelect) String(ctx context.Context) (_ string, err error) + func (s *TradeRecordSelect) StringX(ctx context.Context) string + func (s *TradeRecordSelect) Strings(ctx context.Context) ([]string, error) + func (s *TradeRecordSelect) StringsX(ctx context.Context) []string + func (trs *TradeRecordSelect) Aggregate(fns ...AggregateFunc) *TradeRecordSelect + func (trs *TradeRecordSelect) Scan(ctx context.Context, v any) error + type TradeRecordUpdate struct + func (tru *TradeRecordUpdate) AddConditionIDs(ids ...int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddConditions(t ...*TradeCondition) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddCorrection(t ...*TradeCorrection) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddCorrectionIDs(ids ...int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddExchange(e ...*Exchange) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddExchangeIDs(ids ...int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddPrice(f float64) *TradeRecordUpdate + func (tru *TradeRecordUpdate) AddVolume(i int32) *TradeRecordUpdate + func (tru *TradeRecordUpdate) ClearConditions() *TradeRecordUpdate + func (tru *TradeRecordUpdate) ClearCorrection() *TradeRecordUpdate + func (tru *TradeRecordUpdate) ClearExchange() *TradeRecordUpdate + func (tru *TradeRecordUpdate) ClearTimeRange() *TradeRecordUpdate + func (tru *TradeRecordUpdate) Exec(ctx context.Context) error + func (tru *TradeRecordUpdate) ExecX(ctx context.Context) + func (tru *TradeRecordUpdate) Mutation() *TradeRecordMutation + func (tru *TradeRecordUpdate) RemoveConditionIDs(ids ...int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) RemoveConditions(t ...*TradeCondition) *TradeRecordUpdate + func (tru *TradeRecordUpdate) RemoveCorrection(t ...*TradeCorrection) *TradeRecordUpdate + func (tru *TradeRecordUpdate) RemoveCorrectionIDs(ids ...int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) RemoveExchange(e ...*Exchange) *TradeRecordUpdate + func (tru *TradeRecordUpdate) RemoveExchangeIDs(ids ...int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) Save(ctx context.Context) (int, error) + func (tru *TradeRecordUpdate) SaveX(ctx context.Context) int + func (tru *TradeRecordUpdate) SetPrice(f float64) *TradeRecordUpdate + func (tru *TradeRecordUpdate) SetTimeRange(t *TradeTimeRange) *TradeRecordUpdate + func (tru *TradeRecordUpdate) SetTimeRangeID(i int) *TradeRecordUpdate + func (tru *TradeRecordUpdate) SetTimestamp(t time.Time) *TradeRecordUpdate + func (tru *TradeRecordUpdate) SetVolume(i int32) *TradeRecordUpdate + func (tru *TradeRecordUpdate) Where(ps ...predicate.TradeRecord) *TradeRecordUpdate + type TradeRecordUpdateOne struct + func (truo *TradeRecordUpdateOne) AddConditionIDs(ids ...int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddConditions(t ...*TradeCondition) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddCorrection(t ...*TradeCorrection) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddCorrectionIDs(ids ...int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddExchange(e ...*Exchange) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddExchangeIDs(ids ...int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddPrice(f float64) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) AddVolume(i int32) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) ClearConditions() *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) ClearCorrection() *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) ClearExchange() *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) ClearTimeRange() *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) Exec(ctx context.Context) error + func (truo *TradeRecordUpdateOne) ExecX(ctx context.Context) + func (truo *TradeRecordUpdateOne) Mutation() *TradeRecordMutation + func (truo *TradeRecordUpdateOne) RemoveConditionIDs(ids ...int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) RemoveConditions(t ...*TradeCondition) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) RemoveCorrection(t ...*TradeCorrection) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) RemoveCorrectionIDs(ids ...int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) RemoveExchange(e ...*Exchange) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) RemoveExchangeIDs(ids ...int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) Save(ctx context.Context) (*TradeRecord, error) + func (truo *TradeRecordUpdateOne) SaveX(ctx context.Context) *TradeRecord + func (truo *TradeRecordUpdateOne) Select(field string, fields ...string) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) SetPrice(f float64) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) SetTimeRange(t *TradeTimeRange) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) SetTimeRangeID(i int) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) SetTimestamp(t time.Time) *TradeRecordUpdateOne + func (truo *TradeRecordUpdateOne) SetVolume(i int32) *TradeRecordUpdateOne + type TradeRecords []*TradeRecord + type TradeTimeRange struct + Edges TradeTimeRangeEdges + End time.Time + ID int + IntervalID int + Start time.Time + func (ttr *TradeTimeRange) QueryInterval() *IntervalQuery + func (ttr *TradeTimeRange) QueryRecords() *TradeRecordQuery + func (ttr *TradeTimeRange) String() string + func (ttr *TradeTimeRange) Unwrap() *TradeTimeRange + func (ttr *TradeTimeRange) Update() *TradeTimeRangeUpdateOne + type TradeTimeRangeClient struct + func NewTradeTimeRangeClient(c config) *TradeTimeRangeClient + func (c *TradeTimeRangeClient) Create() *TradeTimeRangeCreate + func (c *TradeTimeRangeClient) CreateBulk(builders ...*TradeTimeRangeCreate) *TradeTimeRangeCreateBulk + func (c *TradeTimeRangeClient) Delete() *TradeTimeRangeDelete + func (c *TradeTimeRangeClient) DeleteOne(ttr *TradeTimeRange) *TradeTimeRangeDeleteOne + func (c *TradeTimeRangeClient) DeleteOneID(id int) *TradeTimeRangeDeleteOne + func (c *TradeTimeRangeClient) Get(ctx context.Context, id int) (*TradeTimeRange, error) + func (c *TradeTimeRangeClient) GetX(ctx context.Context, id int) *TradeTimeRange + func (c *TradeTimeRangeClient) Hooks() []Hook + func (c *TradeTimeRangeClient) Intercept(interceptors ...Interceptor) + func (c *TradeTimeRangeClient) Interceptors() []Interceptor + func (c *TradeTimeRangeClient) Query() *TradeTimeRangeQuery + func (c *TradeTimeRangeClient) QueryInterval(ttr *TradeTimeRange) *IntervalQuery + func (c *TradeTimeRangeClient) QueryRecords(ttr *TradeTimeRange) *TradeRecordQuery + func (c *TradeTimeRangeClient) Update() *TradeTimeRangeUpdate + func (c *TradeTimeRangeClient) UpdateOne(ttr *TradeTimeRange) *TradeTimeRangeUpdateOne + func (c *TradeTimeRangeClient) UpdateOneID(id int) *TradeTimeRangeUpdateOne + func (c *TradeTimeRangeClient) Use(hooks ...Hook) + type TradeTimeRangeCreate struct + func (ttrc *TradeTimeRangeCreate) AddRecordIDs(ids ...int) *TradeTimeRangeCreate + func (ttrc *TradeTimeRangeCreate) AddRecords(t ...*TradeRecord) *TradeTimeRangeCreate + func (ttrc *TradeTimeRangeCreate) Exec(ctx context.Context) error + func (ttrc *TradeTimeRangeCreate) ExecX(ctx context.Context) + func (ttrc *TradeTimeRangeCreate) Mutation() *TradeTimeRangeMutation + func (ttrc *TradeTimeRangeCreate) Save(ctx context.Context) (*TradeTimeRange, error) + func (ttrc *TradeTimeRangeCreate) SaveX(ctx context.Context) *TradeTimeRange + func (ttrc *TradeTimeRangeCreate) SetEnd(t time.Time) *TradeTimeRangeCreate + func (ttrc *TradeTimeRangeCreate) SetInterval(i *Interval) *TradeTimeRangeCreate + func (ttrc *TradeTimeRangeCreate) SetIntervalID(i int) *TradeTimeRangeCreate + func (ttrc *TradeTimeRangeCreate) SetStart(t time.Time) *TradeTimeRangeCreate + type TradeTimeRangeCreateBulk struct + func (ttrcb *TradeTimeRangeCreateBulk) Exec(ctx context.Context) error + func (ttrcb *TradeTimeRangeCreateBulk) ExecX(ctx context.Context) + func (ttrcb *TradeTimeRangeCreateBulk) Save(ctx context.Context) ([]*TradeTimeRange, error) + func (ttrcb *TradeTimeRangeCreateBulk) SaveX(ctx context.Context) []*TradeTimeRange + type TradeTimeRangeDelete struct + func (ttrd *TradeTimeRangeDelete) Exec(ctx context.Context) (int, error) + func (ttrd *TradeTimeRangeDelete) ExecX(ctx context.Context) int + func (ttrd *TradeTimeRangeDelete) Where(ps ...predicate.TradeTimeRange) *TradeTimeRangeDelete + type TradeTimeRangeDeleteOne struct + func (ttrdo *TradeTimeRangeDeleteOne) Exec(ctx context.Context) error + func (ttrdo *TradeTimeRangeDeleteOne) ExecX(ctx context.Context) + type TradeTimeRangeEdges struct + Interval *Interval + Records []*TradeRecord + func (e TradeTimeRangeEdges) IntervalOrErr() (*Interval, error) + func (e TradeTimeRangeEdges) RecordsOrErr() ([]*TradeRecord, error) + type TradeTimeRangeGroupBy struct + func (s *TradeTimeRangeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeTimeRangeGroupBy) BoolX(ctx context.Context) bool + func (s *TradeTimeRangeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TradeTimeRangeGroupBy) BoolsX(ctx context.Context) []bool + func (s *TradeTimeRangeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeTimeRangeGroupBy) Float64X(ctx context.Context) float64 + func (s *TradeTimeRangeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeTimeRangeGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TradeTimeRangeGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TradeTimeRangeGroupBy) IntX(ctx context.Context) int + func (s *TradeTimeRangeGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TradeTimeRangeGroupBy) IntsX(ctx context.Context) []int + func (s *TradeTimeRangeGroupBy) ScanX(ctx context.Context, v any) + func (s *TradeTimeRangeGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TradeTimeRangeGroupBy) StringX(ctx context.Context) string + func (s *TradeTimeRangeGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TradeTimeRangeGroupBy) StringsX(ctx context.Context) []string + func (ttrgb *TradeTimeRangeGroupBy) Aggregate(fns ...AggregateFunc) *TradeTimeRangeGroupBy + func (ttrgb *TradeTimeRangeGroupBy) Scan(ctx context.Context, v any) error + type TradeTimeRangeMutation struct + func (m *TradeTimeRangeMutation) AddField(name string, value ent.Value) error + func (m *TradeTimeRangeMutation) AddRecordIDs(ids ...int) + func (m *TradeTimeRangeMutation) AddedEdges() []string + func (m *TradeTimeRangeMutation) AddedField(name string) (ent.Value, bool) + func (m *TradeTimeRangeMutation) AddedFields() []string + func (m *TradeTimeRangeMutation) AddedIDs(name string) []ent.Value + func (m *TradeTimeRangeMutation) ClearEdge(name string) error + func (m *TradeTimeRangeMutation) ClearField(name string) error + func (m *TradeTimeRangeMutation) ClearInterval() + func (m *TradeTimeRangeMutation) ClearRecords() + func (m *TradeTimeRangeMutation) ClearedEdges() []string + func (m *TradeTimeRangeMutation) ClearedFields() []string + func (m *TradeTimeRangeMutation) EdgeCleared(name string) bool + func (m *TradeTimeRangeMutation) End() (r time.Time, exists bool) + func (m *TradeTimeRangeMutation) Field(name string) (ent.Value, bool) + func (m *TradeTimeRangeMutation) FieldCleared(name string) bool + func (m *TradeTimeRangeMutation) Fields() []string + func (m *TradeTimeRangeMutation) ID() (id int, exists bool) + func (m *TradeTimeRangeMutation) IDs(ctx context.Context) ([]int, error) + func (m *TradeTimeRangeMutation) IntervalCleared() bool + func (m *TradeTimeRangeMutation) IntervalID() (r int, exists bool) + func (m *TradeTimeRangeMutation) IntervalIDs() (ids []int) + func (m *TradeTimeRangeMutation) OldEnd(ctx context.Context) (v time.Time, err error) + func (m *TradeTimeRangeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TradeTimeRangeMutation) OldIntervalID(ctx context.Context) (v int, err error) + func (m *TradeTimeRangeMutation) OldStart(ctx context.Context) (v time.Time, err error) + func (m *TradeTimeRangeMutation) Op() Op + func (m *TradeTimeRangeMutation) RecordsCleared() bool + func (m *TradeTimeRangeMutation) RecordsIDs() (ids []int) + func (m *TradeTimeRangeMutation) RemoveRecordIDs(ids ...int) + func (m *TradeTimeRangeMutation) RemovedEdges() []string + func (m *TradeTimeRangeMutation) RemovedIDs(name string) []ent.Value + func (m *TradeTimeRangeMutation) RemovedRecordsIDs() (ids []int) + func (m *TradeTimeRangeMutation) ResetEdge(name string) error + func (m *TradeTimeRangeMutation) ResetEnd() + func (m *TradeTimeRangeMutation) ResetField(name string) error + func (m *TradeTimeRangeMutation) ResetInterval() + func (m *TradeTimeRangeMutation) ResetIntervalID() + func (m *TradeTimeRangeMutation) ResetRecords() + func (m *TradeTimeRangeMutation) ResetStart() + func (m *TradeTimeRangeMutation) SetEnd(t time.Time) + func (m *TradeTimeRangeMutation) SetField(name string, value ent.Value) error + func (m *TradeTimeRangeMutation) SetIntervalID(i int) + func (m *TradeTimeRangeMutation) SetOp(op Op) + func (m *TradeTimeRangeMutation) SetStart(t time.Time) + func (m *TradeTimeRangeMutation) Start() (r time.Time, exists bool) + func (m *TradeTimeRangeMutation) Type() string + func (m *TradeTimeRangeMutation) Where(ps ...predicate.TradeTimeRange) + func (m *TradeTimeRangeMutation) WhereP(ps ...func(*sql.Selector)) + func (m TradeTimeRangeMutation) Client() *Client + func (m TradeTimeRangeMutation) Tx() (*Tx, error) + type TradeTimeRangeQuery struct + func (ttrq *TradeTimeRangeQuery) Aggregate(fns ...AggregateFunc) *TradeTimeRangeSelect + func (ttrq *TradeTimeRangeQuery) All(ctx context.Context) ([]*TradeTimeRange, error) + func (ttrq *TradeTimeRangeQuery) AllX(ctx context.Context) []*TradeTimeRange + func (ttrq *TradeTimeRangeQuery) Clone() *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) Count(ctx context.Context) (int, error) + func (ttrq *TradeTimeRangeQuery) CountX(ctx context.Context) int + func (ttrq *TradeTimeRangeQuery) Exist(ctx context.Context) (bool, error) + func (ttrq *TradeTimeRangeQuery) ExistX(ctx context.Context) bool + func (ttrq *TradeTimeRangeQuery) First(ctx context.Context) (*TradeTimeRange, error) + func (ttrq *TradeTimeRangeQuery) FirstID(ctx context.Context) (id int, err error) + func (ttrq *TradeTimeRangeQuery) FirstIDX(ctx context.Context) int + func (ttrq *TradeTimeRangeQuery) FirstX(ctx context.Context) *TradeTimeRange + func (ttrq *TradeTimeRangeQuery) GroupBy(field string, fields ...string) *TradeTimeRangeGroupBy + func (ttrq *TradeTimeRangeQuery) IDs(ctx context.Context) ([]int, error) + func (ttrq *TradeTimeRangeQuery) IDsX(ctx context.Context) []int + func (ttrq *TradeTimeRangeQuery) Limit(limit int) *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) Offset(offset int) *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) Only(ctx context.Context) (*TradeTimeRange, error) + func (ttrq *TradeTimeRangeQuery) OnlyID(ctx context.Context) (id int, err error) + func (ttrq *TradeTimeRangeQuery) OnlyIDX(ctx context.Context) int + func (ttrq *TradeTimeRangeQuery) OnlyX(ctx context.Context) *TradeTimeRange + func (ttrq *TradeTimeRangeQuery) Order(o ...OrderFunc) *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) QueryInterval() *IntervalQuery + func (ttrq *TradeTimeRangeQuery) QueryRecords() *TradeRecordQuery + func (ttrq *TradeTimeRangeQuery) Select(fields ...string) *TradeTimeRangeSelect + func (ttrq *TradeTimeRangeQuery) Unique(unique bool) *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) Where(ps ...predicate.TradeTimeRange) *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) WithInterval(opts ...func(*IntervalQuery)) *TradeTimeRangeQuery + func (ttrq *TradeTimeRangeQuery) WithRecords(opts ...func(*TradeRecordQuery)) *TradeTimeRangeQuery + type TradeTimeRangeSelect struct + func (s *TradeTimeRangeSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TradeTimeRangeSelect) BoolX(ctx context.Context) bool + func (s *TradeTimeRangeSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TradeTimeRangeSelect) BoolsX(ctx context.Context) []bool + func (s *TradeTimeRangeSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TradeTimeRangeSelect) Float64X(ctx context.Context) float64 + func (s *TradeTimeRangeSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TradeTimeRangeSelect) Float64sX(ctx context.Context) []float64 + func (s *TradeTimeRangeSelect) Int(ctx context.Context) (_ int, err error) + func (s *TradeTimeRangeSelect) IntX(ctx context.Context) int + func (s *TradeTimeRangeSelect) Ints(ctx context.Context) ([]int, error) + func (s *TradeTimeRangeSelect) IntsX(ctx context.Context) []int + func (s *TradeTimeRangeSelect) ScanX(ctx context.Context, v any) + func (s *TradeTimeRangeSelect) String(ctx context.Context) (_ string, err error) + func (s *TradeTimeRangeSelect) StringX(ctx context.Context) string + func (s *TradeTimeRangeSelect) Strings(ctx context.Context) ([]string, error) + func (s *TradeTimeRangeSelect) StringsX(ctx context.Context) []string + func (ttrs *TradeTimeRangeSelect) Aggregate(fns ...AggregateFunc) *TradeTimeRangeSelect + func (ttrs *TradeTimeRangeSelect) Scan(ctx context.Context, v any) error + type TradeTimeRangeUpdate struct + func (ttru *TradeTimeRangeUpdate) AddRecordIDs(ids ...int) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) AddRecords(t ...*TradeRecord) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) ClearInterval() *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) ClearRecords() *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) Exec(ctx context.Context) error + func (ttru *TradeTimeRangeUpdate) ExecX(ctx context.Context) + func (ttru *TradeTimeRangeUpdate) Mutation() *TradeTimeRangeMutation + func (ttru *TradeTimeRangeUpdate) RemoveRecordIDs(ids ...int) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) RemoveRecords(t ...*TradeRecord) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) Save(ctx context.Context) (int, error) + func (ttru *TradeTimeRangeUpdate) SaveX(ctx context.Context) int + func (ttru *TradeTimeRangeUpdate) SetEnd(t time.Time) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) SetInterval(i *Interval) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) SetIntervalID(i int) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) SetStart(t time.Time) *TradeTimeRangeUpdate + func (ttru *TradeTimeRangeUpdate) Where(ps ...predicate.TradeTimeRange) *TradeTimeRangeUpdate + type TradeTimeRangeUpdateOne struct + func (ttruo *TradeTimeRangeUpdateOne) AddRecordIDs(ids ...int) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) AddRecords(t ...*TradeRecord) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) ClearInterval() *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) ClearRecords() *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) Exec(ctx context.Context) error + func (ttruo *TradeTimeRangeUpdateOne) ExecX(ctx context.Context) + func (ttruo *TradeTimeRangeUpdateOne) Mutation() *TradeTimeRangeMutation + func (ttruo *TradeTimeRangeUpdateOne) RemoveRecordIDs(ids ...int) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) RemoveRecords(t ...*TradeRecord) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) Save(ctx context.Context) (*TradeTimeRange, error) + func (ttruo *TradeTimeRangeUpdateOne) SaveX(ctx context.Context) *TradeTimeRange + func (ttruo *TradeTimeRangeUpdateOne) Select(field string, fields ...string) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) SetEnd(t time.Time) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) SetInterval(i *Interval) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) SetIntervalID(i int) *TradeTimeRangeUpdateOne + func (ttruo *TradeTimeRangeUpdateOne) SetStart(t time.Time) *TradeTimeRangeUpdateOne + type TradeTimeRanges []*TradeTimeRange + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + BarGroup *BarGroupClient + BarRecord *BarRecordClient + BarTimeRange *BarTimeRangeClient + DataSource *DataSourceClient + Dividend *DividendClient + Entity *EntityClient + Exchange *ExchangeClient + Financial *FinancialClient + Interval *IntervalClient + MarketHours *MarketHoursClient + MarketInfo *MarketInfoClient + Split *SplitClient + TradeCondition *TradeConditionClient + TradeCorrection *TradeCorrectionClient + TradeRecord *TradeRecordClient + TradeTimeRange *TradeTimeRangeClient + 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 ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value