0
omoscar muΓ±oz
self.data_source = cx_Oracle.data_source()
This code first establishes a connection to the Oracle database using the connect() function. It then sets up a data source using the data_source() function.
Library: django
django
Shortcut: clase
clase
Filename pattern: .py
.py
0 Comments
def __init__(self): self.connection = cx_Oracle.connect("system", "netoracle", "localhost/XE")