{
    "componentChunkName": "component---src-templates-note-note-js",
    "path": "/notes/ORMs",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"\\\"ORMs tend to optimise for flexibility over performance\\\", this is one of the reasons that when the response times of an endpoint are higher, it is better to look for the queries executed, their frequencies and performance. Most of the times the ORM implementation is the culprit and changing that to a plain SQL query that is optimised does a lot of good.\"), mdx(\"p\", null, \"further reading - \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://alpha.app.learningpaths.io/#/highlights/public/5bb5bb5fa3664d73e323afdf/highlight/60f598efff36a103e7b18cf7\"\n  }, \"https://alpha.app.learningpaths.io/#/highlights/public/5bb5bb5fa3664d73e323afdf/highlight/60f598efff36a103e7b18cf7\"), \" \"));\n}\n;\nMDXContent.isMDXComponent = true;","inboundReferences":[{"id":"009f8bf2-9075-58a3-bd17-3d6a2a99a814","slug":"dailynotes/06-09-2021"}]}},"pageContext":{"slug":"ORMs","node":{"childMdx":{"slug":"ORMs"}}}},
    "staticQueryHashes": []}