(self, string: str)
return self.extra(where=[f"/*QueryRewrite':label={string}*/1"])
Adds an arbitrary user-defined comment that will appear after
        SELECT/UPDATE/DELETE which can be used to identify where the query was
        generated, etc.
Adds an arbitrary user-defined comment that will appear after
        SELECT/UPDATE/DELETE which can be used to identify where the query was
        generated, etc.
Adds an arbitrary user - defined comment that will appear after SELECT / UPDATE / DELETE which can be used to identify where the query was generated etc .
def label(self, string: str) -> "QuerySetMixin":
        """
        Adds an arbitrary user-defined comment that will appear after
        SELECT/UPDATE/DELETE which can be used to identify where the query was
        generated, etc.
        """
        if "*/" in string:
            raise ValueError("Bad label - cannot be embedded in SQL comment")
        return self.extra(where=[f"/*QueryRewrite':label={string}*/1"])
def label ( self , string : str ) -> "QuerySetMixin" : if "*/" in string : raise ValueError ( "Bad label - cannot be embedded in SQL comment" ) return self . extra ( where = [ f"/*QueryRewrite':label={string}*/1" ] )