Path: redb/redb.Postgres/README.md Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Postgres/README.md ---- # redb.Postgres PostgreSQL provider for **RedBase (REDB)** — Entity Database for .NET. [![NuGet](https://img.shields.io/nuget/v/redb.Postgres?label=NuGet&color=blue)](https://www.nuget.org/packages/redb.Postgres) [![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue)](../LICENSE) ## What's inside - PostgreSQL-optimized SQL generation - Tree queries with recursive CTEs - Schema initialization (`redbPostgre.sql`) - Full LINQ-to-SQL translation - Depends on `redb.Core` and `Npgsql` ## Installation ```bash dotnet add package redb.Postgres ``` ## Setup ```csharp using redb.Core.Extensions; using redb.Postgres.Extensions; builder.Services.AddRedb(options => options .UsePostgres("Host=localhost;Port=5432;Database=mydb;Username=postgres;Password=pass")); ``` ## Links - Documentation (EN): [redbase.app](https://redbase.app) - Documentation (RU): [redb.ru](https://redb.ru) - API Reference: [redbase-app.github.io/redb](https://redbase-app.github.io/redb/) - GitHub: [github.com/redbase-app/redb](https://github.com/redbase-app/redb) ## License Apache License 2.0 — see [LICENSE](https://github.com/redbase-app/redb/blob/main/LICENSE).