[JAVA-4884] MqlValues.of(String) should wrap in a literal Created: 16/Feb/23 Updated: 28/Oct/23 Resolved: 22/Jun/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Builders |
| Affects Version/s: | None |
| Fix Version/s: | 4.10.0 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Maxim Katcharov | Assignee: | Maxim Katcharov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes: | Not Needed |
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
Currently, of("$myField") will be interpreted as a field, rather than a literal string. Also, ofStringArray. |
| Comments |
| Comment by Githook User [ 20/Jun/23 ] |
|
Author: {'name': 'Maxim Katcharov', 'email': 'maxim.katcharov@mongodb.com', 'username': 'katcharov'}Message: Wrap strings in literal if contains $ (#1144)
|