package
Version:
v0.0.15
Opens a new window with list of versions in this module.
Published: Sep 11, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Join struct {
Table string `json:"table"`
Alias string `json:"alias"`
JoinMode string `json:"join_mode"`
OnList []On `json:"on_list"`
}
type On struct {
Name string `json:"name"`
Value string `json:"value"`
Algorithm string `json:"algorithm"`
}
type Page struct {
PageSize int `json:"page_size"`
PageIndex int `json:"page_index"`
TotalPages int `json:"total_pages"`
}
type Query struct {
Count bool `json:"count"`
Export bool `json:"export"`
Page Page `json:"page"`
Query []map[string]interface{} `json:"query"`
Joins Join `json:"joins"`
OrderBy []map[string]string `json:"order_by"`
Select []string `json:"select"`
}
type ResponseData struct {
Result Result `json:"result"`
Message string `json:"message"`
ErrorCode int `json:"error_code"`
}
type Result struct {
Data any `json:"data"`
Page Page `json:"page"`
Total int64 `json:"total"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.