Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

I fixed a bug in the INSERT function of Massive.PostgreSQL #148

merged 1 commit into from Sep 13, 2012


None yet
2 participants

kcprogrammer commented Jul 14, 2012

No description provided.


robconery commented Jul 19, 2012

Thank you for this - can you describe the bug or give me some notion of what it is you did?

This line is executing the raw Insert statement returned from CreateInsertCommand(..) but needs the " returned {0} as newid " appended before execution.

This line is not replacing the {0} with the Primary Key Fields name

Here I append " returning {0} as newid " to the Insert Statement as well as fix the {0} replacement with the tables Primary Key Field.

Insert runs as 1 statement to the server returning the ID inserted if it succeeds.

robconery added a commit that referenced this pull request Sep 13, 2012

Merge pull request #148 from kcprogrammer/master
I fixed a bug in the INSERT function of Massive.PostgreSQL

@robconery robconery merged commit b181644 into FransBouma:master Sep 13, 2012

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