My APPSync is connected to a dynamodb table and the schema looks like this:
type Query {
getNews(date: String!): News
listNews(filter: TableNewsFilterInput, limit: Int, nextToken: String): NewsConnection
}
input TableNewsFilterInput {
date: TableStringFilterInput
news: TableStringFilterInput
}
input TableStringFilterInput {
ne: String
eq: String
le: String
lt: String
ge: String
gt: String
contains: AWSJSON
notContains: String
between: [String]
beginsWith: String
}
The news column in the dynamodb table is a map and looks something like this:
{
abhijit banerjee:{
ampUrlString: https://m.freepressjournal.in/article/business/rahul-gandhi-and-abhijit-banerjee-discuss-economic-crisis-amid-coronavirus-pandemic-here-are-the-highlights-of-their-conversation/5a5c3e42-9a55-4fce-8ac3-5b4a17125aca
}
}
I need to filter using a keyword, say, Abhijit. I couldn't find the solutions anywhere. Any help appreciated!