Skip to content

MySQL join / missing value for field which was used in join. #983

Description

@nowackipawel

I've got entity
User { private int $uId; .... }
and I'm trying to get data for this entity using:
(new UserModel())->join('usertablewithadditionaldata', 'user.uId = usertablewith....uid', 'left')->get()->getResult(\App\Entity\User);

but in that case uId field is null. should be null or it is an error?

Activity

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

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