pgcrypto/mixins.py
def as_sql(self, compiler, connection):
        """Build SQL with decryption and casting."""
        sql, params = super(DecryptedCol, self).as_sql(compiler, connection)
        sql = self.target.get_decrypt_sql(connection) % (sql, self.target.get_cast_sql())
        return sql, params
def as_sql(self, compiler, connection):
        """Build SQL with decryption and casting."""
        sql, params = super(DecryptedCol, self).as_sql(compiler, connection)
        sql = self.target.get_decrypt_sql(connection) % (sql, self.target.get_cast_sql())
        return sql, params
def as_sql ( self , compiler , connection ) : sql , params = super ( DecryptedCol , self ) . as_sql ( compiler , connection ) sql = self . target . get_decrypt_sql ( connection ) % ( sql , self . target . get_cast_sql ( ) ) return sql , params
Build SQL with decryption and casting.
Build SQL with decryption and casting .