def _create_fulltext_query(self):
filter_by = []<EOL>if '<STR_LIT:q>' in request.args:<EOL><INDENT>columns = flat_model(model_tree(self.__class__.__name__, self.model_cls))<EOL>for q in request.args.getlist('<STR_LIT:q>'):<EOL><INDENT>filter_by += ['<STR_LIT>'.format(col=col, q=q) for col in columns]<EOL><DEDENT><DEDENT>return filter_by<EOL>
Support the json-server fulltext search with a broad LIKE filter.