[Zope] ZSQL Simple Direct Traversal
Steve Drees
drees@rangebroadband.com
Tue, 25 Feb 2003 10:28:07 -0600
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On
> Behalf Of Steve
> Drees
> Sent: Monday, February 24, 2003 5:29 PM
> To: Zope@Zope. Org
> Subject: [Zope] ZSQL Simple Direct Traversal
>
>
> Is it possible to use simple direct traversal of an zsql
> method using a
> key of type string?
>
> i.e.
>
> http:/myserver/mysql/mykey/view.html
>
After a good night of sleep and 3 Caffeinated Beverages the answer is:
Yes. If and only if your sql returns a single row. Multiple Rows return
a bizarre Resource Not Found error which will lead to cursing, throwing
of zope books, mumbling about the relative worthlessness of the search
engine at zope.org, and very little success.