Skip to content

feat: add Session::deleteUserSessionsInDatabase and Session::deleteAnonymousSessionsInDatabase#337

Merged
rancoud merged 2 commits intomasterfrom
feat/add-methods
Mar 28, 2026
Merged

feat: add Session::deleteUserSessionsInDatabase and Session::deleteAnonymousSessionsInDatabase#337
rancoud merged 2 commits intomasterfrom
feat/add-methods

Conversation

@rancoud
Copy link
Copy Markdown
Owner

@rancoud rancoud commented Mar 28, 2026

Description

  • add Session::deleteUserSessionsInDatabase() for removing all sessions attached to a specific user.
  • add Session::deleteAnonymousSessionsInDatabase() for removing all sessions not attached to a user.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e5d5c27) to head (934c561).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #337   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       190       194    +4     
===========================================
  Files             11        11           
  Lines            574       580    +6     
===========================================
+ Hits             574       580    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rancoud rancoud changed the title feat: add methods for Session feat: add Session::deleteUserSessionsInDatabaseand Session::deleteAnonymousSessionsInDatabase Mar 28, 2026
@rancoud rancoud merged commit 0952520 into master Mar 28, 2026
4 checks passed
@rancoud rancoud deleted the feat/add-methods branch March 28, 2026 14:28
@rancoud rancoud changed the title feat: add Session::deleteUserSessionsInDatabaseand Session::deleteAnonymousSessionsInDatabase feat: add Session::deleteUserSessionsInDatabase and Session::deleteAnonymousSessionsInDatabase Mar 28, 2026
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.

1 participant