Skip to content

Conversation

@nabeards
Copy link

@nabeards nabeards commented Nov 8, 2013

This makes the id key of the Document the same as the Primary ID from the table. On tables with custom primary id names, I would always get a key of 'id' set to 'null' on SELECT statements. This prevents the extra null id key.

@simianhacker
Copy link
Contributor

@nabeards I have a commit in my working repo that will address this, as soon as I have a chance I will push it up.

@simianhacker
Copy link
Contributor

@nabeards Oops... my mistake. This is the part that needed fixing. Can you write a few unit tests for this as well? I will merge once the tests have been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants