inicio class web

    0

    0

    oscar 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

    Shortcut: clase

    Filename pattern: .py

    def __init__(self):
      self.connection = cx_Oracle.connect("system", "netoracle", "localhost/XE")
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.