Documentation ¶
Index ¶
- Constants
- func InjectDbWebClient(s *DbWebClient)
- func LoadDbWebClient() baseiface.ISingleton
- type DbWebClient
- func (self *DbWebClient) Cmd(req *dbwebdto.PageDbWebRequest) *page.PageResult
- func (self *DbWebClient) Init()
- func (self *DbWebClient) InsertEntity(table string, entity any) *page.PageResult
- func (self *DbWebClient) InsertTable(entity iface.ITableName) *page.PageResult
- func (self *DbWebClient) Meta(req *dbwebdto.PageDbWebRequest) *page.PageResult
- func (self *DbWebClient) Query(req *dbwebdto.PageDbWebRequest) *page.PageResult
- func (self *DbWebClient) SetWebPrefix(webPrefix string)
- func (self *DbWebClient) UpdateEntity(table string, entity any, pkey any) *page.PageResult
- func (self *DbWebClient) UpdateNotNullEntity(table string, entity any, pkey any) *page.PageResult
- func (self *DbWebClient) UpdateTable(entity iface.ITableName, pkey any) *page.PageResult
- func (self *DbWebClient) UpdateTableNotNull(entity iface.ITableName, pkey any) *page.PageResult
- func (self *DbWebClient) WebPrefix() string
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 NewDbWebClient ¶
func NewDbWebClient() *DbWebClient
func (*DbWebClient) Cmd ¶
func (self *DbWebClient) Cmd(req *dbwebdto.PageDbWebRequest) *page.PageResult
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 (self *DbWebClient) Meta(req *dbwebdto.PageDbWebRequest) *page.PageResult
func (*DbWebClient) Query ¶
func (self *DbWebClient) Query(req *dbwebdto.PageDbWebRequest) *page.PageResult
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
Click to show internal directories.
Click to hide internal directories.