Skip to content

远程一对一 使用with关联时 相同值的其他数据关联不上 #2690

Open
@120351802

Description

@120351802

使用远程一对一和一对多时,比如用户ID 出现重复共五行数据用户 user_id 值分别为[1,1,2,3,4],相同值的其他数据关联不上,只有一条会被关联,
查询出的数据两个1 只有一条能关联上的,其他的2,3,4都可正常关联出用户数据,如果其他值出现重复的,都会出现相同的问题,
不使用with直接列表调用数据正常,就是N+1的问题

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