On Mon, Jul 7, 2008 at 1:20 PM, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>
> this might actually be more of a SQLAlchemy-question, but as I use Elixir as
> primary tool, I ask here first:
>
> Is there a way to make create_all() not actually issue the generated
> statements, but "capture" them so that I can store them as SQL-skript? The
> reason is simply that I have a DB I can't access through python and the DBA
> needs to (re)create my schema.

Sorry, I don't know. I *think* you could do that with a mock engine
strategy, but I don't know how that works since I've never used one:
http://www.sqlalchemy.org/docs/05/sqlalchemy_engine_strategies.html#docstrings_sqlalchemy.engine.strategies_MockEngineStrategy

You'll probably have more informed answers on SA mailing list.

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