Documentation
¶
Index ¶
- Constants
- func NewDriver() jdb.Driver
- type Base
- func (s *Base) ChangePassword(username, password, confirmation string) error
- func (s *Base) Command(command *jdb.Command) (et.Items, error)
- func (s *Base) Connect(params et.Json) error
- func (s *Base) Count(ql *jdb.Ql) (int, error)
- func (s *Base) CreateCore() error
- func (s *Base) CreateDatabase(name string) error
- func (s *Base) CreateSchema(name string) error
- func (s *Base) CreateUser(username, password, confirmation string) error
- func (s *Base) CurrentSerie(tag string) int64
- func (s *Base) Data(source, sql string, params ...any) (et.Items, error)
- func (s *Base) DeleteKey(key string) error
- func (s *Base) DeleteUser(username string) error
- func (s *Base) Disconnect() error
- func (s *Base) DropDatabase(name string) error
- func (s *Base) DropModel(model *jdb.Model) error
- func (s *Base) DropSchema(name string) error
- func (s *Base) Exec(sql string, params ...any) error
- func (s *Base) FindKeys(search string, page, rows int) (et.List, error)
- func (s *Base) GetKey(key string) (et.KeyValue, error)
- func (s *Base) GetSerie(tag string) int64
- func (s *Base) GrantPrivileges(username, dbName string) error
- func (s *Base) LoadByTable(model *jdb.Model) error
- func (s *Base) LoadModel(model *jdb.Model) error
- func (s *Base) Name() string
- func (s *Base) NextCode(tag, prefix string) string
- func (s *Base) Query(sql string, params ...any) (et.Items, error)
- func (s *Base) Select(ql *jdb.Ql) (et.Items, error)
- func (s *Base) SetKey(key string, value []byte) error
- func (s *Base) SetMain(params et.Json) error
- func (s *Base) SetSerie(tag string, val int) int64
Constants ¶
View Source
const DriverName = "base"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
}
func (*Base) ChangePassword ¶ added in v1.0.5
func (*Base) CreateCore ¶
func (*Base) CreateDatabase ¶
func (*Base) CreateSchema ¶
func (*Base) CreateUser ¶ added in v1.0.5
func (*Base) CurrentSerie ¶
func (*Base) DeleteUser ¶
func (*Base) Disconnect ¶
func (*Base) DropDatabase ¶
func (*Base) DropSchema ¶
func (*Base) GrantPrivileges ¶ added in v1.0.5
Click to show internal directories.
Click to hide internal directories.