dkubb/veritas-sql-generator — pull request #2 by solnic (2012-10-08 12:55:43+00:00)
Title: [WIP] Add ability to generate insert with returning statement

This is a spike but I'm opening a PR early to get some input.

I also added key attributes to veritas [here](https://github.com/solnic/veritas/tree/key-attributes) and somehow make the inserts working in veritas-do-adapter [here[(https://github.com/solnic/veritas-do-adapter/tree/writes).

I think it would be good to extend `Tuple` so it can return all attributes, only key attributes or all non-key attributes. This would make it a bit easier.

I'm also not sure if the way I change insertion's left and right on-the-fly is a good idea.

Basically I did the simplest thing that could possibly work :)