Skip to content

feat: add EF.Functions.TimeBucket() support for time_bucket queries#36

Merged
sebastian-ederer merged 1 commit intomainfrom
feature/#35-implement-time-bucket-support
Feb 25, 2026
Merged

feat: add EF.Functions.TimeBucket() support for time_bucket queries#36
sebastian-ederer merged 1 commit intomainfrom
feature/#35-implement-time-bucket-support

Conversation

@sebastian-ederer
Copy link
Member

@sebastian-ederer sebastian-ederer commented Feb 25, 2026

Description

Introduces EF Core LINQ support for the TimescaleDB time_bucket() SQL function via EF.Functions.TimeBucket().

Related Issues

Resolves #35

Type of Change

  • Bug fix (non-breaking change adressing an issue)
  • New feature (non-breaking change adding functionality)
  • Refactoring
  • Documentation
  • CI / build / tooling
  • Breaking change (fix or feature causing existing functionality to change)

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated (Testcontainers)
  • Existing tests pass (dotnet test)

Checklist

  • Code follows the project's coding styles and guidelines
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • No new compiler warnings introduced
  • Public API changes have XML documentation

@sebastian-ederer sebastian-ederer self-assigned this Feb 25, 2026
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

❌ Patch coverage is 77.35849% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...Query/TimescaleDbFunctionsExtensions.TimeBucket.cs 0.00% 10 Missing ⚠️
src/Eftdb/Query/TimescaleDbFunctionsExtensions.cs 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Introduces EF Core LINQ support for the TimescaleDB time_bucket() SQL function via EF.Functions.TimeBucket().
@sebastian-ederer sebastian-ederer force-pushed the feature/#35-implement-time-bucket-support branch from b13e36f to 43b14e0 Compare February 25, 2026 09:09
@sebastian-ederer sebastian-ederer merged commit 6fe2df6 into main Feb 25, 2026
2 checks passed
@sebastian-ederer sebastian-ederer deleted the feature/#35-implement-time-bucket-support branch February 25, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for time_bucket function

1 participant