[feat] Model 新增 IsDuplicated() bool

This commit is contained in:
what 2024-11-25 21:59:06 +08:00
parent 8a4206375f
commit abd333d9b6

1
orm.go
View File

@ -71,6 +71,7 @@ type Join interface {
type Model interface { type Model interface {
Relation Relation
condition.TokenValue condition.TokenValue
IsDuplicated() bool
GetCode() string GetCode() string
GetPrimaryKey() string GetPrimaryKey() string
GetQueryFieldsStruct(extends ...reflect.StructField) any GetQueryFieldsStruct(extends ...reflect.StructField) any