Questions tagged [retool]

Questions regarding the web-based internal tooling platform Retool.

Retool is a web-based tool for quickly putting together internal tools for companies. Retool gives you building blocks, which you can assemble into any custom internal tool. It also comes with loads of integrations like Firebase, AWS S3, GCS, Postgresql, MongoDB etc.

73 questions
4
votes
0 answers

Getting current date using $date in Mongodb

db.collection.aggregate([ {$addFields : {newDateField : {$toDate : {$multiply : ["$date", 1000]}}}}, {$match : {newDateField: {$lte: new Date(), $gte: new Date(ISODate().getTime() - 1000 * 86400 * 30)}}}]) In the above query, I am trying to…
hot_zera
  • 41
  • 2
3
votes
0 answers

how to access currently lasso or selected points in Plotly in JavaScript

I am making a lasso select or box select tool of this 96 grid I want to be able to access the currently highlighted wells in Retool via customComponent.model.selectedPoints The current plotly code is: