Skip to content

[FEATURE]: Select for a count shouldn't return an Array #4004

@cybercoder-naj

Description

@cybercoder-naj

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Image

It does not make sense for the return type to be an array when the select is using a count. I am unsure about the technically of this problem but it would be better if the return type is:

type Result = number

instead of

type Result = {
  count: number
}[]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions