2 ms·
Looks nice, pretty close to what we use at FB, except we use the builder pattern, so you can compose the query more easily across function calls (instead of pas
by xixixao 6y ago
Looks nice, pretty close to what we use at FB, except we use the builder pattern, so you can compose the query more easily across function calls (instead of passing in a single bag of options to findMany).
- foepys 6y agoThe builder pattern grew on me over the past few years and I think it's one of the best ways to do anything arbitrarily composable that is reasonably complex. .NET's LINQ can also be used as a builder and I really, really love it - be it as part of an ORM or just .NET in general.