if you are calling Table(...., autoload=True), then you are executing  
the query below as well as a result of that activity.

On Jan 2, 2009, at 7:22 AM, Ash wrote:

>
> but i dont want to see all this queries only the query i execute
>
> On Jan 1, 10:29 pm, Michael Bayer <mike...@zzzcomputing.com> wrote:
>> thats the SQL which SQLAlchemy is emitting.
>>
>> On Jan 1, 2009, at 2:31 AM, Ash wrote:
>>
>>
>>
>>> Hello
>>
>>> i am using sqlalchemy
>>
>>> and to trace the query i use metadata.bind.echo = True
>>
>>> but the o/p is very strange it gives the catalog queries.
>>
>>> like
>>> INFO:sqlalchemy.engine.base.Engine.0x..4c:
>>>          SELECT attname FROM pg_attribute
>>>          WHERE attrelid = (
>>>             SELECT indexrelid FROM pg_index i
>>>             WHERE i.indrelid = %(table)s
>>>             AND i.indisprimary = 't')
>>>          ORDER BY attnum
>>
>>> n there r number of such query which hides the real query executed.
>>
>>> Thanks in advance
> >


--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to