spacemonkeygo / dbx

A neat codegen-based database wrapper written in Go
Apache License 2.0
74 stars 11 forks source link

support https://github.com/cznic/ql #29

Open joeblew99 opened 7 years ago

joeblew99 commented 7 years ago

This is pretty nice as I always liked starting from the db.

Have you considered https://github.com/cznic/ql

joeblew99 commented 7 years ago

Oops I meant to write "mobile" :)

zeebo commented 7 years ago

We haven't. Next on the list is probably MySQL, but assuming that ql supports most of the features of postgres or sqlite, it wouldn't be too hard to write a dialect that works for it.

joeblew99 commented 7 years ago

Make sense. I have a different intent, which is to use this code gen framework to implement a kappa style architecture whereby each DB (ie a Service) has materialised Views. Each Service listens to a MQ on a certain topic for updates that it is interested in. Basically its the turning the database inside out architecture.

Having an abstract model of the DB from the start makes sense to me, s it can be used as a basic to generate all the Message queue code on top also.

just letting you know as you seem to be into code gen based development... am lazy :)