6 ms·
> - Write custom query language (YAML or other), generate SQL schema, queries, and Go query interface (xo). I've also tried to unify this approach with gRPC/Pr
by sshb 5y ago
> - Write custom query language (YAML or other), generate SQL schema, queries, and Go query interface (xo).
I've also tried to unify this approach with gRPC/Protobuf messages and CRUD operations: https://github.com/sashabaranov/pike/ https://github.com/sashabaranov/pike/
- sa46 5y agoOne thing I’m pursuing with pggen is serializing DB query results directly to a proto. It’d be super cool to write a sql query and have it spit out a proto and avoid all the boilerplate struct copying.