Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Generated code for count doesn't use the where params #177

Closed
@affanshahid

Description

@affanshahid

My generated code for the count method looks like:

pub fn count(self, _where: Vec<WhereParam>) -> Count<'a> {
        Count::new(
            self.client._new_query_context(),
            ::prisma_client_rust::QueryInfo::new("Candidate", _outputs()),
            vec![],
        )
}

Note the _where params isn't being passed on as the last argument, instead its just vec![]. This seems to be a bug unless I'm missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions