def _create_filter_by(self):
filter_by = []<EOL>for name, values in request.args.copy().lists():  <EOL><INDENT>if name not in _SKIPPED_ARGUMENTS:<EOL><INDENT>column = _re_column_name.search(name).group(<NUM_LIT:1>)<EOL>if column not in self._model_columns:<EOL><INDENT>continue<EOL><DEDENT>for value in values:<EOL><INDENT>if name.endswith('<STR_LIT>'):<EOL><INDENT>filter_by.append(name[:-<NUM_LIT:3>] + '<STR_LIT>' + value)<EOL><DEDENT>elif name.endswith('<STR_LIT>'):<EOL><INDENT>filter_by.append(name[:-<NUM_LIT:4>] + '<STR_LIT>' + value)<EOL><DEDENT>elif name.endswith('<STR_LIT>'):<EOL><INDENT>filter_by.append(name[:-<NUM_LIT:4>] + '<STR_LIT>' + value)<EOL><DEDENT>elif name.endswith('<STR_LIT>'):<EOL><INDENT>filter_by.append(name[:-<NUM_LIT:5>] + '<STR_LIT>' + value + '<STR_LIT:%>')<EOL><DEDENT>else:<EOL><INDENT>filter_by.append(name.replace('<STR_LIT>', '<STR_LIT:.>') + '<STR_LIT>' + value)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>filter_by += self._create_fulltext_query()<EOL>return '<STR_LIT:U+002C>'.join(filter_by)<EOL>
Transform the json-server filter arguments to model-resource ones.