model

package
v0.0.0-...-15fc393 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

type DBConnection

type DBConnection struct {
	Host     string `json:"host"`
	User     string `json:"user"`
	Password string `json:"password"`
	Dbname   string `json:"dbname"`
	Port     int    `json:"port"`
	Sslmode  string `json:"sslmode"`
}

type FlatTable

type FlatTable struct {
	Name    string    `json:"name"`
	Columns []*Column `json:"columns"`
}

type ReportClause

type ReportClause struct {
	Selections []*ReportSelection `json:"selections"`
}

type ReportData

type ReportData struct {
	Rows []map[string]interface{} `json:"rows"`
}

type ReportSelection

type ReportSelection struct {
	ID       string `json:"_id"`
	Field    string `json:"field"`
	Operator string `json:"operator"`
	Value    string `json:"value"`
}

Jump to

Keyboard shortcuts

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