Table of Contents

Class: SQL Zope-2.2.1-src/lib/python/Products/ZSQLMethods/SQL.py

SQL Database methods

SQL Database methods are used to access external SQL databases.

They support three important abstractions:

  • Method

    SQL Methods behave like methods of the folders they are accessed in. In particular, they can be used from other methods, like Documents, ExternalMethods, and even other SQL Methods.

  • Searchability

    Database methods support the Searchable Object Interface. Search interface wizards can be used to build user interfaces to them. They can be used in joins and unions. They provide meta-data about their input parameters and result data.

    For more information, see the searchable-object interface specification.

  • Containment

    Database methods support URL traversal to access and invoke methods on individual record objects. For example, suppose you had an employees database method that took a single argument employee_id. Suppose that employees had a service_record method (defined in a record class or acquired from a folder). The service_record method could be accessed with a URL like:

               employees/employee_id/1234/service_record
    
    
Base Classes   
Shared.DC.ZRDB.DA.DA

Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6