Documentation ¶
Index ¶
- type DummyJsonPostgresPersistence
- func (c *DummyJsonPostgresPersistence) DefineSchema()
- func (c *DummyJsonPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyJsonPostgresPersistence) GetOneRandom(ctx context.Context, correlationId string) (item fixtures.Dummy, err error)
- func (c *DummyJsonPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[fixtures.Dummy], err error)
- type DummyMapPostgresPersistence
- func (c *DummyMapPostgresPersistence) DefineSchema()
- func (c *DummyMapPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyMapPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[map[string]any], err error)
- type DummyPostgresPersistence
- func (c *DummyPostgresPersistence) DefineSchema()
- func (c *DummyPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyPostgresPersistence) GetOneRandom(ctx context.Context, correlationId string) (item fixtures.Dummy, err error)
- func (c *DummyPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (page cdata.DataPage[fixtures.Dummy], err error)
- type DummyRefPostgresPersistence
- func (c *DummyRefPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
- func (c *DummyRefPostgresPersistence) 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 DummyJsonPostgresPersistence ¶
type DummyJsonPostgresPersistence struct { *persist.IdentifiableJsonPostgresPersistence[fixtures.Dummy, string] }
func NewDummyJsonPostgresPersistence ¶
func NewDummyJsonPostgresPersistence() *DummyJsonPostgresPersistence
func (*DummyJsonPostgresPersistence) DefineSchema ¶
func (c *DummyJsonPostgresPersistence) DefineSchema()
func (*DummyJsonPostgresPersistence) GetCountByFilter ¶
func (c *DummyJsonPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyJsonPostgresPersistence) GetOneRandom ¶
func (*DummyJsonPostgresPersistence) GetPageByFilter ¶
func (c *DummyJsonPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[fixtures.Dummy], err error)
type DummyMapPostgresPersistence ¶
type DummyMapPostgresPersistence struct { persist.IdentifiablePostgresPersistence[map[string]any, string] }
func NewDummyMapPostgresPersistence ¶
func NewDummyMapPostgresPersistence() *DummyMapPostgresPersistence
func (*DummyMapPostgresPersistence) DefineSchema ¶
func (c *DummyMapPostgresPersistence) DefineSchema()
func (*DummyMapPostgresPersistence) GetCountByFilter ¶
func (c *DummyMapPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyMapPostgresPersistence) GetPageByFilter ¶
func (c *DummyMapPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[map[string]any], err error)
type DummyPostgresPersistence ¶
type DummyPostgresPersistence struct { persist.IdentifiablePostgresPersistence[fixtures.Dummy, string] }
func NewDummyPostgresPersistence ¶
func NewDummyPostgresPersistence() *DummyPostgresPersistence
func (*DummyPostgresPersistence) DefineSchema ¶
func (c *DummyPostgresPersistence) DefineSchema()
func (*DummyPostgresPersistence) GetCountByFilter ¶
func (c *DummyPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyPostgresPersistence) GetOneRandom ¶
func (*DummyPostgresPersistence) GetPageByFilter ¶
func (c *DummyPostgresPersistence) GetPageByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (page cdata.DataPage[fixtures.Dummy], err error)
type DummyRefPostgresPersistence ¶
type DummyRefPostgresPersistence struct { persist.IdentifiablePostgresPersistence[*fixtures.Dummy, string] }
func NewDummyRefPostgresPersistence ¶
func NewDummyRefPostgresPersistence() *DummyRefPostgresPersistence
func (*DummyRefPostgresPersistence) GetCountByFilter ¶
func (c *DummyRefPostgresPersistence) GetCountByFilter(ctx context.Context, correlationId string, filter cdata.FilterParams) (count int64, err error)
func (*DummyRefPostgresPersistence) GetPageByFilter ¶
func (c *DummyRefPostgresPersistence) 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.