The update, insert, get-dao and upsert methods weren't using the specified slot's :col-name. This change should correct that and provides a test for the expected behavour.
When computing the column names to use for insert/update methods on d…
…ao instance consider the class's column-map and not just the slots' names.
When building up s-sql forms in the dao readers/writers make sure to …
…use :raw for the column names (which we have as strings and not symbols)
Make sure to compute the right sql column name for the :returning col…
…umns in insert-dao
Tests for :col-name DAO slot argument.
Could you leave out the random whitespace changes, and use make-symbol instead of :raw to insert the custom names into the query?
Removed all whitespace changes on branch vs master (no functional cha…
This commit serves to make the diff between this branc and master easier
to read, review and merge.
Use make-symbol instead of (list :raw ...) to inject a column name in…
…to an s-sql query.
It sure took long enough, but i've just implemented both of you suggested changes.
all tests still pass.
Merged as a single commit aed5bec