Agreed ‘out of the box’ sql data source (postgres for me) would be a killer feature to add.
SQL is just text, but amazingly powerful and a million times more useful than a file reference.
Agreed that this would be really nice to have! We are working on a compile-time plugin system, so it should be possible to setup something the executes embedded SQL at compile time to allow generation of more dynamic documents.