tableDB/types.go

27 lines
354 B
Go

package tableDB
type FieldSchema struct {
TableID string
Name string
Type string
Index string
Comment string
}
type QueryRequest struct {
Table string
Select []string
Joins []JoinConfig
Where string
OrderBy string
Limit int
Offset int
Args []any
}
type JoinConfig struct {
Table string
Type string
On string
}