-
Notifications
You must be signed in to change notification settings - Fork 372
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
base: develop
Are you sure you want to change the base?
Conversation
…*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)
I've been using your fork (with pg) and it's been excellent so far. Thanks! |
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. |
Yes, I'll replay the same changes on the current development tip and commit as two separate PRs. |
Is this merge going ahead? Looks like the PR hasn't gone in yet. |
#157 Add support for foreign key constraints
#158 Make SqlExecutor publicly usable