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

One to Many Relationship Finding Child Orders #267

Open
goidx opened this issue Sep 27, 2015 · 0 comments
Open

One to Many Relationship Finding Child Orders #267

goidx opened this issue Sep 27, 2015 · 0 comments

Comments

@goidx
Copy link

goidx commented Sep 27, 2015

On a one to many relationship. If the orderItems are not in the same order as the Order File. It fails to match the orderItems:

For example:

OrderId,Price
1,30
2,15
3,10

OrderId,Name
1,"Super Cool Item 1"
2,"Super Cool Item 2"
1,"Super Cool Item 1"
3,"Super Cool Item 3"
3,"Super Cool Item 3"
1,"Super Cool Item 3"

Array
(
[OrderId] => 1
[Price] => 30
[Items] => Array
(
[0] => Array
(
[OrderId] => 1
[Name] => Super Cool Item 1
)

    )

)
Array
(
[OrderId] => 2
[Price] => 15
[Items] => Array
(
[0] => Array
(
[OrderId] => 2
[Name] => Super Cool Item 2
)

    )

)
Array
(
[OrderId] => 3
[Price] => 10
[Items] => Array
(
)

)

@goidx goidx changed the title Difficulties with Headers that contain spaces in name. One to Many Relationship Finding Child Orders Sep 27, 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

No branches or pull requests

1 participant