Definitely not comprehensive. This is meant to be a basic memory aid with links to get more details. I'll add to it over time.
$ npm install mongoose --save
const mongoose = require('mongoose');
| //here is document with NESTED Array | |
| { | |
| "_id": "xyz-800", | |
| "site": "xyz", | |
| "user": 800, | |
| "timepoints": [ | |
| {"timepoint": 0, "a": 1500, "b": 700}, | |
| {"timepoint": 2, "a": 1000, "b": 200}, | |
| {"timepoint": 4, "a": 3500, "b": 1500} | |
| ] |
| <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script> | |
| <style> | |
| table{ | |
| width:500px; | |
| height:500px; | |
| } | |
| table td{ | |
| padding:10px; | |
| margin:10px; | |
| border:1px solid #ccc; |