Skip to content

[Bug] 2.0.5版本当数据删除之后再使用last_by函数查询会有数据返回,且这条数据为null #16985

@meng-easonZhou

Description

@meng-easonZhou

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.0.5 window版本

Describe the bug and provide the minimal reproduce step

表中对应的标签没有数据的情况下last_by查询是没有数据

Image

给这个对应的标签添加一条数据

Image

问题出现:删除这条数据之后,使用last_by 方法查询时会返回一条数据,这个数据全部返回的字段为空

Image

What did you expect to see?

数据删除之后使用last_by查询应该不返回任何数据

What did you see instead?

数据删除之后使用last_by查询应该返回一条数据,而且这条数据全部字段都返回了null

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

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