original_docstring: 
      Give the sql to query the given model
      :param dialect: SQL Dialect
      :param model: model to convert to sql
      :return: executable select query
      
docstring: Give the sql to query the given model
docstring_tokens: Give the sql to query the given model
code: def to_sql(dialect: Dialect, model: SqlModel) -> str:
      """
      Give the sql to query the given model
      :param dialect: SQL Dialect
      :param model: model to convert to sql
      :return: executable select query
      """
      compiler_cache: Dict[str, List['SemiCompiledTuple']] = {}
      return _to_sql_materialized_node(dialect=dialect, model=model, compiler_cache=compiler_cache)
code_tokens: def to_sql ( dialect : Dialect , model : SqlModel ) -> str : compiler_cache : Dict [ str , List [ 'SemiCompiledTuple' ] ] = { } return _to_sql_materialized_node ( dialect = dialect , model = model , compiler_cache = compiler_cache )
short_docstring: Give the sql to query the given model
short_docstring_tokens: Give the sql to query the given model
comment: """
      Give the sql to query the given model
      :param dialect: SQL Dialect
      :param model: model to convert to sql
      :return: executable select query
      """