ConvertValueForLocal converts a database value to the appropriate Go type. It handles type conversion from database-specific types to Go types.
(ctx context.Context, fieldType string, fieldValue any)
| 330 | // ConvertValueForLocal converts a database value to the appropriate Go type. |
| 331 | // It handles type conversion from database-specific types to Go types. |
| 332 | ConvertValueForLocal(ctx context.Context, fieldType string, fieldValue any) (any, error) |
| 333 | |
| 334 | // GetFormattedDBTypeNameForField returns the formatted database type name and pattern for a field type. |
| 335 | GetFormattedDBTypeNameForField(fieldType string) (typeName, typePattern string) |
no outgoing calls