We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have array of date values. Need to check if any matching data exists in database for any one of the date values in array
We can query on dateTime data using lessThan or between
lessThan
between
final qc = Data_.dateVariable.lessThan(date.millisecondsSinceEpoch);
Is it possible to support .oneOf query for dateTime data type ?
.oneOf
List<DateTime> dates; List<int> datesEpoch = dates.map((e) => e.millisecondsSinceEpoch); final qc = Data_.dateVariable.oneOf(datesEpoch);
Currently this is throwing error
Unsupported operation: Unsupported type for IN: 10
Alternative is to find the max and min of dates from array and use between query
The text was updated successfully, but these errors were encountered:
Thanks for reporting! I can't find right now why it was chosen that this does not work, but we'll have a look.
Sorry, something went wrong.
No branches or pull requests
I have array of date values. Need to check if any matching data exists in database for any one of the date values in array
A clear and concise description of what you want to happen.
We can query on dateTime data using
lessThan
orbetween
final qc = Data_.dateVariable.lessThan(date.millisecondsSinceEpoch);
Is it possible to support
.oneOf
query for dateTime data type ?Currently this is throwing error
Unsupported operation: Unsupported type for IN: 10
Describe alternatives you've considered
Alternative is to find the max and min of dates from array and use
between
queryThe text was updated successfully, but these errors were encountered: