amazing, this worked for me

elixir.metadata.bind = "sqlite:///www.sqlite?check_same_thread=False"

thanks for that link in the docs, ive spent forever reading all the
wrong areas over there

On Oct 13, 7:54 am, Gaetan de Menten <[email protected]> wrote:
> On Mon, Oct 12, 2009 at 21:43, dasacc22 <[email protected]> wrote:
> > Im trying to figure out how to pass check_same_thread = False to my
> > sqlite database stored via file. I tried
>
> > metadata.bind.check_same_thread = False
>
> > to no effect.
>
> You probably need to use create_engine explicitly, as in:
>
> engine = create_engine(uri)
> metadata.bind = engine
>
> or, you might be able to pass the arguments within the connection string. See:
>
> http://www.sqlalchemy.org/docs/05/dbengine.html#custom-dbapi-connect-...
>
> --
> Gaëtan de Mentenhttp://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