query

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Outcome

type Outcome struct {
	Result       any    `json:"result"`
	NextCursor   string `json:"next_cursor,omitempty"`
	RowsAffected int64  `json:"rows_affected,omitempty"`
}

type Service

type Service struct {
	Registry  *adapter.Registry
	PageStore *result.PageStore
	Logger    *activity.Logger
}

func (*Service) FetchPage

func (s *Service) FetchPage(cursor string) (result.QueryPage, error)

func (*Service) Run

func (s *Service) Run(ctx context.Context, conn config.Connection, sql string, limit int, meta activity.CaptureMeta) (Outcome, error)

Jump to

Keyboard shortcuts

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