refactor: remove unused AutoMigrate, SQLOFunc, JSONB.ToMap
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -15,11 +15,6 @@ func NewJSONB(data map[string]any) JSONB {
|
||||
return JSONB(data)
|
||||
}
|
||||
|
||||
// ToMap converts the JSONB value to a map[string]any.
|
||||
func (j JSONB) ToMap() map[string]any {
|
||||
return map[string]any(j)
|
||||
}
|
||||
|
||||
// Scan implements the sql.Scanner interface. It supports converting from
|
||||
// string, []byte, or nil into a JSONB value. Attempting to convert from
|
||||
// any other type will return an error.
|
||||
|
||||
Reference in New Issue
Block a user