antonioribeiro / antonioribeiro/tracker

return Tracker::sessions(); not returning all the rows in tracker_sessions table

Open
#404 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

This package is awesome and everything is working as intended but I want to count all the rows in tracker_sessions table, when I do
```
$sessions = Tracker::sessions();
return count($sessions);

```
It returns number of rows created today.
How would I return all the rows in tracker::sessions table?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies Tracker::sessions() and the tracker_sessions table; start by tracing that entry point and checking which date constraint produces the returned rows. Confirm whether retrieving all rows is intended, then verify the behavior with records from multiple dates and document or test the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.