Class omnisci::connection::Connection

class Connection

Connect to your OmniSci database.

Public Functions

def omnisci.connection.Connection.__init__()
def omnisci.connection.Connection.__repr__()
def omnisci.connection.Connection.__del__()
def omnisci.connection.Connection.__enter__()
def omnisci.connection.Connection.__exit__()
def omnisci.connection.Connection.closed()
def omnisci.connection.Connection.close()

Disconnect from the database unless created with sessionid

def omnisci.connection.Connection.commit()

This is a noop, as OmniSci does not provide transactions.

Implemented to comply with the DBI specification.

def omnisci.connection.Connection.execute()

Execute a SQL statement

Parameters
----------
operation: str
    A SQL statement to exucute

Returns
-------
c: Cursor

def omnisci.connection.Connection.cursor()

Create a new :class:`Cursor` object attached to this connection.

def omnisci.connection.Connection.__call__()

Runtime UDF decorator.

The connection object can be applied to a Python function as
decorator that will add the function to bending registration
list.

def omnisci.connection.Connection.register_runtime_udfs()

Register any bending Runtime UDF functions in OmniSci server.

If no Runtime UDFs have been defined, the call to this method
is noop.

Public Members

omnisci.connection.Connection::sessionid

Private Members

omnisci.connection.Connection::_closed
omnisci.connection.Connection::_user
omnisci.connection.Connection::_password
omnisci.connection.Connection::_host
omnisci.connection.Connection::_port
omnisci.connection.Connection::_dbname
omnisci.connection.Connection::_transport
omnisci.connection.Connection::_protocol
omnisci.connection.Connection::_socket
omnisci.connection.Connection::_tdf
omnisci.connection.Connection::_rbc
omnisci.connection.Connection::_client
omnisci.connection.Connection::_session
omnisci.connection.Connection::_idpsslverify