Documentation ¶
Index ¶
- type DummyJsonMysqlPersistence
- func (c *DummyJsonMysqlPersistence) DefineSchema()
- func (c *DummyJsonMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyJsonMysqlPersistence) GetOneRandom(ctx context.Context, correlationId string) (item fixtures.Dummy, err error)
- func (c *DummyJsonMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[fixtures.Dummy], err error)
- type DummyMapMysqlPersistence
- func (c *DummyMapMysqlPersistence) DefineSchema()
- func (c *DummyMapMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyMapMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[map[string]any], err error)
- type DummyMysqlPersistence
- func (c *DummyMysqlPersistence) DefineSchema()
- func (c *DummyMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyMysqlPersistence) GetOneRandom(ctx context.Context, correlationId string) (item fixtures.Dummy, err error)
- func (c *DummyMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[fixtures.Dummy], err error)
- type DummyRefMysqlPersistence
- func (c *DummyRefMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyRefMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[*fixtures.Dummy], err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyJsonMysqlPersistence ¶
type DummyJsonMysqlPersistence struct { *persist.IdentifiableJsonMysqlPersistence[fixtures.Dummy, string] }
func NewDummyJsonMysqlPersistence ¶
func NewDummyJsonMysqlPersistence() *DummyJsonMysqlPersistence
func (*DummyJsonMysqlPersistence) DefineSchema ¶
func (c *DummyJsonMysqlPersistence) DefineSchema()
func (*DummyJsonMysqlPersistence) GetCountByFilter ¶
func (c *DummyJsonMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyJsonMysqlPersistence) GetOneRandom ¶
func (*DummyJsonMysqlPersistence) GetPageByFilter ¶
func (c *DummyJsonMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[fixtures.Dummy], err error)
type DummyMapMysqlPersistence ¶
type DummyMapMysqlPersistence struct { persist.IdentifiableMysqlPersistence[map[string]any, string] }
func NewDummyMapMysqlPersistence ¶
func NewDummyMapMysqlPersistence() *DummyMapMysqlPersistence
func (*DummyMapMysqlPersistence) DefineSchema ¶
func (c *DummyMapMysqlPersistence) DefineSchema()
func (*DummyMapMysqlPersistence) GetCountByFilter ¶
func (c *DummyMapMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyMapMysqlPersistence) GetPageByFilter ¶
func (c *DummyMapMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[map[string]any], err error)
type DummyMysqlPersistence ¶
type DummyMysqlPersistence struct { *persist.IdentifiableMysqlPersistence[fixtures.Dummy, string] }
func NewDummyMysqlPersistence ¶
func NewDummyMysqlPersistence() *DummyMysqlPersistence
func (*DummyMysqlPersistence) DefineSchema ¶
func (c *DummyMysqlPersistence) DefineSchema()
func (*DummyMysqlPersistence) GetCountByFilter ¶
func (c *DummyMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyMysqlPersistence) GetOneRandom ¶
func (*DummyMysqlPersistence) GetPageByFilter ¶
func (c *DummyMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[fixtures.Dummy], err error)
type DummyRefMysqlPersistence ¶
type DummyRefMysqlPersistence struct { persist.IdentifiableMysqlPersistence[*fixtures.Dummy, string] }
func NewDummyRefMysqlPersistence ¶
func NewDummyRefMysqlPersistence() *DummyRefMysqlPersistence
func (*DummyRefMysqlPersistence) GetCountByFilter ¶
func (c *DummyRefMysqlPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyRefMysqlPersistence) GetPageByFilter ¶
func (c *DummyRefMysqlPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[*fixtures.Dummy], err error)
Click to show internal directories.
Click to hide internal directories.