Hacker News new | ask | show | jobs
by h1fra 296 days ago
why a dsl when you could do ql.filter<Movies>(movies).where('y', '>=', 2008) or even just use kysely with a plugin
1 comments

Mainly because you might not always want to filter in-code. e.g. A CLI tool could take in a query as an argument, or a web app could allow a user to enter a query.
If you're in the CLI I'd use nushell or dasel, if you're stuck with a legacy shell.