How i can exec stored procedure from database (MsSql) in Pylons with
SqlAlchemy?

I try do:
c.searchResults = func.GetBlackListForPage(request.params["page"], 100,
engine=model.engine).execute()

But have error:
Module portal.controllers.blacklist:*41* in query
 <<              *if* c*.*pageCount *<* *1**:*
                    c*.*pageCount *=* *1*
                c*.*searchResults *=* func*.*GetBlackListForPage*(* request*
.*params*[*"page"*]**,* *100**,* engine*=* model*.*engine*)**.*execute*(**)*
Module sqlalchemy.sql:*1010* in execute
Module sqlalchemy.sql:*485* in execute
Module sqlalchemy.sql:*513* in compile
*AttributeError: 'module' object has no attribute 'compiler'*

-- 
Best regards,
Evgeny

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to