que/query.py
def for_fetch(self) -> str:
        """Generate valid SQL for a ``Field`` if it is being used in a SELECT or RETURNING statement."""
        return (
            f"{self.name} AS {self.value}"
            if (self.value and self.name)
            else (self.name or self.value)
        )
Generate valid SQL for a ``Field`` if it is being used in a SELECT or RETURNING statement.
Generate valid SQL for a ``Field`` if it is being used in a SELECT or RETURNING statement.
Generate valid SQL for a ` ` Field ` ` if it is being used in a SELECT or RETURNING statement .
def for_fetch(self) -> str:
        return (
            f"{self.name} AS {self.value}"
            if (self.value and self.name)
            else (self.name or self.value)
        )
def for_fetch ( self ) -> str : return ( f"{self.name} AS {self.value}" if ( self . value and self . name ) else ( self . name or self . value ) )
Generate valid SQL for a ``Field`` if it is being used in a SELECT or RETURNING statement.
Generate valid SQL for a ` ` Field ` ` if it is being used in a SELECT or RETURNING statement .
"""Generate valid SQL for a ``Field`` if it is being used in a SELECT or RETURNING statement."""
self