Currently the user id is looked up by the session check at the start of a request, but this is not saved anywhere.
If we can save the looked-up id in the dataset map, then it can be forwarded through the main request and post-request SQL calls can use these without having to join through the session header and user table multiple times.
This will reduce the complexity of all queries and speed up execution, especially aiding with issues #80, #161, and #192.
Currently the user id is looked up by the session check at the start of a request, but this is not saved anywhere.
If we can save the looked-up id in the dataset map, then it can be forwarded through the main request and post-request SQL calls can use these without having to join through the session header and user table multiple times.
This will reduce the complexity of all queries and speed up execution, especially aiding with issues #80, #161, and #192.