Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries
xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries and maps database rows back into native objects, providing a multi-dialect database driver that supports MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and TiDB. The project features a read-write splitting manager that routes modification requests to a primary database and read requests to replicas. It includes a database schema synchronizer to automatically align table structures and indexes with application data models, as well as a fluent SQL query builder for constructing co
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
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
Bun هو راسم علاقات كائنات (ORM) آمن من حيث النوع لـ Go يعطي الأولوية لبناء استعلام SQL أولاً وتعيين النتائج. يعمل كمنشئ استعلام SQL قابل للبرمجة، ومدير اتصال قاعدة بيانات، وأداة لتعيين جداول قاعدة البيانات إلى هياكل Go.
الميزات الرئيسية لـ uptrace/bun هي: Fluent Query Builders, SQL Query Building, Go Struct Mappings, Row-to-Struct Mappers, Connection and Transaction Management, Atomic Transactions, Database Relationship Mappings, Type-Safe Query Construction.
تشمل البدائل مفتوحة المصدر لـ uptrace/bun: simolus3/drift — Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database… go-xorm/xorm — xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries… go-pg/pg — pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent… dotnetcore/freesql — FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for… linq2db/linq2db — linq2db is a type-safe object-relational mapper that translates LINQ expressions into optimized SQL queries for… catfan/medoo — Medoo is a lightweight PHP database abstraction layer and SQL query builder. It serves as a minimal database wrapper…