nosql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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 New

func NewExecutor

func NewExecutor(modelType database.NoSQLModelType) (*Executor, error)

func (*Executor) Client

func (e *Executor) Client() database.NoSQLClient

Client implements database.NoSQL.

func (*Executor) Close

func (e *Executor) Close(ctx context.Context) error

Close implements database.NoSQL.

func (*Executor) IsClosed

func (e *Executor) IsClosed() bool

IsClosed implements database.NoSQL.

func (*Executor) Open

func (e *Executor) Open(ctx context.Context) error

Open implements database.NoSQL.

func (*Executor) Ping

func (e *Executor) Ping(ctx context.Context) error

Ping implements database.NoSQL.

func (*Executor) Request

func (e *Executor) Request(ctx context.Context, request database.Request) (any, error)

Request implements database.NoSQL.

func (*Executor) Type

func (e *Executor) Type() database.Type

Type implements database.NoSQL.

type Method

type Method string
const (
	MethodFind Method = "FIND"
)

func (Method) String

func (s Method) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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