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
|