Skip to content

The Count() override implementation is naive and fails when applied to non-trivial expression #12

@timmartin

Description

@timmartin

Ideally the user should be able to provide SQL to override any LINQ expression they wish to override. This has proved too tricky to get working at the moment, so there's a special case for Count(). Unfortunately, it doesn't detect the case where Count() is applied to a filtered result set (e.g. by Take()), so it will return the wrong value in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions