On Wed, Dec 2, 2009 at 21:03, vmail <[email protected]> wrote:
> Hi
> When using sqlalchemy directly, I can create a new database TEST like
> that:
>
> engine = create_engine('mysql://r...@localhost/tmp echo=False)
> metadata = MetaData(bind=engine)
> connection = engine.connect()
> connection.execute('CREATE DATABASE IF NOT EXISTS TEST')
>
> What is the corrrect way to do that from Elixir ?

In exactly the same way.

-- 
Gaƫtan de Menten
http://openhex.org

--

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