Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group by Date #260

Open
dvygolov opened this issue Feb 15, 2024 · 0 comments
Open

Group by Date #260

dvygolov opened this issue Feb 15, 2024 · 0 comments

Comments

@dvygolov
Copy link

Hello, guys, hope you are doing well.
A very common way to represent table data is to show it by date.

For example if I store my landing page clicks and have a timestamp field for each click - I'd like to know, how many clicks were there for every day of the past week:

2024-02-10 100
2024-02-09 95
2024-01-09 87

and so on.
Right now I can't use timestamp field for grouping data. For Find and Where we have closures but for GroupBy there are only fields.

Is there any way we can somehow do that using SleekDB?

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

No branches or pull requests

1 participant