Adrien Petel

Results 22 comments of Adrien Petel

Hi @turivishal thanks for the detailed report ! This is a bug from the formatter, it doesn't works well with javascript right now :/ I'll try to fix this next...

Hi @turivishal, I'm planning to fix this soon, in the meantime I've found that enclosing the whole function in double quote works, but it's ugly as it has to be...

Hi @IAMOTZ, thanks for the issue! I totally agree with you that it can be really painfull to lose all unsaved data I'll experiment a bit and see if I...

Hi @GithubArray, Thanks for the report. This is happening because `$documents` is only available when calling `db.aggregate()` (ie, not running aggregation on a specific collection). This is not supported by...

Hi @gosuri Thanks for this project, it's really awesome ! Is there any reasons for not merging this PR? Looks like it would fix #34 Thanks in advance, feliixx

> TLDR; I think object field ordering isn't preserved when creating the MongoDB collection. Exactly. It's exactly what's happening here, for example in `mongosh` ```js use test db.test.insertOne({a:1,b:0}) db.test.insertOne({b:0,a:1}) db.test.aggregate([...

Hi @rickhg12hs, I'm aware of this problem, but sadly there's nothing we can do here because it's the [driver](https://github.com/mongodb/mongo-go-driver) that is automatically sorting the fields... This was already requested [here](https://github.com/feliixx/mongoplayground/issues/13),...

Hi @johachi, sorry for the late answer. It does look related to #153: here it looks like the query doesn't match anything when the `source` fields aren't correctly ordered. For...

Hi @SMGxowa1, thanks for the report ! What browser were you using when you noticed the issue (and what exact version?)

Hi @soorajsprakash, thanks for reporting this ! I agree that it's weird to have this field formatted differently, We could probably tweak the driver to prevent it from formatting these...