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 UNION and UNION ALL to the Dart API #3346

Open
jakobhec opened this issue Nov 20, 2024 · 0 comments
Open

Add UNION and UNION ALL to the Dart API #3346

jakobhec opened this issue Nov 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jakobhec
Copy link

I would love to write queries like this example from your documentation in pure dart.

countEntries:
  SELECT
    c.description,
    (SELECT COUNT(*) FROM todos WHERE category = c.id) AS amount
  FROM categories c
  UNION ALL
  SELECT null, (SELECT COUNT(*) FROM todos WHERE category IS NULL);
@jakobhec jakobhec added the enhancement New feature or request label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant