Coding

MongoDB Mac Cheat Sheet

Reading Time: 3 minutesInstall MongoDB with brew. To start mongodb: brew services start mongodb To stop mongodb if it’s already running: brew services stop mongodb Tools Robomongo / Robo 3T MongoDB Compass Commands MongoDB Statistics – To get stats about MongoDB server, type the command db.stats() Currently selected database, use the command db Databases list, use the command […]

MongoDB Mac Cheat Sheet Read More »

MySQL Best Practices

Reading Time: 4 minutesDatabase operations often tend to be the main bottleneck for most web applications today. As programmers need to do our part by structuring tables properly, writing optimized queries and better code. Table Names By convention, the “snake case” in lowercase (no PascalCase – we’re not using Microsoft SQL Server here!), plural name of the class will

MySQL Best Practices Read More »