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

Add function count/2 #29

Open
joeljuca opened this issue Dec 15, 2024 · 1 comment
Open

Add function count/2 #29

joeljuca opened this issue Dec 15, 2024 · 1 comment

Comments

@joeljuca
Copy link
Owner

I think it's time to extend SwissSchema beyong Ecto.Repo's Query and Schema APIs, and count/2 is an obvious missing piece in SwissSchema.

@joeljuca
Copy link
Owner Author

Idea: receive a function that allows the user to extend the query (eg.: adding a WHERE clause to perform specific counts).

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