code: def where_clause(self, table, column, value, param_counter):
      converted = self.format.format(value)
      if self.numeric and converted.isdigit():
          converted = int(converted)
      if self.no_argument:
          kwargs = {"c": column}
          converted = None
      else:
          kwargs = {"c": column, "p": f"p{param_counter}", "t": table}
      return self.sql_template.format(**kwargs), converted
  
imports: from datasette import hookimpl
  from datasette.views.base import DatasetteError
  from datasette.utils.asgi import BadRequest
  import json
  import numbers
  from .utils import detect_json1, escape_sqlite, path_with_removed_args
label_desc: Use image node_id 2 for calling the TemplatedFilter obj's underlying member method code with example usage: obj.where_clause(table, column, value, param_counter) and returns: self,  converted