dbwebclient

package
v1.0.2-dev-10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MulanPSL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DBSERVER_WEB_PREFIX = "/dbserver/v3"

Variables

This section is empty.

Functions

func InjectDbWebClient

func InjectDbWebClient(s *DbWebClient)

func LoadDbWebClient

func LoadDbWebClient() baseiface.ISingleton

Types

type DbWebClient

type DbWebClient struct {
	//basedto.BaseEntitySingle
	*webclient.WebClient
	// contains filtered or unexported fields
}

func Default

func Default() *DbWebClient

func DefaultDb

func DefaultDb() *DbWebClient

func FindBeanDbWebClient

func FindBeanDbWebClient() *DbWebClient

FindBeanDbWebClient

func NewDbWebClient

func NewDbWebClient() *DbWebClient

func (*DbWebClient) Cmd

func (*DbWebClient) Init

func (self *DbWebClient) Init()

func (*DbWebClient) InsertEntity

func (self *DbWebClient) InsertEntity(table string, entity any) *page.PageResult

func (*DbWebClient) InsertTable

func (self *DbWebClient) InsertTable(entity iface.ITableName) *page.PageResult

func (*DbWebClient) Meta

func (*DbWebClient) Query

func (*DbWebClient) SetWebPrefix

func (self *DbWebClient) SetWebPrefix(webPrefix string)

func (*DbWebClient) UpdateEntity

func (self *DbWebClient) UpdateEntity(table string, entity any, pkey any) *page.PageResult

func (*DbWebClient) UpdateNotNullEntity

func (self *DbWebClient) UpdateNotNullEntity(table string, entity any, pkey any) *page.PageResult

func (*DbWebClient) UpdateTable

func (self *DbWebClient) UpdateTable(entity iface.ITableName, pkey any) *page.PageResult

func (*DbWebClient) UpdateTableNotNull

func (self *DbWebClient) UpdateTableNotNull(entity iface.ITableName, pkey any) *page.PageResult

func (*DbWebClient) WebPrefix

func (self *DbWebClient) WebPrefix() string

Jump to

Keyboard shortcuts

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