Liquid, JavaScript, Themes
Hello everyone,
I am new to the Graphql world and need help with a query.
I would like to display the entries of a metaobject from a certain updated_at time, unfortunately I always get the same ones despite the filter query, no matter which date I enter.
My query looks like this:
query MyQuery {
metaobjects(
type: "product_family"
query: "updated_at:>=2024-06-10T012:25:22Z"
first: 100
) {
nodes {
displayName
fields {
key
value
}
referencedBy(first: 10) {
nodes {
name
key
referencer {
... on Product {
id
}
}
}
}
}
}
}
Unfortunately, I also get entries within the metaobject that are younger than the specified time.
The following screenshot shows the timestamp of the update of the meta object entries
I hope I was able to explain what I need 🙂
Gelöst! Zur Lösung
Erfolg.
I got the answer myself you have to have the single ' on both sides if the date so '2024-06-10T012:25:22Z'
Erfolg.
I got the answer myself you have to have the single ' on both sides if the date so '2024-06-10T012:25:22Z'