question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot make projection ?

See original GitHub issue

First, i’d like to thank you for the amazing job you’ve been doing.

I was playing with Deno and Mongo and I just realized that it was impossible for me to make projection when returning data from a find query. const productList = await products.find({ }, {name: 1, price:1 , _id:0}) the result of my productList variable contains all products with their price and their id too … Am I missing something or is it something that is just not working for the moment ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
radek3911commented, May 31, 2020

Hi, I have looked into it and as far as I can tell, the match parameter is enforced by the Rust mongo library. If you would like to make the match parameter optional you need to make new issue at the Rust project.

Have a nice day and please close the issue if you don’t have any more questions.

0reactions
Waxoussoucommented, Jun 1, 2020

thanks @radek3911 . I 've got all the answers so far. Issue is closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do when the projected image doesn't fill the screen
It is possible that the projected image does not completely fill the screen. There can be several reasons for this: the computer resolution...
Read more >
Windows 10 Can't Project to Monitors - Microsoft Community
My laptop is unable to project to external monitors and screens. No error is shown - the laptop thinks that it is projecting,...
Read more >
How To Fix "Projecting to This PC" Feature Disabled Problem ...
... try restarting your device. Your browser can't play this video. ... I totally do not support any types of illegal acts or...
Read more >
Not able to "Insert Projection View" on existing drawing
I can create a new view and then Insert Projeciton View but not on an existing view.
Read more >
000054: Cannot create a projection file for <value>.—ArcGIS Pro
Make sure the dataset is not locked by closing other applications that may be using it or ensuring that it is not being...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found