DEV Community

Discussion on: SQL is (almost) always superior to NoSQL

Collapse
 
rickdelpo1 profile image
Rick Delpo

yes u can count records in nosql and u can do lots of other things too but it is much more of a pain in the butt than just using sql

first fetch a json file (which is already a nosql format)
then do this
var len = Object.keys(myJsonFile).length;
console.log(len);

Collapse
 
polterguy profile image
Thomas Hansen

Word!