Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pkieltyka
Copy link
Member

Issue #90

db.go Outdated
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come you have Join, LeftJoin, FullJoin, etc... on the Result interface? why not keep the Result the same and have just the Builder() have those methods? for example, similar to how upper.io/db v2 already works with squirrel in the Pressly API. Keeps builder separated from basic result set operations.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the QueryBuilder, instead of returning a Result, should return a Query type

xiam added a commit that referenced this pull request Dec 13, 2015
Issue 90 - Query builder interface
@xiam xiam merged commit 8f44acc into v2 Dec 13, 2015
@xiam xiam deleted the issue-90 branch December 13, 2015 20:36
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