que/query.py
def to_sql(
        self, style: ParamStyleType = DEFAULT_PARAM_STYLE
    ) -> Tuple[str, Union[List, Dict]]:
        """Build the SQL UPDATE clause.

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

        Returns
        -----
        The generated SQL UPDATE statement
        The arguments to pass to the DB client for secure formatting.
        """
        update, args = self.build_update(style)
        where, args = self.filters.to_sql(args, style)
        returning = self.get_returning()
        return f"{update}\n{where}\n{returning}", args.for_sql(style)
Build the SQL UPDATE clause.

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

        Returns
        -----
        The generated SQL UPDATE statement
        The arguments to pass to the DB client for secure formatting.
        
Build the SQL UPDATE clause.
Parameters



Returns

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

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

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