Skip to content

Instantly share code, notes, and snippets.

View SamsadSajid's full-sized avatar

SamsadSajid

View GitHub Profile
// add the followings in the vscode settings.json
// Credit: James King
"explorer.fileNesting.patterns":{
"*.ts": "${capture}.test.ts",
"*.go": "${capture}_test.go",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts, ${capture}.test.js",
"*.jsx": "${capture}.test.jsx",
"*.tsx": "${capture}.test.tsx",
"tsconfig.json": "tsconfig.*.json",

PostgreSQL - EXPLAIN cheatsheet

  • -> Marks the start of info on a "plan node"
  • Work from the leaves to the root to understand what happened first
(cost=0.00..5.04 rows=101 width=0)
  • (cost=