Added cursor filters and hooks

This commit is contained in:
Hein
2025-11-10 10:22:55 +02:00
parent fc82a9bc50
commit c8704c07dd
8 changed files with 1487 additions and 5 deletions

View File

@@ -131,6 +131,11 @@ type TableNameProvider interface {
TableName() string
}
// PrimaryKeyNameProvider interface for models that provide primary key column names
type PrimaryKeyNameProvider interface {
GetIDName() string
}
// SchemaProvider interface for models that provide schema names
type SchemaProvider interface {
SchemaName() string