1 repo
Support for creating or manipulating database records using flexible key-value structures.
Distinguishing note: Focuses on schema-less or map-based data input, distinct from strictly typed object-relational mapping.
Explore 1 awesome GitHub repository matching data & databases · Dynamic Data Mapping. Refine with filters or upvote what's useful.
GORM is a developer-focused object-relational mapping library for Go that provides a comprehensive data persistence framework. It serves as a database access layer, allowing developers to map application structures to database tables and perform CRUD operations using a fluent, type-safe query builder instead of writing raw SQL. The library distinguishes itself through its association-aware persistence, which automatically tracks and synchronizes complex entity relationships during database operations. It utilizes a driver-agnostic interface to maintain consistent behavior across various stora
GORM supports create from mapstringinterface{} and []mapstringinterface{}{}, e.g: db.Model(&User{}).Create(mapstringinterface{}{ "Name": "jinzhu", "Age": 18,})// batch insert from []mapstringinterface{}{}db