why a dsl when you could do ql.filter<Movies>(movies).where('y', '>=', 2008) or even just use kysely with a plugin
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.
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.