Changeset 563


Ignore:
Timestamp:
Nov 20, 2015, 1:45:01 PM (4 years ago)
Author:
cito
Message:

Small corrections in the docs

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/4.x/docs/pg.txt

    r516 r563  
    458458  return value is the OID of the newly inserted row. If the query is an update
    459459  or delete statement, or an insert statement that did not insert exactly one
    460   row in a table with OIDs, then the numer of rows affected is returned as a
     460  row in a table with OIDs, then the number of rows affected is returned as a
    461461  string. If it is a statement that returns rows as a result (usually a select
    462462  statement, but maybe also an "insert/update ... returning" statement), this
  • branches/4.x/module/pg.py

    r540 r563  
    4848
    4949
    50 # Auxiliary functions which are independent from a DB connection:
     50# Auxiliary functions that are independent of a DB connection:
    5151
    5252def _is_quoted(s):
  • trunk/docs/pg.txt

    r516 r563  
    385385  used by PyGreSQL to hold PostgreSQL numeric values. The default class
    386386  is decimal.Decimal if available, otherwise the float type is used.
    387  
     387
    388388set_namedresult -- set a function that will convert to named tuples
    389389-------------------------------------------------------------------
     
    397397Description:
    398398  You can use this if you want to create different kinds of named tuples.
    399  
     399
    400400
    401401Module constants
     
    458458  return value is the OID of the newly inserted row. If the query is an update
    459459  or delete statement, or an insert statement that did not insert exactly one
    460   row in a table with OIDs, then the numer of rows affected is returned as a
     460  row in a table with OIDs, then the number of rows affected is returned as a
    461461  string. If it is a statement that returns rows as a result (usually a select
    462462  statement, but maybe also an "insert/update ... returning" statement), this
  • trunk/module/pg.py

    r553 r563  
    520520        If the query is an update or delete statement, or an insert statement
    521521        that did not insert exactly one row in a table with OIDs, then the
    522         numer of rows affected is returned as a string. If it is a statement
     522        number of rows affected is returned as a string. If it is a statement
    523523        that returns rows as a result (usually a select statement, but maybe
    524524        also an "insert/update ... returning" statement), this method returns
Note: See TracChangeset for help on using the changeset viewer.