Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmann authored Jul 20, 2016
1 parent 6a37bcc commit 72162bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ Talk to EXASolution using SQLAlchemy

from sqlalchemy import create_engine
e = create_engine("exa+pyodbc://A_USER:A_PASSWORD@192.168.1.2..8:1234/my_schema")
r = e.execute("select 42 from dual").fetch_all()
r = e.execute("select 42 from dual").fetchall()
to use turbodbc as driver:

::

from sqlalchemy import create_engine
e = create_engine("exa+turbodbc://A_USER:A_PASSWORD@192.168.1.2..8:1234/my_schema")
r = e.execute("select 42 from dual").fetch_all()
r = e.execute("select 42 from dual").fetchall()


The dialect supports two connection urls for create_engine. A DSN (Data Source Name) mode and a host mode:
Expand Down

0 comments on commit 72162bd

Please sign in to comment.