-
Type: Story
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.44.6
-
Component/s: None
-
Environment:OS: Windows 10, 22H2, OS Build 19045.5011
Compass version: 1.44.6
Additional info: Documents inserted with Go Driver 1.17.1
-
Needed
-
-
Developer Tools
Problem Statement/Rationale
I cannot use the Find option in Compass while filtering by `Int64` fields. A simple query like
{ GuildId: NumberLong(507550989629521900) }
won't return any data. However, a query like
{$expr: {$eq: [{ $toString: "$GuildId" },"507550989629521922"]}}
does work.
Steps to Reproduce
Create a database and a collection, multiple documents with a indexed Int64 field, and try to query using it.
Expected Results
Both queries returning the same results.
Actual Results
Querying by an Int64 field is always returning zero documents.
Additional Notes
None.