« first day (1 day earlier)    last day (15 days later) » 

6:35 AM
@appel please ping me the next time u're in this room using the @ as I did. But I think this is because of your documents size and structure. generally speaking it is not a good idea to have nested array of subdocuments expeciallyif you will need to denormalize those arrays later in your query.
Also as this solved the question you asked you may want to accept it and or mark it as useful by voting.
 
 
14 hours later…
8:23 PM
hi!!! i am awared about the cursor
 
you never used your file object.
 
but here : for line in f ?
 
you are not doing anything with line. Is this intentional?
 
i thought that if i put line the for will use each line every time ... :/
i think that my problem is before line, because i tried to print relation and it did nothing :/
 
use it to do what? also in your insertion query what is posnum, negnum?
 
8:37 PM
i have also this line cols = split_line(line) that split the line. posnum and negnum are some results from f.
 
As you can see the problem can't be reproduced. what you can do is using the print statement to debug your code (run print each step to see if you get the expected result.
 

« first day (1 day earlier)    last day (15 days later) »