Hi i am trying get an item by the _additional {id} property in typescript. This is my current attempt it does not work
if (postId === undefined) return undefined;
const res = await weaviateClient.graphql
.get()
.withClassName("Posts")
.withFields("uri username hashtag timestamp _additional{id}")
.withWhere({
operator: "Equal",
path: ["_additional", "id"],
valueString: postId,
})
.withLimit(1)
.do();
console.log(res.data.Get.Posts);
return res.data.Get.Posts[0];
it does not work