| Trees | Indices | Help | 
|---|
| 
       | 
  
Helper for building create SQL commands.
FIX: add type checking - what did I mean by this???To Do: FIX - add a remove command to nuke a field
    
  | 
|||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
| str | 
      
  | 
  ||
    
  | 
|||
  
 Kick it off with no fields table - which table are we going to insert into | 
  
 Unchecked field. Provide the field and type all in one. Use this if nothing matches what you need. e.g.: create.add('corenumber','INTEGER') create.add('username','VARCHAR(40)') create.add('id','INTEGER PRIMARY KEY')
 To Do: Allow setting of primary key in a simple way  | 
  
 To Do: FIX: complain if trying to add a second primary key  | 
  
 
  | 
  
 
  | 
  
 
  | 
  
 
  | 
  
 
  | 
  
 
  | 
  
 
  | 
  
 Add a spatial column to the table using the OpenGIS AddGeometryColumn function using current schema: AddGeometryColumn(<table_name>,<column_name>, <srid>, <type>, <dimension>)
  | 
| Trees | Indices | Help | 
|---|
| Generated by Epydoc 3.0beta1 on Sat Mar 31 08:53:01 2007 | http://epydoc.sourceforge.net |