fsprojects / Rezoom.SQL

Statically typechecks a common SQL dialect and translates it to various RDBMS backends
MIT License
669 stars 25 forks source link

Using as a command-line tool? #29

Open ashalkhakov opened 7 years ago

ashalkhakov commented 7 years ago

I'd like to use Rezoom.SQL as command-line tool: you give it your migrations, and it generates some source code for you (or indeed a minimal assembly).

Pros:

Cons:

rspeele commented 7 years ago

I like this idea, and it seems like it wouldn't be too hard to spit out some source code. It would be nice to do it in a way that doesn't duplicate code with the type provider.

ashalkhakov commented 7 years ago

Looks like a type provider can be run via fsc on command line. Maybe it's all that I need, will check it out this evening.