[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity

webmaster@zope.org webmaster@zope.org
Sat, 28 Sep 2002 08:10:02 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#3-85

---------------

      Zope provides a special URL syntax to access ZSQL Methods that
      always return a single result. The URL consists of the URL of
      the ZSQL Method followed by the argument name followed by the
      argument value. For example,
      *http://localhost:8080/employee_by_id/emp_id/42*. Note, this URL will
      return a single result object where as if you queried the ZSQL
      Method from DTML and passed it a single argument it would return
      a list of results that happend to only have one item in it.

        % Anonymous User - Sep. 28, 2002 8:05 am:
         /where as if/as if/ blf sorry for prev paragraf comment, should be here

        % Anonymous User - Sep. 28, 2002 8:10 am:
         - With ZSQL Methods that do return more than one result you mean that the Result object is a table?
         - is the special url syntax also possible w several argument values?