que/query.py
def to_sql(
        self, style: ParamStyleType = DEFAULT_PARAM_STYLE
    ) -> Tuple[str, Union[List, Dict]]:
        """Generate a valid SQL SELECT statement for a single table.

        Parameters
        --------
        style : defaults :class:`NumParamStyle.NUM`
            The DBAPI 2.0 param-style.

        Returns
        -----
        The generated SQL SELECT statement
        The arguments to pass to the DB client for secure formatting.
        """
        select = self.build_select()
        where, args = self.filters.to_sql(style=style)
        return f"{select}\n{where}", args.for_sql(style)
Generate a valid SQL SELECT statement for a single table.

        Parameters
        --------
        style : defaults :class:`NumParamStyle.NUM`
            The DBAPI 2.0 param-style.

        Returns
        -----
        The generated SQL SELECT statement
        The arguments to pass to the DB client for secure formatting.
        
Generate a valid SQL SELECT statement for a single table.
Parameters



Returns

The generated SQL SELECT statement
The arguments to pass to the DB client for secure formatting.
Generate a valid SQL SELECT statement for a single table . Parameters Returns The generated SQL SELECT statement The arguments to pass to the DB client for secure formatting .
def to_sql(
        self, style: ParamStyleType = DEFAULT_PARAM_STYLE
    ) -> Tuple[str, Union[List, Dict]]:
        select = self.build_select()
        where, args = self.filters.to_sql(style=style)
        return f"{select}\n{where}", args.for_sql(style)
def to_sql ( self , style : ParamStyleType = DEFAULT_PARAM_STYLE ) -> Tuple [ str , Union [ List , Dict ] ] : select = self . build_select ( ) where , args = self . filters . to_sql ( style = style ) return f"{select}\n{where}" , args . for_sql ( style )
Generate a valid SQL SELECT statement for a single table.
Generate a valid SQL SELECT statement for a single table .
"""Generate a valid SQL SELECT statement for a single table.

        Parameters
        --------
        style : defaults :class:`NumParamStyle.NUM`
            The DBAPI 2.0 param-style.

        Returns
        -----
        The generated SQL SELECT statement
        The arguments to pass to the DB client for secure formatting.
        """
self
style
ParamStyleType