Skip to content

[ORM] Relation attr add to _id field #1220

@asika32764

Description

@asika32764
#[Column('flower_id')]
#[ManyToOne(Flower::class, 'me_id')]
public int $flowerId = 0;

And we can get relation data by:

$this->fetchRelation('flowerId');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions