Documentation ¶
Index ¶
- type WebFacade
- func (self *WebFacade[T]) BulkDelete(ids ...any) *basedto.IchubResult
- func (self *WebFacade[T]) BulkUpsert() *basedto.IchubResult
- func (self *WebFacade[T]) CmsExistId(id string) *page.PageResult
- func (self *WebFacade[T]) CreateIndexIfNotExist() *basedto.IchubResult
- func (self *WebFacade[T]) CreateIndexesIfNotExist() *basedto.IchubResult
- func (self *WebFacade[T]) Delete(id any) *basedto.IchubResult
- func (self *WebFacade[T]) DeleteByQuery() *basedto.IchubResult
- func (self *WebFacade[T]) MetaCreateIndex() *basedto.IchubResult
- func (self *WebFacade[T]) MetaDropIndex() *basedto.IchubResult
- func (self *WebFacade[T]) MetaGetMapping() *basedto.IchubResult
- func (self *WebFacade[T]) MetaIndexExists() *basedto.IchubResult
- func (self *WebFacade[T]) QueryResult() *pagemodel.PageResult[T]
- func (self *WebFacade[T]) Save(id any, doc map[string]any) *basedto.IchubResult
- func (self *WebFacade[T]) SaveIndex(indexTable baseindex.IndexIface) *basedto.IchubResult
- func (self *WebFacade[T]) SaveStru(id any, stru any) *basedto.IchubResult
- func (self *WebFacade[T]) UpdataParam2Script(fieldAsParams map[string]interface{}) string
- func (self *WebFacade[T]) Update(ids any, doc map[string]any) *basedto.IchubResult
- func (self *WebFacade[T]) Update2Err(id any, doc map[string]any) error
- func (self *WebFacade[T]) UpdateByQuery(updateClause string, fieldParams map[string]any) *basedto.IchubResult
- func (self *WebFacade[T]) UpdateByQueryParam(fieldAsParams map[string]any) *basedto.IchubResult
- func (self *WebFacade[T]) UpdateIndex(doc baseindex.IndexIface) *basedto.IchubResult
- func (self *WebFacade[T]) UpdateStru(ids any, doc any) *basedto.IchubResult
- func (self *WebFacade[T]) WebSaveIndex(id any) *basedto.IchubResult
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 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]) 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]) 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 (*WebFacade[T]) Update2Err ¶
func (*WebFacade[T]) UpdateByQuery ¶
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
Click to show internal directories.
Click to hide internal directories.