Documentation
¶
Index ¶
- type ElasticEngine
- func (self *ElasticEngine) Digest(skma *schema.Digest) (*respond.Result, error)
- func (self *ElasticEngine) First(skma *schema.Input, record *respond.Record) error
- func (self *ElasticEngine) Search(skma *schema.Table) (*respond.Result, error)
- func (self *ElasticEngine) Select(schema *schema.Input, record []*respond.Record) error
- func (self *ElasticEngine) Store(skma *schema.Input, record *respond.Record) error
- func (self *ElasticEngine) Update(skma *schema.Input, data map[string]any) error
- func (self *ElasticEngine) Upsert(skma *schema.Input, records []*respond.Record) error
- func (self *ElasticEngine) Using(handle ICallable) IEngine
- type ICallable
- type IEngine
- type MemoryEngine
- func (self *MemoryEngine) Digest(skma *schema.Digest) (*respond.Result, error)
- func (self *MemoryEngine) First(skma *schema.Input, record *respond.Record) error
- func (self *MemoryEngine) Search(skma *schema.Table) (*respond.Result, error)
- func (self *MemoryEngine) Select(skma *schema.Input, records []*respond.Record) error
- func (self *MemoryEngine) Store(skma *schema.Input, record *respond.Record) error
- func (self *MemoryEngine) Update(skma *schema.Input, data map[string]any) error
- func (self *MemoryEngine) Upsert(skma *schema.Input, records []*respond.Record) error
- func (self *MemoryEngine) Using(handle ICallable) IEngine
- type MongoEngine
- func (self *MongoEngine) Digest(skma *schema.Digest) (*respond.Result, error)
- func (self *MongoEngine) First(skma *schema.Input, record *respond.Record) error
- func (self *MongoEngine) Search(skma *schema.Table) (*respond.Result, error)
- func (self *MongoEngine) Select(skma *schema.Input, records []*respond.Record) error
- func (self *MongoEngine) Store(skma *schema.Input, record *respond.Record) error
- func (self *MongoEngine) Update(skma *schema.Input, data map[string]any) error
- func (self *MongoEngine) Upsert(skma *schema.Input, records []*respond.Record) error
- func (self *MongoEngine) Using(handle ICallable) IEngine
- type MySQLEngine
- func (self *MySQLEngine) Digest(skma *schema.Digest) (*respond.Result, error)
- func (self *MySQLEngine) First(skma *schema.Input, record *respond.Record) error
- func (self *MySQLEngine) Search(skma *schema.Table) (*respond.Result, error)
- func (self *MySQLEngine) Select(skma *schema.Input, records []*respond.Record) error
- func (self *MySQLEngine) Store(skma *schema.Input, record *respond.Record) error
- func (self *MySQLEngine) Update(skma *schema.Input, data map[string]any) error
- func (self *MySQLEngine) Upsert(skma *schema.Input, records []*respond.Record) error
- func (self *MySQLEngine) Using(handle ICallable) IEngine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticEngine ¶
type ElasticEngine struct {
// contains filtered or unexported fields
}
func (*ElasticEngine) Using ¶
func (self *ElasticEngine) Using(handle ICallable) IEngine
type IEngine ¶
type IEngine interface {
Using(ICallable) IEngine
First(*schema.Input, *respond.Record) error
Store(*schema.Input, *respond.Record) error
Update(*schema.Input, map[string]any) error
Upsert(*schema.Input, []*respond.Record) error
Select(*schema.Input, []*respond.Record) error
Search(*schema.Table) (*respond.Result, error)
Digest(*schema.Digest) (*respond.Result, error)
}
type MemoryEngine ¶
type MemoryEngine struct {
// contains filtered or unexported fields
}
MemoryEngine 内存存储引擎,使用 map 存储数据
func (*MemoryEngine) Using ¶
func (self *MemoryEngine) Using(handle ICallable) IEngine
type MongoEngine ¶
type MongoEngine struct {
// contains filtered or unexported fields
}
func (*MongoEngine) Using ¶
func (self *MongoEngine) Using(handle ICallable) IEngine
type MySQLEngine ¶
type MySQLEngine struct {
// contains filtered or unexported fields
}
func (*MySQLEngine) Using ¶
func (self *MySQLEngine) Using(handle ICallable) IEngine
Click to show internal directories.
Click to hide internal directories.