intellisense selection of key with period should automatically add surrounding quotes

Craig shared this idea 6 years ago
Completed

When using intellisense to select a field (for, say, a find query), if that field contains a '.', meaning that you are querying a field in a subdocument, automatically surround the field with quotes.

If I select createdAt.date from the intellisense pulldown options, it should detect the '.' and immediately insert

'createdAt.date'

Craig

Leave a Comment
 
Attach a file