Changeset 240 for trunk/docs


Ignore:
Timestamp:
Jan 22, 2006, 10:25:27 AM (14 years ago)
Author:
cito
Message:

Updated the pg docs concerning get_relations() and get() on views.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/pg.txt

    r220 r240  
    645645  convenience.
    646646
     647get_relations - get list of relations in connected database
     648-----------------------------------------------------------
     649Syntax::
     650
     651  get_relations(types)
     652
     653Parameters:
     654  :types: a string or sequence of type letters
     655
     656Description:
     657  The type letters are ``r`` = ordinary table, ``i`` = index,
     658  ``S`` = sequence, ``v`` = view, ``c`` = composite type,
     659  ``s`` = special, ``t`` = TOAST table.
     660  If types is None or an empty string, all relations are returned.
     661  Although you can do this with a simple select,
     662  it is added here for convenience.
     663
    647664get_tables - get list of tables in connected database
    648665-----------------------------------------------------
     
    677694  Given the name of a table, digs out the set of attribute names.
    678695
    679 get - get a row from a database table
    680 -------------------------------------
     696get - get a row from a database table or view
     697---------------------------------------------
    681698Syntax::
    682699
     
    684701
    685702Parameters:
    686   :table:   name of table
     703  :table:   name of table or view
    687704  :arg:     either a dictionary or the value to be looked up
    688705  :keyname: name of field to use as key (optional)
Note: See TracChangeset for help on using the changeset viewer.