Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Generated SQL queries for count methods don't work when table has a compound primary key #68

@jplippi

Description

@jplippi

If the table has a compound primary key made out of two foreign keys, count method is generated as a DISTINCT count, which the gives incorrect amount in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeasy

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions