[feat] add ResField.ToQueryField func

This commit is contained in:
2023-04-22 01:49:03 +08:00
parent cf81f7ff43
commit d8fc2e9de9
3 changed files with 136 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ type ResField interface {
ToStructField(tags ...string) reflect.StructField
ToValue(any) any
ToBlueprint(table *schema.Blueprint) *schema.ColumnDefinition
ToQueryField(t QueryDataType, alias string, options int) QueryField
}
// 资源