le-yams/nbmongo

New options: 'add to projection' and 'add to sort'

Closed this issue · 2 comments

It would be useful if one could pick a property of a document and chose one of the two options mentioned in a title. Another version would be not to add, but to replace the projection/sort instead. The decision is to be made :)

Hi witoldsz,

That's indeed a good idea. It could be grouped with the "Find with this property" item which is present in the result tree property nodes popupmenu. That way both policies would be available.

Something like:

  • Query with this property
    • use as find criteria
    • use as projection
    • use as sort
      • ascending
      • descending

    • add to current criteria
    • add to current projection
    • add to current sort
      • ascending
      • descending

Best regards,
Yann

👍 Looks like great idea: very flexible yet easy to use. The only thing I would consider would be not to make extra nesting for sort: use as sort ascending, use as sort descending. One click less to get there :)