RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/pygresql.sgml,v
retrieving revision 1.8
diff -r1.8 pygresql.sgml
2416,2421c2416,2426
< pg module contains a class called
< DB. All pgobject
< methods are included in this class also. A number of additional
< DB class methods are described below. The
< preferred way to use this module is as follows (See description of
< the initialization method below.):
---
> The pg module contains a class called
> DB wrapping a pgobject.
> This pgobject can be addressed as a
> DB class member named db
> to get access to the read-only attributes of the corresponding connection
> (e.g. db.error). All pgobject
> methods (e.g. query()) are directly included as members
> in the class DB also. A number of additional
> higher level DB class methods are described below.
> The preferred way to use this module is as follows (see description of the
> initialization method below):