2 Repos
Inserts a slice of structs or multiple arguments in a single INSERT statement.
Distinct from Record Insertion: Distinct from Record Insertion: inserts multiple records in a single statement, not individual row insertions.
Explore 2 awesome GitHub repositories matching data & databases · Multi-Record Insertions. Refine with filters or upvote what's useful.
pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent query builder for constructing SQL statements programmatically. At its core, it automatically generates CREATE TABLE statements from Go struct definitions using struct tags and naming conventions, and builds queries through method chaining with placeholder-based parameter binding to prevent SQL injection. The library distinguishes itself through relation-aware join generation that automatically constructs JOIN clauses for has-one, has-many, many-to-many, and polymorphic assoc
Inserts a slice of structs or multiple arguments in a single INSERT statement.
Jet is a schema-driven code generation tool and type-safe SQL builder for Go. It introspects database schemas to automatically generate builders and data models, enabling compile-time type checking for table and column references to prevent runtime errors. The project distinguishes itself through a fluent interface that mirrors native SQL syntax, allowing for the orchestration of complex queries including common table expressions, recursive queries, and nested JSON structures. It further optimizes data retrieval by binding query outputs directly into generated Go structures or raw byte slices
Adds single or multiple records to tables using raw values, models, or results from other queries.