Documentation
¶
Index ¶
- Constants
- Variables
- type Executor
- func (e *Executor) Client() database.NoSQLClient
- func (e *Executor) Close(ctx context.Context) error
- func (e *Executor) IsClosed() bool
- func (e *Executor) Open(ctx context.Context) error
- func (e *Executor) Ping(ctx context.Context) error
- func (e *Executor) Request(ctx context.Context, request database.Request) (any, error)
- func (e *Executor) Type() database.Type
- type Method
Constants ¶
View Source
const DefaultFindLimit int = 10 // Just a safeguard
Variables ¶
View Source
var NoSQLMethods = []Method{MethodFind}
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func NewExecutor(modelType database.NoSQLModelType) (*Executor, error)
func (*Executor) Client ¶
func (e *Executor) Client() database.NoSQLClient
Client implements database.NoSQL.
Click to show internal directories.
Click to hide internal directories.