I am using postgresql sequelize in my node-express server.
When I run the following SQL Command, I am getting a string value for result.
I want to get Integer value for this count.
SELECT count(id) from collaborators where id<3
Result:
count = [ { count: '1' } ]
Is there any way to get number values for result? Or do I always need to use parseInt(count, 10) to get int value?
I appreciate any help!