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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Calling this groq query:
export const sourcesByRecordingDateQuery = defineQuery(` *[_type == "streem.source" && defined(recording) && defined(recording->recordingDate) && !defined(parentSource) && dateTime(array::join([$filterDate,"00:00:00.00Z"],"T")) < dateTime(recording->recordingDate) && dateTime(recording->recordingDate) < dateTime(array::join([$filterDate,"23:59:59.99Z"],"T")) + 60 * 60 * 24 ] | order(recording->recordingDate asc)
I'm getting this type:
When I remove these lines:
&& dateTime(array::join([$filterDate,"00:00:00.00Z"],"T")) < dateTime(recording->recordingDate) && dateTime(recording->recordingDate) < dateTime(array::join([$filterDate,"23:59:59.99Z"],"T")) + 60 * 60 * 24
&& dateTime(array::join([$filterDate,"00:00:00.00Z"],"T")) < dateTime(recording->recordingDate)
&& dateTime(recording->recordingDate) < dateTime(array::join([$filterDate,"23:59:59.99Z"],"T")) + 60 * 60 * 24
it generates ok:
// Variable: sourcesByRecordingDateQuery // Query: *[_type == "streem.source" && defined(recording) && defined(recording->recordingDate) && !defined(parentSource) ] { ..., "recordingDate": recording->recordingDate } | order(recording->recordingDate asc) export type SourcesByRecordingDateQueryResult = Array<{ _id: string; _type: "streem.source";
deps:
"dependencies": { "@sanity/client": "^6.24.1", "@sanity/color-input": "^4.0.3", "@sanity/import": "^3.37.9", "groq": "^3.68.3", "sanity": "^3.68.3", "styled-components": "^6.1" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Calling this groq query:
I'm getting this type:
When I remove these lines:
it generates ok:
deps:
The text was updated successfully, but these errors were encountered: