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

Getting our fork up to date #3

Merged
merged 67 commits into from
Jul 13, 2015
Merged

Conversation

leonardaustin
Copy link

No description provided.

jinzhu and others added 30 commits April 8, 2015 14:56
look up the Field.Name in Scope.SetColumn
Postgresql requires certain column names to be quoted.
When unquoted, all upper-case characters will be converted to lower-case,
and column names like 'typeID' will result in a query on 'typeid'.
Quote the primary column name when doing queries
Simpler (and correct) example for showing how to declare foreign keys.
The line:
// db := gorm.Open("postgres", dbSql)
should be
// db, _ := gorm.Open("postgres", dbSql)
Fix including ignored field in Where condition
bojan-embroker and others added 28 commits June 4, 2015 13:47
This fixes the issue when preloading .Preload("Project.Repositories").Find(&[]User{})
with 
type User struct {
  Project *Project
}

type Project struct {
  Repositories []Repository
}

type Repository struct {
...
}
Support for preload of Struct Ptr
Fix Create when dialect does not support last inserted id
- add a more detailed slightly more realistic example for a transaction.
Update README.md with more realistic Transaction example
Provide clear explanation of transaction database handle
Added missing field name quoting for DDL statements
leonardaustin added a commit that referenced this pull request Jul 13, 2015
Getting our fork up to date
@leonardaustin leonardaustin merged commit 36ea322 into unravelin:master Jul 13, 2015
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.