Package turbogears :: Package visit :: Module sovisit :: Class TG_Visit :: Class sqlmeta

Class sqlmeta

  object --+    
           |    
main.sqlmeta --+
               |
              turbogears.visit.sovisit.TG_Visit.sqlmeta

This object is the object we use to keep track of all sorts of information. Subclasses are made for each SQLObject subclass (dynamically if necessary), and instances are created to go alongside every SQLObject instance.

Nested Classes
  soClass

Inherited from sqlobject.main.sqlmeta: __metaclass__, idType

Instance Methods

Inherited from sqlobject.main.sqlmeta: __init__, asDict

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from sqlobject.main.sqlmeta: addColumn, addColumnsFromDatabase, addIndex, addJoin, delColumn, delJoin, expireAll, getColumns, send, setClass

Static Methods

Inherited from sqlobject.main.sqlmeta: __classinit__

Class Variables
  table = 'visit'
hash(x)
  columnDefinitions = {'created': <DateTimeCol 3800350 created>,...
  columnList = [<SOStringCol visit_key alternate ID>, <SODateTim...
  columns = {'created': <SODateTimeCol created default=datetime....
  idName = 'id'
hash(x)
  style = <sqlobject.styles.MixedCaseUnderscoreStyle object at 0...
hash(x)

Inherited from sqlobject.main.sqlmeta: cacheValues, childClasses, childName, dbEncoding, defaultOrder, dirty, expired, fromDatabase, idSequence, indexDefinitions, indexes, joinDefinitions, joins, lazyUpdate, parentClass, registry

Properties

Inherited from object: __class__

Class Variable Details

columnDefinitions

Value:
{'created': <DateTimeCol 3800350 created>,
 'expiry': <DateTimeCol 3800390 expiry>,
 'visit_key': <StringCol 3800310 visit_key>}

columnList

Value:
[<SOStringCol visit_key alternate ID>,
 <SODateTimeCol created default=datetime.datetime(2011, 7, 14, 21, 45,\
 37, 695756)>,
 <SODateTimeCol expiry>]

columns

Value:
{'created': <SODateTimeCol created default=datetime.datetime(2011, 7, \
14, 21, 45, 37, 696464)>,
 'expiry': <SODateTimeCol expiry>,
 'visit_key': <SOStringCol visit_key alternate ID>}

style

hash(x)

Value:
<sqlobject.styles.MixedCaseUnderscoreStyle object at 0x13c6490>