Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Correct behavior of count() #408

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from
Open

Correct behavior of count() #408

wants to merge 1 commit into from

Conversation

insign
Copy link

@insign insign commented Jul 24, 2020

Based on my tests, using count() without defining a alias, will always result in a array in a key "count" inside, not count('*') nor count('id'), etc.

I'm using PostgreSQL 12. Sorry if I'm wrong or didn't enough tests.

Based on my tests, using count() without defining a alias, will always result in a array in a key "count" inside, not count('*') nor count('id'), etc.

I'm using PostgreSQL 12. Sorry if I'm wrong or didn't  enough tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant