webfacade

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebFacade

type WebFacade[T baseindex.IndexMapping] struct {
	Meta *webreq.MetaRequest[T]
	Cmd  *webreq.CmdRequest[T]
	*webreq.WebRequest[T]
}

func Default

func Default[T baseindex.IndexMapping]() *WebFacade[T]

Default DefaultOf

func DefaultOf

func DefaultOf[T baseindex.IndexMapping](generalQ elastic.Query) *WebFacade[T]

func (*WebFacade[T]) BulkDelete

func (self *WebFacade[T]) BulkDelete(ids ...any) *basedto.IchubResult

func (*WebFacade[T]) BulkUpsert

func (self *WebFacade[T]) BulkUpsert() *basedto.IchubResult

func (*WebFacade[T]) CmsExistId

func (self *WebFacade[T]) CmsExistId(id string) *page.PageResult

func (*WebFacade[T]) CreateIndexIfNotExist

func (self *WebFacade[T]) CreateIndexIfNotExist() *basedto.IchubResult

func (*WebFacade[T]) CreateIndexesIfNotExist

func (self *WebFacade[T]) CreateIndexesIfNotExist() *basedto.IchubResult

func (*WebFacade[T]) Delete

func (self *WebFacade[T]) Delete(id any) *basedto.IchubResult

func (*WebFacade[T]) DeleteByQuery

func (self *WebFacade[T]) DeleteByQuery() *basedto.IchubResult

func (*WebFacade[T]) MetaCreateIndex

func (self *WebFacade[T]) MetaCreateIndex() *basedto.IchubResult

func (*WebFacade[T]) MetaDropIndex

func (self *WebFacade[T]) MetaDropIndex() *basedto.IchubResult

func (*WebFacade[T]) MetaGetMapping

func (self *WebFacade[T]) MetaGetMapping() *basedto.IchubResult

func (*WebFacade[T]) MetaIndexExists

func (self *WebFacade[T]) MetaIndexExists() *basedto.IchubResult

func (*WebFacade[T]) QueryResult

func (self *WebFacade[T]) QueryResult() *pagemodel.PageResult[T]

func (*WebFacade[T]) Save

func (self *WebFacade[T]) Save(id any, doc map[string]any) *basedto.IchubResult

func (*WebFacade[T]) SaveIndex

func (self *WebFacade[T]) SaveIndex(indexTable baseindex.IndexIface) *basedto.IchubResult

func (*WebFacade[T]) SaveStru

func (self *WebFacade[T]) SaveStru(id any, stru any) *basedto.IchubResult

func (*WebFacade[T]) UpdataParam2Script

func (self *WebFacade[T]) UpdataParam2Script(fieldAsParams map[string]interface{}) string

func (*WebFacade[T]) Update

func (self *WebFacade[T]) Update(ids any, doc map[string]any) *basedto.IchubResult

func (*WebFacade[T]) Update2Err

func (self *WebFacade[T]) Update2Err(id any, doc map[string]any) error

func (*WebFacade[T]) UpdateByQuery

func (self *WebFacade[T]) UpdateByQuery(updateClause string, fieldParams map[string]any) *basedto.IchubResult

func (*WebFacade[T]) UpdateByQueryParam

func (self *WebFacade[T]) UpdateByQueryParam(fieldAsParams map[string]any) *basedto.IchubResult

func (*WebFacade[T]) UpdateIndex

func (self *WebFacade[T]) UpdateIndex(doc baseindex.IndexIface) *basedto.IchubResult

func (*WebFacade[T]) UpdateStru

func (self *WebFacade[T]) UpdateStru(ids any, doc any) *basedto.IchubResult

func (*WebFacade[T]) WebSaveIndex

func (self *WebFacade[T]) WebSaveIndex(id any) *basedto.IchubResult

Jump to

Keyboard shortcuts

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