2 Repos
Attempts to select an existing row by condition and inserts a new one if none is found.
Distinct from Record Insertion: Distinct from Record Insertion: combines a select check with conditional insertion, not just adding records.
Explore 2 awesome GitHub repositories matching data & databases · Select-or-Insert Operations. 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 row or updates it on conflict using PostgreSQL's ON CONFLICT DO UPDATE clause.
FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for multiple relational database providers. It functions as a fluent SQL query builder and database schema synchronizer, allowing developers to align database table and index structures with entity class definitions. The framework is specifically optimized for .NET Native AOT to ensure reduced memory footprints and faster startup times. It includes a database traffic manager to distribute load through read-write splitting, dynamic table sharding, and tenant-based data isolation. Bro
Inserts new records or updates existing ones based on unique key conflicts.