On Dec 3, 2:32 pm, Peter <[email protected]> wrote:

> Can I get the connection object from the Elixir layer

You don't need to access the connection object, the session object has
an "execute" method:

from elixir import *
for result in session.execute('select * from people'):
    print result['name']

(taken from the FAQ and repeated here for convenience)

http://elixir.ematia.de/trac/wiki/FAQ#HowdoIexecuteSQLdirectly

HTH

Graham



--

You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en.


Reply via email to