4 ms·
> Libraries like Lovefield can be built way faster than specifications can be written. That may be true, but when said library uses a builder pattern rather th
by virtualwhys 9y ago
> Libraries like Lovefield can be built way faster than specifications can be written.
That may be true, but when said library uses a builder pattern rather than sql statements you can throw out all of your server-side query DSL code and waste time reimplementing everything on the client.
Since SQL has been around for several decades it's not surprising that mature server-side SQL libraries are available in abundance. And these days every language under the sun compiles to javascript -- wouldn't it be great to share the same query DSL code on client and server?
The answer is, emphatically, yes! Current state of affairs makes this virtually impossible to do in a widely supported manner.