Use case:
marshal(EventDAO.list(location_name=location), EVENT)
@rafalkowalski what was the location name ?
The search seems to work only with the full location name. For example, if there is an event with location name as Brussels, Belgium, searching for location as Belgium doesn't give that result.
is there contain conditions? @niranjan94
I'm not sure. @aviaryan any idea ?
No. location_name simply compares with the location_name field in the model i.e. like Event.query.filter_by(location_name=location_name) . Should I make it like the contains match ?
@aviaryan yes please :smile: make it a contains match
Most helpful comment
@aviaryan yes please :smile: make it a contains match