Closed dlanorf closed 3 years ago
For example, I can use below sql to get the number of states in each country with "COUNT" and "GROUP BY". How can I achieve the same with LokiJS ?
SELECT country, state, COUNT(state) AS state_number FROM people GROUP BY country, state
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
For example, I can use below sql to get the number of states in each country with "COUNT" and "GROUP BY". How can I achieve the same with LokiJS ?
SELECT country, state, COUNT(state) AS state_number FROM people GROUP BY country, state