Skip to content

如果在使用paginate的时候同时使用了distinct,好像不能去重 #3

@Lazybin

Description

@Lazybin

total会返回所有的没有去重的数据总行数。请问有什么办法可以设置distinct里面的参数吗?
现在生成的sql都是select count(*) as aggregate
我可不可以设置生成select count(t.id) as aggregate 这种SQL语句

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