[Zope3-checkins] CVS: Zope3/doc/zcml/namespaces.zope.org/rdb -
provideConnection.stx:1.1
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Jan 22 18:57:14 EST 2004
Update of /cvs-repository/Zope3/doc/zcml/namespaces.zope.org/rdb
In directory cvs.zope.org:/tmp/cvs-serv7874/rdb
Added Files:
provideConnection.stx
Log Message:
Update ZCML directives documentation.
=== Added File Zope3/doc/zcml/namespaces.zope.org/rdb/provideConnection.stx ===
provideConnection
File zope/app/rdb/meta.zcml, lines 5 - 9.
This directive creates a globale connection to an RDBMS.
Attributes
name -- TextLine (required)
Name
This is the name the connection will be known as.
component -- GlobalObject (required)
Component
Specifies the component that provides the connection. This component
one particular RDBMS.
dsn -- TextLine (required)
DSN
The DSN contains all the connection information. Thesyntax looks as
dbi://username:password@host:port/dbname;param1=value...
More information about the Zope3-Checkins
mailing list