Documentation ¶
Index ¶
- func Disintegration(v Value) []interface{}
- type Agg
- type Aggs
- type Bool
- type CountReq
- type CountResp
- type DSL
- type DSLService
- type DeleteReq
- type DeleteResp
- type Field
- type FindOneReq
- type FindOneResp
- type FindReq
- type FindResp
- type InsertReq
- type InsertResp
- type Option
- type Query
- type UpdateReq
- type UpdateResp
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disintegration ¶
func Disintegration(v Value) []interface{}
Types ¶
type DSLService ¶
type DSLService interface { FindOne(ctx context.Context, req *FindOneReq) (*FindOneResp, error) Find(ctx context.Context, req *FindReq) (*FindResp, error) Count(ctx context.Context, req *CountReq) (*CountResp, error) Insert(ctx context.Context, req *InsertReq) (*InsertResp, error) Update(ctx context.Context, req *UpdateReq) (*UpdateResp, error) Delete(ctx context.Context, req *DeleteReq) (*DeleteResp, error) }
type DeleteResp ¶
type DeleteResp struct {
Count int64
}
type FindOneReq ¶
type FindOneResp ¶
type FindOneResp struct {
Data interface{}
}
type InsertResp ¶
type InsertResp struct {
Count int64
}
type UpdateResp ¶
type UpdateResp struct {
Count int64
}
Click to show internal directories.
Click to hide internal directories.