export csv with new Date()

Lucas Messias shared this problem 29 days ago
Solved

i add in my aggregate a expression

"created_at: { $gte: new Date("2018-01-01") },"

but the script export get only

"created_at" : {

"$gte" : {

}

}

Best Answer
photo

Resolved in 5.1.10

Comments (6)

photo
1

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

  • NoSQLBooster Version
  • Operating System (Windows/Mac/Ubuntu):
  • Expected Behavior
  • Actual Behavior
  • How to Reproduce
  • Screenshots

photo
1
  • NoSQLBooster Version: version 5.1.8
  • Operating System (Windows/Mac/Ubuntu): Mac Mojave10.14.5
  • Expected Behavior: script for export generate a code for new Date
  • Actual Behavior: empty field
  • How to Reproduce: screenshot below

code: https://jsbin.com/sizivudafi/edit?js

result script code: https://jsbin.com/suhobudaku/edit?js

b508fb31adcfc551cc9cbfcd900616b2


fe8dc30062b2d68cedeac01b67788e31

photo
1

We have worked out a new test build to resolve this issue, please download and give it a try.

MacOS: https://s3.mongobooster.com/download/releasesv5/nosqlbooster4mongo-5.1.9-beta.2.dmg

photo
1

yes it's working now =D

I can stay with this version or it is better to go back to the stable version

photo
2

In a production environment, it is better to use a stable version. We will release 5.1.9 in one to two weeks

photo
2

Resolved in 5.1.10

photo