Skip to content

Conversation

@ricardograca
Copy link
Member

Introduction

This updates the documentation for all count() methods. The biggest change is linking them all to the Model#count method that contains information about the return value type in PostgreSQL.

Motivation

It's a bit unexpected that the count() methods return strings in PostgreSQL, so this tries to help with that by making it more clear. There is also a solution in case the user would like to change the type parser to return numbers instead.

Fixes #1275.

References

@ricardograca ricardograca merged commit 750c289 into master Sep 10, 2019
@ricardograca ricardograca deleted the rg-count-docs branch September 10, 2019 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

count methods return String with Postgres

1 participant