Graham Higgins wrote:
> 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
>
>   
Thanks a lot for your help, sorry I missed the hint in the FAQ ( that I 
read ) but I got somehow confused with these different layers.
Might be nice to have cristall-clear definitions of terms like session, 
connection, engine, metadata rather than just have examples ( I know, 
volunteers are welcome :-)  )

Thanks again !
Peter


--

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