Nick Joyce wrote:
> Hi,
> 
> I am developing a web app using SQLite (which I will switch to 
> PostgreSQL in production) and came across a weird select error when 
> using schema. The attached file test.py reproduces the error and 
> output.txt is the output from running the script.
> 
> I have tested with 0.4.2p3 and trunk r4097.
> 
> Am I missing something?

You need to activate the auth schema/namespace in SQLite before you can 
use it:

sqlite> attach database 'auth.db' as auth;
sqlite> select * from auth.user;
1|foo|secret
2|bar|quux

SA doesn't have a built-in abstraction for ATTACH DATABASE, just use 
engine.execute().

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to