Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HasMany relationship not working #68

Copy link
Copy link
Closed
@amacgregor

Description

@amacgregor
Issue body actions

I'm trying to get a one to many relationship working. I tried doing a couple of things:

$container->items()->save($entity) ; // This does absolutely nothing

$entity->container()->associate($container); // Partially worked by creating the parent_id but the parent model doesn't now about the children.

Please advice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.