Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Apijson | 15,902 | 5 days ago | 224 | other | Java | |||||
🏆 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构。 🏆 A JSON Transmission Protocol and an ORM Library 🚀 provides APIs and Docs without writing any code. | ||||||||||
Drizzle Orm | 13,603 | 35 | 13 hours ago | 407 | July 27, 2023 | 484 | apache-2.0 | TypeScript | ||
TypeScript ORM that feels like writing SQL. | ||||||||||
Sqlc | 9,131 | 16 | 2 days ago | 140 | July 31, 2023 | 248 | mit | Go | ||
Generate type-safe code from SQL | ||||||||||
Sqlalchemy | 7,797 | 41,853 | 5,339 | 15 hours ago | 289 | July 15, 2023 | 185 | mit | Python | |
The Database Toolkit for Python | ||||||||||
Exposed | 7,484 | 21 | 9 hours ago | 17 | July 28, 2023 | 256 | apache-2.0 | Kotlin | ||
Kotlin SQL Framework | ||||||||||
Objection.js | 7,087 | 707 | 405 | a day ago | 202 | July 22, 2023 | 79 | mit | JavaScript | |
An SQL-friendly ORM for Node.js | ||||||||||
Records | 6,956 | 150 | 27 | 6 months ago | 11 | September 02, 2017 | 64 | isc | Python | |
SQL for Humans™ | ||||||||||
Mikro Orm | 6,509 | 157 | 11 hours ago | 2,010 | August 07, 2023 | 73 | mit | TypeScript | ||
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases. | ||||||||||
Sqlboiler | 6,029 | 124 | 2 days ago | 98 | March 21, 2023 | 89 | bsd-3-clause | Go | ||
Generate a Go ORM tailored to your database schema. | ||||||||||
Jooq | 5,650 | 1,175 | 317 | 10 hours ago | 204 | June 23, 2023 | 1,926 | other | Java | |
jOOQ is the best way to write SQL in Java |
Originally the brainchild of Brad Robinson.
PetaPoco is maintained and extended by Wade Baglin (@pleb) and Aaron Sherber (@asherber).
Read more about the v6 update
PetaPoco is available from: NuGet PetaPoco.Compiled
Master | Development | Nuget |
---|---|---|
For configuration documentation, code examples, and other general usage information, see the docs.
Nuget (Single file) | Nuget Core (+t4 templates) | Nuget Core Compiled (dll) |
---|---|---|
Save an entity
db.Save(article);
db.Save(new Article { Title = "Super easy to use PetaPoco" });
db.Save("Articles", "Id", { Title = "Super easy to use PetaPoco", Id = Guid.New() });
Get an entity
var article = db.Single<Article>(123);
var article = db.Single<Article>("WHERE ArticleKey = @0", "ART-123");
Delete an entity
db.Delete(article);
db.Delete<Article>(123);
db.Delete("Articles", "Id", 123);
db.Delete("Articles", "ArticleKey", "ART-123");
Plus much, much more.
PetaPoco welcomes input from the community. After all, what is a product without users? If you would like to contribute, please take the time to read the contribution guide. We would also suggest you have a quick read of Contributing to Open Source on GitHub.
PetaPoco is not the result of just one person's labour, but rather, the product of a combined effort by many. For those individuals who go above and beyond, we have a special place to honour them.