Discover Packages
github.com/star-table/polaris-backend/common
model
vo
datacenter
package
Version:
v0.0.0-...-57ed434
Opens a new window with list of versions in this module.
Published: Jul 12, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Order struct {
Column string `json:"column"`
IsAsc bool `json:"is_asc"`
}
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 struct {
vo .Err
Data []map[string ]interface{} `json:"data"`
}
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 struct {
Type string `json:"type"`
Schema string `json:"schema"`
Database string `json:"database"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.