test

package
v1.2.11-7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyJsonPostgresPersistence

type DummyJsonPostgresPersistence struct {
	persist.IdentifiableJsonPostgresPersistence
}

func NewDummyJsonPostgresPersistence

func NewDummyJsonPostgresPersistence() *DummyJsonPostgresPersistence

func (*DummyJsonPostgresPersistence) Create

func (c *DummyJsonPostgresPersistence) Create(correlationId string, item tf.Dummy) (result tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) DefineSchema added in v1.2.0

func (c *DummyJsonPostgresPersistence) DefineSchema()

func (*DummyJsonPostgresPersistence) DeleteById

func (c *DummyJsonPostgresPersistence) DeleteById(correlationId string, id string) (item tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) DeleteByIds

func (c *DummyJsonPostgresPersistence) DeleteByIds(correlationId string, ids []string) (err error)

func (*DummyJsonPostgresPersistence) GetCountByFilter

func (c *DummyJsonPostgresPersistence) GetCountByFilter(correlationId string, filter *cdata.FilterParams) (count int64, err error)

func (*DummyJsonPostgresPersistence) GetListByIds

func (c *DummyJsonPostgresPersistence) GetListByIds(correlationId string, ids []string) (items []tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) GetOneById

func (c *DummyJsonPostgresPersistence) GetOneById(correlationId string, id string) (item tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) GetOneRandom added in v1.2.6

func (c *DummyJsonPostgresPersistence) GetOneRandom(correlationId string) (item tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) GetPageByFilter

func (c *DummyJsonPostgresPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *tf.DummyPage, err error)

func (*DummyJsonPostgresPersistence) Set added in v1.1.2

func (c *DummyJsonPostgresPersistence) Set(correlationId string, item tf.Dummy) (result tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) Update

func (c *DummyJsonPostgresPersistence) Update(correlationId string, item tf.Dummy) (result tf.Dummy, err error)

func (*DummyJsonPostgresPersistence) UpdatePartially

func (c *DummyJsonPostgresPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item tf.Dummy, err error)

type DummyMapPostgresPersistence

type DummyMapPostgresPersistence struct {
	persist.IdentifiablePostgresPersistence
}

func NewDummyMapPostgresPersistence

func NewDummyMapPostgresPersistence() *DummyMapPostgresPersistence

func (*DummyMapPostgresPersistence) Create

func (c *DummyMapPostgresPersistence) Create(correlationId string, item map[string]interface{}) (result map[string]interface{}, err error)

func (*DummyMapPostgresPersistence) DefineSchema added in v1.2.0

func (c *DummyMapPostgresPersistence) DefineSchema()

func (*DummyMapPostgresPersistence) DeleteById

func (c *DummyMapPostgresPersistence) DeleteById(correlationId string, id string) (item map[string]interface{}, err error)

func (*DummyMapPostgresPersistence) DeleteByIds

func (c *DummyMapPostgresPersistence) DeleteByIds(correlationId string, ids []string) (err error)

func (*DummyMapPostgresPersistence) GetCountByFilter

func (c *DummyMapPostgresPersistence) GetCountByFilter(correlationId string, filter *cdata.FilterParams) (count int64, err error)

func (*DummyMapPostgresPersistence) GetListByIds

func (c *DummyMapPostgresPersistence) GetListByIds(correlationId string, ids []string) (items []map[string]interface{}, err error)

func (*DummyMapPostgresPersistence) GetOneById

func (c *DummyMapPostgresPersistence) GetOneById(correlationId string, id string) (item map[string]interface{}, err error)

func (*DummyMapPostgresPersistence) GetPageByFilter

func (c *DummyMapPostgresPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *tf.MapPage, err error)

func (*DummyMapPostgresPersistence) Set added in v1.1.2

func (c *DummyMapPostgresPersistence) Set(correlationId string, item map[string]interface{}) (result map[string]interface{}, err error)

func (*DummyMapPostgresPersistence) Update

func (c *DummyMapPostgresPersistence) Update(correlationId string, item map[string]interface{}) (result map[string]interface{}, err error)

func (*DummyMapPostgresPersistence) UpdatePartially

func (c *DummyMapPostgresPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item map[string]interface{}, err error)

type DummyPostgresPersistence

