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

Suggested changes to implement issues #157 and #158 #159

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open

Suggested changes to implement issues #157 and #158 #159

wants to merge 15 commits into from

Conversation

rickb777
Copy link

#157 Add support for foreign key constraints
#158 Make SqlExecutor publicly usable

coopernurse and others added 15 commits November 18, 2013 17:31
…*ForeignKey field and a SetForeignKey method. New types FKOnChangeAction and ForeignKey.
…oreign keys are not yet functioning. test_all script enhanced to allow easy testing of each or all dialects.
…Query and QueryRow methods now have public visibility so that clients can create their own wrappers should they need to. New file dbmap.go contains the DbMap methods from gorp.go that were not DDL controls.
… funcs to ignore this error and continue to return zeroVal (per docs). This fixes SelectOne() for pointers to primitive values.

(cherry picked from commit f296a21)
@alecthomas
Copy link

I've been using your fork (with pg) and it's been excellent so far. Thanks!

@coopernurse coopernurse added this to the v1.6 milestone May 14, 2014
@coopernurse
Copy link
Contributor

Hi there. Good stuff. It's a huge PR though so it's hard for me to digest it. Also, splitting up gorp.go, while probably long overdue, is something I'd want to do in a PR on its own since it makes it hard for me to merge any other pending PRs.

So I'm wondering if we can split this work up into smaller PRs:

Do you have time/interest to work together on that? Thanks again.

@coopernurse coopernurse modified the milestones: v1.7, v1.6 May 16, 2014
@rickb777
Copy link
Author

Yes, I'll replay the same changes on the current development tip and commit as two separate PRs.

@coopernurse coopernurse modified the milestones: v1.7, v1.8 Sep 6, 2014
@rickb777
Copy link
Author

Is this merge going ahead? Looks like the PR hasn't gone in yet.

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.

4 participants