mardi 9 octobre 2018

How to return all the rows in tracker_sessions table using antonioribeiro/tracker

I am using antonioribeiro/tracker for my website analytics. 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 only the number of rows created today. How would I return all the rows in tracker_sessions table?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire