Skip to content

not sure if relations are working #16

Closed
@kdar

Description

@kdar

If you run the TestRelation function, it doesn't print out what it's suppose to.

I get the following:

relations (1) []db.Item{
    db.Item{"name":"Joseph", "id":2, "place_code_id":3},
    db.Item{"place_code_id":1, "id":3, "name":"Pedro"},
    db.Item{"name":"María", "id":4, "place_code_id":0},
    db.Item{"id":5, "place_code_id":1, "name":"Roberto"},
    db.Item{"id":6, "place_code_id":2, "name":"Manuel"},
    db.Item{"place_code_id":1, "id":7, "name":"Miguel"},
}

it seems to be missing the lives_in, has_children, and has_visited. I see this in my own application as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions