Hello, I created a file with some code and I want to run it as a script in mongosh (in Mongo Compass). The problem I encounter is that I cannot load a file. I tried to use “load” function but I get the message that this method is not implemented yet. I tried to use .load and I get
Error:(#) clone(t={}){const r=t.loc||{};return e({loc:new Position("line"in r?r.line:this.loc.line,“column"in r?r.column:……)} could not be cloned.”.
My question is: It is even possible to run files in Mongo Compass or should I just copy the code from the file and run it directly ?