hranaV2

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(url, jwt, host string, schemaDb bool, encryptionKey string, cleanup *CleanupManager) driver.Conn

func HTTPStatus

func HTTPStatus(err error) int

HTTPStatus returns a status observed by this driver, never one parsed from untrusted body text. Joined or excessively deep causes carry no such proof.

Types

type BatchResultRowsProvider

type BatchResultRowsProvider struct {
	// contains filtered or unexported fields
}

func (*BatchResultRowsProvider) Columns

func (p *BatchResultRowsProvider) Columns(setIdx int) []string

func (*BatchResultRowsProvider) Error

func (p *BatchResultRowsProvider) Error(setIdx int) string

func (*BatchResultRowsProvider) FieldValue

func (p *BatchResultRowsProvider) FieldValue(setIdx, rowIdx, colIdx int) driver.Value

func (*BatchResultRowsProvider) HasResult

func (p *BatchResultRowsProvider) HasResult(setIdx int) bool

func (*BatchResultRowsProvider) RowsCount

func (p *BatchResultRowsProvider) RowsCount(setIdx int) int

func (*BatchResultRowsProvider) SetsCount

func (p *BatchResultRowsProvider) SetsCount() int

type CleanupManager

type CleanupManager struct {
	// contains filtered or unexported fields
}

CleanupManager belongs to one database opener. Detached cleanup must never hold its SQL connection or writer admission while waiting for a cleanup slot.

func NewCleanupManager

func NewCleanupManager() *CleanupManager

func (*CleanupManager) Stats

func (m *CleanupManager) Stats() CleanupStats

type CleanupStats

type CleanupStats struct {
	Active  int
	Skipped uint64
}

type StmtResultRowsProvider

type StmtResultRowsProvider struct {
	// contains filtered or unexported fields
}

func (*StmtResultRowsProvider) Columns

func (p *StmtResultRowsProvider) Columns(setIdx int) []string

func (*StmtResultRowsProvider) Error

func (p *StmtResultRowsProvider) Error(setIdx int) string

func (*StmtResultRowsProvider) FieldValue

func (p *StmtResultRowsProvider) FieldValue(setIdx, rowIdx, colIdx int) driver.Value

func (*StmtResultRowsProvider) HasResult

func (p *StmtResultRowsProvider) HasResult(setIdx int) bool

func (*StmtResultRowsProvider) RowsCount

func (p *StmtResultRowsProvider) RowsCount(setIdx int) int

func (*StmtResultRowsProvider) SetsCount

func (p *StmtResultRowsProvider) SetsCount() int

Jump to

Keyboard shortcuts

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