[Zope] python script + ZSQL

Chetan Kumar chetan@cdac.ernet.in
Mon, 26 Aug 2002 09:55:05 +0530


alienoid wrote:

>Hello zope users,
>
>Case:
>
>I call zsql method from python script,
>how can I get information about successful or unsuccessful
>return of zsql method within python script?
>
>Your help is very appreciated
>
>  
>

What is the meaning of succesful return ?
You would get the result in a dictionary if the query is executed
without any errors. This may be empty if the result is empty.
If there are any issues with the execution of the query you should
see an error message giving you some information on the type
of error.

HTH
Chetan