Why are you not using https methods but instead functions
@AtomicCodeX2 жыл бұрын
I did consider what you said 😂 that's why this is apart 2 of 3 Watch the next video. I have fear of overwhelming my viewers syndrome. If my viewers exist 😢
@asenaakb2 жыл бұрын
@@AtomicCodeX Ok got it! They do exist! I find you explain very well and with a bit of humour which helps a lot. :) Do you know if the timestamps option has been deprecated? It does not work for me as I don't see any createdAt updatedAt info.
@AtomicCodeX2 жыл бұрын
@@asenaakb That option has been around since 2020 when I first learned it. I could try it and search if it's deprecated, but mongoose tells you when something is old. There use to be an index option that changed and when you use it mongoose tells you, "please stop using that" Just make sure you're adding the timestamp in the second argument for the schema method. I'll try it when I'm free, If it's deprecated I'll reply back to you. Let me know if you still have an issue with it. :)