Sometimes queries can get complicated with many include statements. This can significantly slow down the response.
const stageWithMeta = await db.stage.findOne({
where: { id },
include: [
{
<?php | |
$categories = array( | |
"Tunisian Restaurant", | |
"Hypnotherapy Service", | |
"Armenian Restaurant", | |
"Chamber of Commerce", | |
"District Government Office", | |
"Millwork Shop", | |
"Time and Temperature Announcement Service", | |
"Dock Builder", |
We have a file called timezone.js
, and we commit this file to Git. All good and well.
But then we realized the whole repo used "time zone" with a space.
Apparently, there are three correct spellings of timezone: timezone, time zone, and time-zone.
With this in mind, we might want to uniform our file system and rename this file to timeZone.js
. Let's go ahead and make that change.