dbviewer

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDbViewersBreadcrumbs

func GetDbViewersBreadcrumbs(tui *sneatnav.TUI) sneatnav.Breadcrumbs

func GoDbViewerSelector

func GoDbViewerSelector(tui *sneatnav.TUI, focusTo sneatnav.FocusTo) error

func GoSqlDbHome

func GoSqlDbHome(tui *sneatnav.TUI, dbContext dtviewers.DbContext) error

func RegisterAsViewer

func RegisterAsViewer()

Types

type RecentDB

type RecentDB struct {
	Name string
	Path string
}

type SqlDbRootScreen

type SqlDbRootScreen int
const (
	SqlDbScreenTables SqlDbRootScreen = iota
	SqlDbScreenViews
)

type TableContentRecordset

type TableContentRecordset struct {
	tview.TableContentReadOnly
	// contains filtered or unexported fields
}

func (TableContentRecordset) GetCell

func (t TableContentRecordset) GetCell(row, column int) (cell *tview.TableCell)

func (TableContentRecordset) GetColumnCount

func (t TableContentRecordset) GetColumnCount() int

func (TableContentRecordset) GetRowCount

func (t TableContentRecordset) GetRowCount() int

type TablesBox

type TablesBox struct {
	*tview.Table
	// contains filtered or unexported fields
}

func NewTablesBox

func NewTablesBox(tui *sneatnav.TUI, dbContext dtviewers.DbContext, collectionType datatug.CollectionType, title string) *TablesBox

func (*TablesBox) SetNextFocus

func (b *TablesBox) SetNextFocus(next tview.Primitive)

Jump to

Keyboard shortcuts

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