Commit 3b4d6e7
feat(mongodb): accept string arguments in Int32/NumberInt helpers (#64)
Int32("123") and NumberInt("456") are valid in mongosh but the grammar
only accepted NUMBER tokens. Align with Long/NumberLong which already
supports both forms.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 42a9a5d commit 3b4d6e7
2 files changed
Lines changed: 810 additions & 773 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
822 | | - | |
| 822 | + | |
823 | 823 | | |
824 | | - | |
| 824 | + | |
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| |||
0 commit comments