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

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

        Returns
        -----
        The generated SQL DELETE statement
        The arguments to pass to the DB client for secure formatting.
        """
        where, args = self.filters.to_sql(style=style)
        returning = self.get_returning()
        return (
            f"DELETE FROM\n  {self.table_name}\n{where}\n{returning}",
            args.for_sql(style),
        )
Generate a SQL DELETE statement.

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

        Returns
        -----
        The generated SQL DELETE statement
        The arguments to pass to the DB client for secure formatting.
        
Generate a SQL DELETE statement.
Parameters



Returns

The generated SQL DELETE statement
The arguments to pass to the DB client for secure formatting.
Generate a SQL DELETE statement . Parameters Returns The generated SQL DELETE 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]]:
        where, args = self.filters.to_sql(style=style)
        returning = self.get_returning()
        return (
            f"DELETE FROM\n  {self.table_name}\n{where}\n{returning}",
            args.for_sql(style),
        )
def to_sql ( self , style : ParamStyleType = DEFAULT_PARAM_STYLE ) -> Tuple [ str , Union [ List , Dict ] ] : where , args = self . filters . to_sql ( style = style ) returning = self . get_returning ( ) return ( f"DELETE FROM\n  {self.table_name}\n{where}\n{returning}" , args . for_sql ( style ) , )
Generate a SQL DELETE statement.
Generate a SQL DELETE statement .
"""Generate a SQL DELETE statement.

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

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