Package · NuGet
FlexLabs.EntityFrameworkCore.Upsert
NuGet · v11.0.0 · MIT
Upsert support for EF Core: insert a row, or update it if it already exists, in a single database command. EF Core has no built-in way to do this. The usual workaround is to query first and then insert or update, which costs an extra round trip and breaks down when two requests race each other. This library generates the native upsert statement for your database instead, so the check and the write happen atomically.
Install
dotnet add package FlexLabs.EntityFrameworkCore.UpsertAdoption
- All-time downloads
- 20.4M
- Observeddownloads, all time
- Popularity
- Top 50% on NuGet
- Derived60th percentile within NuGet
- Dependents
- Not published by NuGet
- Not published
- Maintenance
- 0.67
- DerivedRelease cadence and recency, 0 to 1
- Releases per year
- 4.6
- 40 versions over its life
Growth by period
Derived by Crest of Tech from two observations of NuGet’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
- 7 days
- +0.4% · 7d
- Derived+88.8K downloads, all time, NOV 9 → NOV 16
- 30 days
- Collectinghistory
- Collecting
- 90 days
- Collectinghistory
- Collecting
- 1 year
- Collectinghistory
- Collecting
Adoption history
Adoption historydownloads, all time
Observations in this range began OCT 5, 2026. The chart appears after 7 observations; 5 so far. Collecting history.
Table of observations (5)
| Day | downloads, all time |
|---|---|
| NOV 16, 2026 | 20,400,806 |
| NOV 9, 2026 | 20,311,979 |
| NOV 2, 2026 | 20,112,789 |
| OCT 24, 2026 | 19,894,320 |
| OCT 5, 2026 | 19,228,746 |
Facts from the registry
- Latest version
- v11.0.0
- 40 versions
- First published
- FEB 18, 2018
- Last release
- NOV 15, 2026
- 15d ago
- Licence
- MIT
Repository
Not in the Crest catalog
artiomchi/flexlabs.upsert (GitHub, opens in a new tab)
The catalog tracks GitHub repositories with more than 500 stars; this one has no Crest page, so its figures are not shown here.
Dependencies latest version · v11.0.0
Runtime 1
- Microsoft.EntityFrameworkCore.Relational
[11.0.0, 12.0.0)
Related packages
- pytrilogyDeclarative, typed query language that compiles to SQL.Same primary category
- datasetteAn open source multi-tool for exploring and publishing dataSame primary category
- marten.aspnetcoreHelpers for Marten-backed AspNetCore applicationsSame primary category
- marten.nodatimeNodaTime extension for MartenSame primary category
- Marten.NET Transactional Document DB and Event Store on PostgreSQLSame primary category
- marten.entityframeworkcoreEF Core integration for Marten projectionsSame primary category
Related news
No published news event mentions this package or its repository yet.