type DummyPostgresPersistence struct {
	persist.IdentifiablePostgresPersistence
}

func NewDummyPostgresPersistence

func NewDummyPostgresPersistence() *DummyPostgresPersistence

func (*DummyPostgresPersistence) Create

func (c *DummyPostgresPersistence) Create(correlationId string, item tf.Dummy) (result tf.Dummy, err error)

func (*DummyPostgresPersistence) DefineSchema added in v1.2.0

func (c *DummyPostgresPersistence) DefineSchema()

func (*DummyPostgresPersistence) DeleteById

func (c *DummyPostgresPersistence) DeleteById(correlationId string, id string) (item tf.Dummy, err error)

func (*DummyPostgresPersistence) DeleteByIds

func (c *DummyPostgresPersistence) DeleteByIds(correlationId string, ids []string) (err error)

func (*DummyPostgresPersistence) GetCountByFilter

func (c *DummyPostgresPersistence) GetCountByFilter(correlationId string, filter *cdata.FilterParams) (count int64, err error)

func (*DummyPostgresPersistence) GetListByIds

func (c *DummyPostgresPersistence) GetListByIds(correlationId string, ids []string) (items []tf.Dummy, err error)

func (*DummyPostgresPersistence) GetOneById

func (c *DummyPostgresPersistence) GetOneById(correlationId string, id string) (item tf.Dummy, err error)

func (*DummyPostgresPersistence) GetOneRandom added in v1.2.6

func (c *DummyPostgresPersistence) GetOneRandom(correlationId string) (item tf.Dummy, err error)

func (*DummyPostgresPersistence) GetPageByFilter

func (c *DummyPostgresPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *tf.DummyPage, err error)

func (*DummyPostgresPersistence) Set added in v1.1.2

func (c *DummyPostgresPersistence) Set(correlationId string, item tf.Dummy) (result tf.Dummy, err error)

func (*DummyPostgresPersistence) Update

func (c *DummyPostgresPersistence) Update(correlationId string, item tf.Dummy) (result tf.Dummy, err error)

func (*DummyPostgresPersistence) UpdatePartially

func (c *DummyPostgresPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item tf.Dummy, err error)

type DummyRefPostgresPersistence

type DummyRefPostgresPersistence struct {
	persist.IdentifiablePostgresPersistence
}

extends IdentifiablePostgresPersistence<Dummy, string> implements IDummyPersistence {

func NewDummyRefPostgresPersistence

func NewDummyRefPostgresPersistence() *DummyRefPostgresPersistence

func (*DummyRefPostgresPersistence) Create

func (c *DummyRefPostgresPersistence) Create(correlationId string, item *tf.Dummy) (result *tf.Dummy, err error)

func (*DummyRefPostgresPersistence) DeleteById

func (c *DummyRefPostgresPersistence) DeleteById(correlationId string, id string) (item *tf.Dummy, err error)

func (*DummyRefPostgresPersistence) DeleteByIds

func (c *DummyRefPostgresPersistence) DeleteByIds(correlationId string, ids []string) (err error)

func (*DummyRefPostgresPersistence) GetCountByFilter

func (c *DummyRefPostgresPersistence) GetCountByFilter(correlationId string, filter *cdata.FilterParams) (count int64, err error)

func (*DummyRefPostgresPersistence) GetListByIds

func (c *DummyRefPostgresPersistence) GetListByIds(correlationId string, ids []string) (items []*tf.Dummy, err error)

func (*DummyRefPostgresPersistence) GetOneById

func (c *DummyRefPostgresPersistence) GetOneById(correlationId string, id string) (item *tf.Dummy, err error)

func (*DummyRefPostgresPersistence) GetPageByFilter

func (c *DummyRefPostgresPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *tf.DummyRefPage, err error)

func (*DummyRefPostgresPersistence) Set added in v1.1.2

func (c *DummyRefPostgresPersistence) Set(correlationId string, item *tf.Dummy) (result *tf.Dummy, err error)

func (*DummyRefPostgresPersistence) Update

func (c *DummyRefPostgresPersistence) Update(correlationId string, item *tf.Dummy) (result *tf.Dummy, err error)

func (*DummyRefPostgresPersistence) UpdatePartially

func (c *DummyRefPostgresPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item *tf.Dummy, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL