Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract builder logic to separate classes #131

Merged
merged 9 commits into from
Mar 19, 2017
Merged

Extract builder logic to separate classes #131

merged 9 commits into from
Mar 19, 2017

Conversation

pmjones
Copy link
Member

@pmjones pmjones commented Mar 18, 2017

To separate the concerns of "collecting" query parts, and "building" them into a statement, this PR moves the build*() methods to their own classes. This entails creating a builder for each kind of statement (select/insert/update/delete) and in some cases a driver-specific builder for the statement (mysql insert and pgsql everything).

@pavarnos @harikt etc: any comments or concerns?

@harikt
Copy link
Member

harikt commented Mar 18, 2017

Quick look, I didn't find any problem. It looks all api and tests are working without changes. So I am 👍 .

@pavarnos
Copy link
Contributor

pavarnos commented Mar 19, 2017 via email

@pmjones pmjones merged commit 76cecd8 into 3.x Mar 19, 2017
@pmjones pmjones deleted the 3.x-builder branch March 19, 2017 15:13
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.

3 participants