application

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BufferSize int64 = 200

Variables

Functions

func Buffer added in v0.3.2

func Buffer(result []map[string]interface{})

func Connect

func Connect(connecter database.Connecter, connection *models.Connection)

Connect connects to the host with the passed *models.Connection and adds it to the database tree view if it was successful.

func GetApplication

func GetApplication() *tview.Application

GetApplication returns the initialized *tview.Application.

func RunQuery added in v0.3.2

func RunQuery(ctx context.Context, collection database.Collection, filter []byte, sort []byte, project []byte)

RunQuery queries the passed filter on the passed collection and displays the result on the result view.

Types

This section is empty.

Jump to

Keyboard shortcuts

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