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

JOINs #54

Open
AlekSi opened this issue Aug 24, 2016 · 0 comments
Open

JOINs #54

AlekSi opened this issue Aug 24, 2016 · 0 comments
Labels
Milestone

Comments

@AlekSi
Copy link
Member

AlekSi commented Aug 24, 2016

Hell froze over! 😄

Let's add just enough for one-to-one and one-to-many relationships.

type Foo struct {
  ID int `reform:"id,pk"`
}

type Bar struct {
  ID int `reform:"id,pk"`
}

type Baz struct {
  FooID int   `reform:"foo_id"`
  BarID int   `reform:"bar_id"`
  Foo   *Foo  `reform:"FIXME_WHAT_THERE"`
  Bars  []Bar `reform:"FIXME_WHAT_THERE"`
}

LEFT OUTER JOINs only.

@AlekSi AlekSi added the feature label Aug 24, 2016
@AlekSi AlekSi added this to the v1.3.0 milestone Aug 24, 2016
@AlekSi AlekSi assigned AlekSi and unassigned AlekSi Aug 24, 2016
@AlekSi AlekSi modified the milestones: v1.4.0, v1.3.0 Feb 24, 2017
AlekSi added a commit that referenced this issue Oct 23, 2017
@AlekSi AlekSi modified the milestones: v1.4.0, v1.5.0 Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant