Closed craigahobbs closed 6 years ago
import ctds connection = ctds.connect('localhost', user='sa', password='password') with connection: with connection.cursor() as cursor: cursor.execute('''\ print('hello') print('goodbye') ''')
Question: How do I get the "hello\ngoodbye\n" output?
Currently there is no way to access messages returned to the client. I can update ctds to save these messages and expose them as a property on the connection object.
Fixed in 1.4.0
Question: How do I get the "hello\ngoodbye\n" output?