datacenter

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	Column string `json:"column"`
	IsAsc  bool   `json:"is_asc"`
}

type QueryReq

type QueryReq struct {
	From      []Table          `json:"from"`
	Condition vo.LessCondsData `json:"condition"`
	Limit     int              `json:"limit"`
	Offset    int              `json:"offset"`
	Columns   []string         `json:"columns"`
	Orders    []Order          `json:"orders"`
	Groups    []string         `json:"groups"`
}

type QueryResp

type QueryResp struct {
	vo.Err
	Data []map[string]interface{} `json:"data"`
}

type Set

type Set struct {
	Column          string      `json:"column"`
	Value           interface{} `json:"value"`
	Type            int         `json:"type"`
	Action          int         `json:"action"`
	WithoutPretreat bool        `json:"withoutPretreat"`
}

type Table

type Table struct {
	Type     string `json:"type"`
	Schema   string `json:"schema"`
	Database string `json:"database"`
}

Jump to

Keyboard shortcuts

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