Versions in this module Expand all Collapse all v0 v0.0.2 Apr 13, 2023 v0.0.1 Apr 13, 2023 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeOASTypes + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + 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 Client struct + OASTypes *OASTypesClient + Schema *migrate.Schema + 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 Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + 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 OASTypes struct + Bool bool + Bytes []byte + Float32 float32 + Float64 float64 + Floats []float64 + ID int + Int int + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Ints []int + JSONObj url.URL + JSONSlice []http.Dir + Nicknames []string + Nillable *int + Optional int + OptionalAndNillable *int + Other *schema.Link + State oastypes.State + StringField string + Strings []string + Text string + Time time.Time + UUID uuid.UUID + Uint uint + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (ot *OASTypes) String() string + func (ot *OASTypes) Unwrap() *OASTypes + func (ot *OASTypes) Update() *OASTypesUpdateOne + func (ot *OASTypes) Value(name string) (ent.Value, error) + type OASTypesClient struct + func NewOASTypesClient(c config) *OASTypesClient + func (c *OASTypesClient) Create() *OASTypesCreate + func (c *OASTypesClient) CreateBulk(builders ...*OASTypesCreate) *OASTypesCreateBulk + func (c *OASTypesClient) Delete() *OASTypesDelete + func (c *OASTypesClient) DeleteOne(ot *OASTypes) *OASTypesDeleteOne + func (c *OASTypesClient) DeleteOneID(id int) *OASTypesDeleteOne + func (c *OASTypesClient) Get(ctx context.Context, id int) (*OASTypes, error) + func (c *OASTypesClient) GetX(ctx context.Context, id int) *OASTypes + func (c *OASTypesClient) Hooks() []Hook + func (c *OASTypesClient) Intercept(interceptors ...Interceptor) + func (c *OASTypesClient) Interceptors() []Interceptor + func (c *OASTypesClient) Query() *OASTypesQuery + func (c *OASTypesClient) Update() *OASTypesUpdate + func (c *OASTypesClient) UpdateOne(ot *OASTypes) *OASTypesUpdateOne + func (c *OASTypesClient) UpdateOneID(id int) *OASTypesUpdateOne + func (c *OASTypesClient) Use(hooks ...Hook) + type OASTypesCreate struct + func (otc *OASTypesCreate) Exec(ctx context.Context) error + func (otc *OASTypesCreate) ExecX(ctx context.Context) + func (otc *OASTypesCreate) Mutation() *OASTypesMutation + func (otc *OASTypesCreate) Save(ctx context.Context) (*OASTypes, error) + func (otc *OASTypesCreate) SaveX(ctx context.Context) *OASTypes + func (otc *OASTypesCreate) SetBool(b bool) *OASTypesCreate + func (otc *OASTypesCreate) SetBytes(b []byte) *OASTypesCreate + func (otc *OASTypesCreate) SetFloat32(f float32) *OASTypesCreate + func (otc *OASTypesCreate) SetFloat64(f float64) *OASTypesCreate + func (otc *OASTypesCreate) SetFloats(f []float64) *OASTypesCreate + func (otc *OASTypesCreate) SetInt(i int) *OASTypesCreate + func (otc *OASTypesCreate) SetInt16(i int16) *OASTypesCreate + func (otc *OASTypesCreate) SetInt32(i int32) *OASTypesCreate + func (otc *OASTypesCreate) SetInt64(i int64) *OASTypesCreate + func (otc *OASTypesCreate) SetInt8(i int8) *OASTypesCreate + func (otc *OASTypesCreate) SetInts(i []int) *OASTypesCreate + func (otc *OASTypesCreate) SetJSONObj(u url.URL) *OASTypesCreate + func (otc *OASTypesCreate) SetJSONSlice(h []http.Dir) *OASTypesCreate + func (otc *OASTypesCreate) SetNicknames(s []string) *OASTypesCreate + func (otc *OASTypesCreate) SetNillable(i int) *OASTypesCreate + func (otc *OASTypesCreate) SetNillableOptional(i *int) *OASTypesCreate + func (otc *OASTypesCreate) SetNillableOptionalAndNillable(i *int) *OASTypesCreate + func (otc *OASTypesCreate) SetNillableUUID(u *uuid.UUID) *OASTypesCreate + func (otc *OASTypesCreate) SetOptional(i int) *OASTypesCreate + func (otc *OASTypesCreate) SetOptionalAndNillable(i int) *OASTypesCreate + func (otc *OASTypesCreate) SetOther(s *schema.Link) *OASTypesCreate + func (otc *OASTypesCreate) SetState(o oastypes.State) *OASTypesCreate + func (otc *OASTypesCreate) SetStringField(s string) *OASTypesCreate + func (otc *OASTypesCreate) SetStrings(s []string) *OASTypesCreate + func (otc *OASTypesCreate) SetText(s string) *OASTypesCreate + func (otc *OASTypesCreate) SetTime(t time.Time) *OASTypesCreate + func (otc *OASTypesCreate) SetUUID(u uuid.UUID) *OASTypesCreate + func (otc *OASTypesCreate) SetUint(u uint) *OASTypesCreate + func (otc *OASTypesCreate) SetUint16(u uint16) *OASTypesCreate + func (otc *OASTypesCreate) SetUint32(u uint32) *OASTypesCreate + func (otc *OASTypesCreate) SetUint64(u uint64) *OASTypesCreate + func (otc *OASTypesCreate) SetUint8(u uint8) *OASTypesCreate + type OASTypesCreateBulk struct + func (otcb *OASTypesCreateBulk) Exec(ctx context.Context) error + func (otcb *OASTypesCreateBulk) ExecX(ctx context.Context) + func (otcb *OASTypesCreateBulk) Save(ctx context.Context) ([]*OASTypes, error) + func (otcb *OASTypesCreateBulk) SaveX(ctx context.Context) []*OASTypes + type OASTypesDelete struct + func (otd *OASTypesDelete) Exec(ctx context.Context) (int, error) + func (otd *OASTypesDelete) ExecX(ctx context.Context) int + func (otd *OASTypesDelete) Where(ps ...predicate.OASTypes) *OASTypesDelete + type OASTypesDeleteOne struct + func (otdo *OASTypesDeleteOne) Exec(ctx context.Context) error + func (otdo *OASTypesDeleteOne) ExecX(ctx context.Context) + func (otdo *OASTypesDeleteOne) Where(ps ...predicate.OASTypes) *OASTypesDeleteOne + type OASTypesGroupBy struct + func (otgb *OASTypesGroupBy) Aggregate(fns ...AggregateFunc) *OASTypesGroupBy + func (otgb *OASTypesGroupBy) Scan(ctx context.Context, v any) error + func (s *OASTypesGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *OASTypesGroupBy) BoolX(ctx context.Context) bool + func (s *OASTypesGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *OASTypesGroupBy) BoolsX(ctx context.Context) []bool + func (s *OASTypesGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *OASTypesGroupBy) Float64X(ctx context.Context) float64 + func (s *OASTypesGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *OASTypesGroupBy) Float64sX(ctx context.Context) []float64 + func (s *OASTypesGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *OASTypesGroupBy) IntX(ctx context.Context) int + func (s *OASTypesGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *OASTypesGroupBy) IntsX(ctx context.Context) []int + func (s *OASTypesGroupBy) ScanX(ctx context.Context, v any) + func (s *OASTypesGroupBy) String(ctx context.Context) (_ string, err error) + func (s *OASTypesGroupBy) StringX(ctx context.Context) string + func (s *OASTypesGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *OASTypesGroupBy) StringsX(ctx context.Context) []string + type OASTypesMutation struct + func (m *OASTypesMutation) AddField(name string, value ent.Value) error + func (m *OASTypesMutation) AddFloat32(f float32) + func (m *OASTypesMutation) AddFloat64(f float64) + func (m *OASTypesMutation) AddInt(i int) + func (m *OASTypesMutation) AddInt16(i int16) + func (m *OASTypesMutation) AddInt32(i int32) + func (m *OASTypesMutation) AddInt64(i int64) + func (m *OASTypesMutation) AddInt8(i int8) + func (m *OASTypesMutation) AddNillable(i int) + func (m *OASTypesMutation) AddOptional(i int) + func (m *OASTypesMutation) AddOptionalAndNillable(i int) + func (m *OASTypesMutation) AddUint(u int) + func (m *OASTypesMutation) AddUint16(u int16) + func (m *OASTypesMutation) AddUint32(u int32) + func (m *OASTypesMutation) AddUint64(u int64) + func (m *OASTypesMutation) AddUint8(u int8) + func (m *OASTypesMutation) AddedEdges() []string + func (m *OASTypesMutation) AddedField(name string) (ent.Value, bool) + func (m *OASTypesMutation) AddedFields() []string + func (m *OASTypesMutation) AddedFloat32() (r float32, exists bool) + func (m *OASTypesMutation) AddedFloat64() (r float64, exists bool) + func (m *OASTypesMutation) AddedIDs(name string) []ent.Value + func (m *OASTypesMutation) AddedInt() (r int, exists bool) + func (m *OASTypesMutation) AddedInt16() (r int16, exists bool) + func (m *OASTypesMutation) AddedInt32() (r int32, exists bool) + func (m *OASTypesMutation) AddedInt64() (r int64, exists bool) + func (m *OASTypesMutation) AddedInt8() (r int8, exists bool) + func (m *OASTypesMutation) AddedNillable() (r int, exists bool) + func (m *OASTypesMutation) AddedOptional() (r int, exists bool) + func (m *OASTypesMutation) AddedOptionalAndNillable() (r int, exists bool) + func (m *OASTypesMutation) AddedUint() (r int, exists bool) + func (m *OASTypesMutation) AddedUint16() (r int16, exists bool) + func (m *OASTypesMutation) AddedUint32() (r int32, exists bool) + func (m *OASTypesMutation) AddedUint64() (r int64, exists bool) + func (m *OASTypesMutation) AddedUint8() (r int8, exists bool) + func (m *OASTypesMutation) AppendFloats(f []float64) + func (m *OASTypesMutation) AppendInts(i []int) + func (m *OASTypesMutation) AppendJSONSlice(h []http.Dir) + func (m *OASTypesMutation) AppendNicknames(s []string) + func (m *OASTypesMutation) AppendStrings(s []string) + func (m *OASTypesMutation) AppendedFloats() ([]float64, bool) + func (m *OASTypesMutation) AppendedInts() ([]int, bool) + func (m *OASTypesMutation) AppendedJSONSlice() ([]http.Dir, bool) + func (m *OASTypesMutation) AppendedNicknames() ([]string, bool) + func (m *OASTypesMutation) AppendedStrings() ([]string, bool) + func (m *OASTypesMutation) Bool() (r bool, exists bool) + func (m *OASTypesMutation) Bytes() (r []byte, exists bool) + func (m *OASTypesMutation) ClearEdge(name string) error + func (m *OASTypesMutation) ClearField(name string) error + func (m *OASTypesMutation) ClearOptional() + func (m *OASTypesMutation) ClearOptionalAndNillable() + func (m *OASTypesMutation) ClearedEdges() []string + func (m *OASTypesMutation) ClearedFields() []string + func (m *OASTypesMutation) EdgeCleared(name string) bool + func (m *OASTypesMutation) Field(name string) (ent.Value, bool) + func (m *OASTypesMutation) FieldCleared(name string) bool + func (m *OASTypesMutation) Fields() []string + func (m *OASTypesMutation) Float32() (r float32, exists bool) + func (m *OASTypesMutation) Float64() (r float64, exists bool) + func (m *OASTypesMutation) Floats() (r []float64, exists bool) + func (m *OASTypesMutation) ID() (id int, exists bool) + func (m *OASTypesMutation) IDs(ctx context.Context) ([]int, error) + func (m *OASTypesMutation) Int() (r int, exists bool) + func (m *OASTypesMutation) Int16() (r int16, exists bool) + func (m *OASTypesMutation) Int32() (r int32, exists bool) + func (m *OASTypesMutation) Int64() (r int64, exists bool) + func (m *OASTypesMutation) Int8() (r int8, exists bool) + func (m *OASTypesMutation) Ints() (r []int, exists bool) + func (m *OASTypesMutation) JSONObj() (r url.URL, exists bool) + func (m *OASTypesMutation) JSONSlice() (r []http.Dir, exists bool) + func (m *OASTypesMutation) Nicknames() (r []string, exists bool) + func (m *OASTypesMutation) Nillable() (r int, exists bool) + func (m *OASTypesMutation) OldBool(ctx context.Context) (v bool, err error) + func (m *OASTypesMutation) OldBytes(ctx context.Context) (v []byte, err error) + func (m *OASTypesMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *OASTypesMutation) OldFloat32(ctx context.Context) (v float32, err error) + func (m *OASTypesMutation) OldFloat64(ctx context.Context) (v float64, err error) + func (m *OASTypesMutation) OldFloats(ctx context.Context) (v []float64, err error) + func (m *OASTypesMutation) OldInt(ctx context.Context) (v int, err error) + func (m *OASTypesMutation) OldInt16(ctx context.Context) (v int16, err error) + func (m *OASTypesMutation) OldInt32(ctx context.Context) (v int32, err error) + func (m *OASTypesMutation) OldInt64(ctx context.Context) (v int64, err error) + func (m *OASTypesMutation) OldInt8(ctx context.Context) (v int8, err error) + func (m *OASTypesMutation) OldInts(ctx context.Context) (v []int, err error) + func (m *OASTypesMutation) OldJSONObj(ctx context.Context) (v url.URL, err error) + func (m *OASTypesMutation) OldJSONSlice(ctx context.Context) (v []http.Dir, err error) + func (m *OASTypesMutation) OldNicknames(ctx context.Context) (v []string, err error) + func (m *OASTypesMutation) OldNillable(ctx context.Context) (v *int, err error) + func (m *OASTypesMutation) OldOptional(ctx context.Context) (v int, err error) + func (m *OASTypesMutation) OldOptionalAndNillable(ctx context.Context) (v *int, err error) + func (m *OASTypesMutation) OldOther(ctx context.Context) (v *schema.Link, err error) + func (m *OASTypesMutation) OldState(ctx context.Context) (v oastypes.State, err error) + func (m *OASTypesMutation) OldStringField(ctx context.Context) (v string, err error) + func (m *OASTypesMutation) OldStrings(ctx context.Context) (v []string, err error) + func (m *OASTypesMutation) OldText(ctx context.Context) (v string, err error) + func (m *OASTypesMutation) OldTime(ctx context.Context) (v time.Time, err error) + func (m *OASTypesMutation) OldUUID(ctx context.Context) (v uuid.UUID, err error) + func (m *OASTypesMutation) OldUint(ctx context.Context) (v uint, err error) + func (m *OASTypesMutation) OldUint16(ctx context.Context) (v uint16, err error) + func (m *OASTypesMutation) OldUint32(ctx context.Context) (v uint32, err error) + func (m *OASTypesMutation) OldUint64(ctx context.Context) (v uint64, err error) + func (m *OASTypesMutation) OldUint8(ctx context.Context) (v uint8, err error) + func (m *OASTypesMutation) Op() Op + func (m *OASTypesMutation) Optional() (r int, exists bool) + func (m *OASTypesMutation) OptionalAndNillable() (r int, exists bool) + func (m *OASTypesMutation) OptionalAndNillableCleared() bool + func (m *OASTypesMutation) OptionalCleared() bool + func (m *OASTypesMutation) Other() (r *schema.Link, exists bool) + func (m *OASTypesMutation) RemovedEdges() []string + func (m *OASTypesMutation) RemovedIDs(name string) []ent.Value + func (m *OASTypesMutation) ResetBool() + func (m *OASTypesMutation) ResetBytes() + func (m *OASTypesMutation) ResetEdge(name string) error + func (m *OASTypesMutation) ResetField(name string) error + func (m *OASTypesMutation) ResetFloat32() + func (m *OASTypesMutation) ResetFloat64() + func (m *OASTypesMutation) ResetFloats() + func (m *OASTypesMutation) ResetInt() + func (m *OASTypesMutation) ResetInt16() + func (m *OASTypesMutation) ResetInt32() + func (m *OASTypesMutation) ResetInt64() + func (m *OASTypesMutation) ResetInt8() + func (m *OASTypesMutation) ResetInts() + func (m *OASTypesMutation) ResetJSONObj() + func (m *OASTypesMutation) ResetJSONSlice() + func (m *OASTypesMutation) ResetNicknames() + func (m *OASTypesMutation) ResetNillable() + func (m *OASTypesMutation) ResetOptional() + func (m *OASTypesMutation) ResetOptionalAndNillable() + func (m *OASTypesMutation) ResetOther() + func (m *OASTypesMutation) ResetState() + func (m *OASTypesMutation) ResetStringField() + func (m *OASTypesMutation) ResetStrings() + func (m *OASTypesMutation) ResetText() + func (m *OASTypesMutation) ResetTime() + func (m *OASTypesMutation) ResetUUID() + func (m *OASTypesMutation) ResetUint() + func (m *OASTypesMutation) ResetUint16() + func (m *OASTypesMutation) ResetUint32() + func (m *OASTypesMutation) ResetUint64() + func (m *OASTypesMutation) ResetUint8() + func (m *OASTypesMutation) SetBool(b bool) + func (m *OASTypesMutation) SetBytes(b []byte) + func (m *OASTypesMutation) SetField(name string, value ent.Value) error + func (m *OASTypesMutation) SetFloat32(f float32) + func (m *OASTypesMutation) SetFloat64(f float64) + func (m *OASTypesMutation) SetFloats(f []float64) + func (m *OASTypesMutation) SetInt(i int) + func (m *OASTypesMutation) SetInt16(i int16) + func (m *OASTypesMutation) SetInt32(i int32) + func (m *OASTypesMutation) SetInt64(i int64) + func (m *OASTypesMutation) SetInt8(i int8) + func (m *OASTypesMutation) SetInts(i []int) + func (m *OASTypesMutation) SetJSONObj(u url.URL) + func (m *OASTypesMutation) SetJSONSlice(h []http.Dir) + func (m *OASTypesMutation) SetNicknames(s []string) + func (m *OASTypesMutation) SetNillable(i int) + func (m *OASTypesMutation) SetOp(op Op) + func (m *OASTypesMutation) SetOptional(i int) + func (m *OASTypesMutation) SetOptionalAndNillable(i int) + func (m *OASTypesMutation) SetOther(s *schema.Link) + func (m *OASTypesMutation) SetState(o oastypes.State) + func (m *OASTypesMutation) SetStringField(s string) + func (m *OASTypesMutation) SetStrings(s []string) + func (m *OASTypesMutation) SetText(s string) + func (m *OASTypesMutation) SetTime(t time.Time) + func (m *OASTypesMutation) SetUUID(u uuid.UUID) + func (m *OASTypesMutation) SetUint(u uint) + func (m *OASTypesMutation) SetUint16(u uint16) + func (m *OASTypesMutation) SetUint32(u uint32) + func (m *OASTypesMutation) SetUint64(u uint64) + func (m *OASTypesMutation) SetUint8(u uint8) + func (m *OASTypesMutation) State() (r oastypes.State, exists bool) + func (m *OASTypesMutation) StringField() (r string, exists bool) + func (m *OASTypesMutation) Strings() (r []string, exists bool) + func (m *OASTypesMutation) Text() (r string, exists bool) + func (m *OASTypesMutation) Time() (r time.Time, exists bool) + func (m *OASTypesMutation) Type() string + func (m *OASTypesMutation) UUID() (r uuid.UUID, exists bool) + func (m *OASTypesMutation) Uint() (r uint, exists bool) + func (m *OASTypesMutation) Uint16() (r uint16, exists bool) + func (m *OASTypesMutation) Uint32() (r uint32, exists bool) + func (m *OASTypesMutation) Uint64() (r uint64, exists bool) + func (m *OASTypesMutation) Uint8() (r uint8, exists bool) + func (m *OASTypesMutation) Where(ps ...predicate.OASTypes) + func (m *OASTypesMutation) WhereP(ps ...func(*sql.Selector)) + func (m OASTypesMutation) Client() *Client + func (m OASTypesMutation) Tx() (*Tx, error) + type OASTypesQuery struct + func (otq *OASTypesQuery) Aggregate(fns ...AggregateFunc) *OASTypesSelect + func (otq *OASTypesQuery) All(ctx context.Context) ([]*OASTypes, error) + func (otq *OASTypesQuery) AllX(ctx context.Context) []*OASTypes + func (otq *OASTypesQuery) Clone() *OASTypesQuery + func (otq *OASTypesQuery) Count(ctx context.Context) (int, error) + func (otq *OASTypesQuery) CountX(ctx context.Context) int + func (otq *OASTypesQuery) Exist(ctx context.Context) (bool, error) + func (otq *OASTypesQuery) ExistX(ctx context.Context) bool + func (otq *OASTypesQuery) First(ctx context.Context) (*OASTypes, error) + func (otq *OASTypesQuery) FirstID(ctx context.Context) (id int, err error) + func (otq *OASTypesQuery) FirstIDX(ctx context.Context) int + func (otq *OASTypesQuery) FirstX(ctx context.Context) *OASTypes + func (otq *OASTypesQuery) GroupBy(field string, fields ...string) *OASTypesGroupBy + func (otq *OASTypesQuery) IDs(ctx context.Context) (ids []int, err error) + func (otq *OASTypesQuery) IDsX(ctx context.Context) []int + func (otq *OASTypesQuery) Limit(limit int) *OASTypesQuery + func (otq *OASTypesQuery) Offset(offset int) *OASTypesQuery + func (otq *OASTypesQuery) Only(ctx context.Context) (*OASTypes, error) + func (otq *OASTypesQuery) OnlyID(ctx context.Context) (id int, err error) + func (otq *OASTypesQuery) OnlyIDX(ctx context.Context) int + func (otq *OASTypesQuery) OnlyX(ctx context.Context) *OASTypes + func (otq *OASTypesQuery) Order(o ...oastypes.Order) *OASTypesQuery + func (otq *OASTypesQuery) Select(fields ...string) *OASTypesSelect + func (otq *OASTypesQuery) Unique(unique bool) *OASTypesQuery + func (otq *OASTypesQuery) Where(ps ...predicate.OASTypes) *OASTypesQuery + type OASTypesSelect struct + func (ots *OASTypesSelect) Aggregate(fns ...AggregateFunc) *OASTypesSelect + func (ots *OASTypesSelect) Scan(ctx context.Context, v any) error + func (s *OASTypesSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *OASTypesSelect) BoolX(ctx context.Context) bool + func (s *OASTypesSelect) Bools(ctx context.Context) ([]bool, error) + func (s *OASTypesSelect) BoolsX(ctx context.Context) []bool + func (s *OASTypesSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *OASTypesSelect) Float64X(ctx context.Context) float64 + func (s *OASTypesSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *OASTypesSelect) Float64sX(ctx context.Context) []float64 + func (s *OASTypesSelect) Int(ctx context.Context) (_ int, err error) + func (s *OASTypesSelect) IntX(ctx context.Context) int + func (s *OASTypesSelect) Ints(ctx context.Context) ([]int, error) + func (s *OASTypesSelect) IntsX(ctx context.Context) []int + func (s *OASTypesSelect) ScanX(ctx context.Context, v any) + func (s *OASTypesSelect) String(ctx context.Context) (_ string, err error) + func (s *OASTypesSelect) StringX(ctx context.Context) string + func (s *OASTypesSelect) Strings(ctx context.Context) ([]string, error) + func (s *OASTypesSelect) StringsX(ctx context.Context) []string + type OASTypesSlice []*OASTypes + type OASTypesUpdate struct + func (otu *OASTypesUpdate) AddFloat32(f float32) *OASTypesUpdate + func (otu *OASTypesUpdate) AddFloat64(f float64) *OASTypesUpdate + func (otu *OASTypesUpdate) AddInt(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) AddInt16(i int16) *OASTypesUpdate + func (otu *OASTypesUpdate) AddInt32(i int32) *OASTypesUpdate + func (otu *OASTypesUpdate) AddInt64(i int64) *OASTypesUpdate + func (otu *OASTypesUpdate) AddInt8(i int8) *OASTypesUpdate + func (otu *OASTypesUpdate) AddNillable(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) AddOptional(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) AddOptionalAndNillable(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) AddUint(u int) *OASTypesUpdate + func (otu *OASTypesUpdate) AddUint16(u int16) *OASTypesUpdate + func (otu *OASTypesUpdate) AddUint32(u int32) *OASTypesUpdate + func (otu *OASTypesUpdate) AddUint64(u int64) *OASTypesUpdate + func (otu *OASTypesUpdate) AddUint8(u int8) *OASTypesUpdate + func (otu *OASTypesUpdate) AppendFloats(f []float64) *OASTypesUpdate + func (otu *OASTypesUpdate) AppendInts(i []int) *OASTypesUpdate + func (otu *OASTypesUpdate) AppendJSONSlice(h []http.Dir) *OASTypesUpdate + func (otu *OASTypesUpdate) AppendNicknames(s []string) *OASTypesUpdate + func (otu *OASTypesUpdate) AppendStrings(s []string) *OASTypesUpdate + func (otu *OASTypesUpdate) ClearOptional() *OASTypesUpdate + func (otu *OASTypesUpdate) ClearOptionalAndNillable() *OASTypesUpdate + func (otu *OASTypesUpdate) Exec(ctx context.Context) error + func (otu *OASTypesUpdate) ExecX(ctx context.Context) + func (otu *OASTypesUpdate) Mutation() *OASTypesMutation + func (otu *OASTypesUpdate) Save(ctx context.Context) (int, error) + func (otu *OASTypesUpdate) SaveX(ctx context.Context) int + func (otu *OASTypesUpdate) SetBool(b bool) *OASTypesUpdate + func (otu *OASTypesUpdate) SetBytes(b []byte) *OASTypesUpdate + func (otu *OASTypesUpdate) SetFloat32(f float32) *OASTypesUpdate + func (otu *OASTypesUpdate) SetFloat64(f float64) *OASTypesUpdate + func (otu *OASTypesUpdate) SetFloats(f []float64) *OASTypesUpdate + func (otu *OASTypesUpdate) SetInt(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetInt16(i int16) *OASTypesUpdate + func (otu *OASTypesUpdate) SetInt32(i int32) *OASTypesUpdate + func (otu *OASTypesUpdate) SetInt64(i int64) *OASTypesUpdate + func (otu *OASTypesUpdate) SetInt8(i int8) *OASTypesUpdate + func (otu *OASTypesUpdate) SetInts(i []int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetJSONObj(u url.URL) *OASTypesUpdate + func (otu *OASTypesUpdate) SetJSONSlice(h []http.Dir) *OASTypesUpdate + func (otu *OASTypesUpdate) SetNicknames(s []string) *OASTypesUpdate + func (otu *OASTypesUpdate) SetNillable(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetNillableOptional(i *int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetNillableOptionalAndNillable(i *int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetNillableUUID(u *uuid.UUID) *OASTypesUpdate + func (otu *OASTypesUpdate) SetOptional(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetOptionalAndNillable(i int) *OASTypesUpdate + func (otu *OASTypesUpdate) SetOther(s *schema.Link) *OASTypesUpdate + func (otu *OASTypesUpdate) SetState(o oastypes.State) *OASTypesUpdate + func (otu *OASTypesUpdate) SetStringField(s string) *OASTypesUpdate + func (otu *OASTypesUpdate) SetStrings(s []string) *OASTypesUpdate + func (otu *OASTypesUpdate) SetText(s string) *OASTypesUpdate + func (otu *OASTypesUpdate) SetTime(t time.Time) *OASTypesUpdate + func (otu *OASTypesUpdate) SetUUID(u uuid.UUID) *OASTypesUpdate + func (otu *OASTypesUpdate) SetUint(u uint) *OASTypesUpdate + func (otu *OASTypesUpdate) SetUint16(u uint16) *OASTypesUpdate + func (otu *OASTypesUpdate) SetUint32(u uint32) *OASTypesUpdate + func (otu *OASTypesUpdate) SetUint64(u uint64) *OASTypesUpdate + func (otu *OASTypesUpdate) SetUint8(u uint8) *OASTypesUpdate + func (otu *OASTypesUpdate) Where(ps ...predicate.OASTypes) *OASTypesUpdate + type OASTypesUpdateOne struct + func (otuo *OASTypesUpdateOne) AddFloat32(f float32) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddFloat64(f float64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddInt(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddInt16(i int16) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddInt32(i int32) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddInt64(i int64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddInt8(i int8) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddNillable(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddOptional(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddOptionalAndNillable(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddUint(u int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddUint16(u int16) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddUint32(u int32) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddUint64(u int64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AddUint8(u int8) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AppendFloats(f []float64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AppendInts(i []int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AppendJSONSlice(h []http.Dir) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AppendNicknames(s []string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) AppendStrings(s []string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) ClearOptional() *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) ClearOptionalAndNillable() *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) Exec(ctx context.Context) error + func (otuo *OASTypesUpdateOne) ExecX(ctx context.Context) + func (otuo *OASTypesUpdateOne) Mutation() *OASTypesMutation + func (otuo *OASTypesUpdateOne) Save(ctx context.Context) (*OASTypes, error) + func (otuo *OASTypesUpdateOne) SaveX(ctx context.Context) *OASTypes + func (otuo *OASTypesUpdateOne) Select(field string, fields ...string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetBool(b bool) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetBytes(b []byte) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetFloat32(f float32) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetFloat64(f float64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetFloats(f []float64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetInt(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetInt16(i int16) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetInt32(i int32) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetInt64(i int64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetInt8(i int8) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetInts(i []int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetJSONObj(u url.URL) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetJSONSlice(h []http.Dir) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetNicknames(s []string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetNillable(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetNillableOptional(i *int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetNillableOptionalAndNillable(i *int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetNillableUUID(u *uuid.UUID) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetOptional(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetOptionalAndNillable(i int) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetOther(s *schema.Link) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetState(o oastypes.State) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetStringField(s string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetStrings(s []string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetText(s string) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetTime(t time.Time) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetUUID(u uuid.UUID) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetUint(u uint) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetUint16(u uint16) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetUint32(u uint32) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetUint64(u uint64) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) SetUint8(u uint8) *OASTypesUpdateOne + func (otuo *OASTypesUpdateOne) Where(ps ...predicate.OASTypes) *OASTypesUpdateOne + 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) + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + OASTypes *OASTypesClient + 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