Hello, I'm learning Elixir and liking it a lot.

How do I execute SQL directly? I need to jam the database with some dumb 
inserts to have some test data available.

I tried:
     session.execute("SELECT * FROM table;")
Also tried to get a connection with:
     conn = session.connection()

But both of these complain of there being no mapper and not bound to an engine 
or connection. (I thought that's what setup_all() is supposed to take care of.)

Could someone tutor me a bit?

Thanks,
Michael Hipp
Heber Springs, Arkansas, USA

--~--~---------~--~----~------------~-------~--~----~
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