Package turbogears :: Package identity :: Module soprovider :: Class TG_User :: Class sqlmeta

Class sqlmeta

  object --+    
           |    
main.sqlmeta --+
               |
              turbogears.identity.soprovider.TG_User.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
Reasonably basic User definition.

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
  columnDefinitions = {'created': <DateTimeCol 18c3b10 created>,...
  columnList = [<SOUnicodeCol user_name alternate ID>, <SOUnicod...
  columns = {'created': <SODateTimeCol created default=datetime....
  idName = 'id'
hash(x)
  joinDefinitions = [<sqlobject.joins.RelatedJoin object at 0x18...
  joins = [<sqlobject.joins.SORelatedJoin object at 0x18c6810>]
  style = <sqlobject.styles.MixedCaseUnderscoreStyle object at 0...
hash(x)
  table = 'tg__user'
hash(x)

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

Properties

Inherited from object: __class__

Class Variable Details

columnDefinitions

Value:
{'created': <DateTimeCol 18c3b10 created>,
 'display_name': <UnicodeCol 18c3a90 display_name>,
 'email_address': <UnicodeCol 18c3a50 email_address>,
 'password': <UnicodeCol 18c3ad0 password>,
 'user_name': <UnicodeCol 18c39d0 user_name>}

columnList

Value:
[<SOUnicodeCol user_name alternate ID>,
 <SOUnicodeCol email_address alternate ID>,
 <SOUnicodeCol display_name>,
 <SOUnicodeCol password>,
 <SODateTimeCol created default=datetime.datetime(2011, 7, 14, 21, 45,\
 37, 306544)>]

columns

Value:
{'created': <SODateTimeCol created default=datetime.datetime(2011, 7, \
14, 21, 45, 37, 307328)>,
 'display_name': <SOUnicodeCol display_name>,
 'email_address': <SOUnicodeCol email_address alternate ID>,
 'password': <SOUnicodeCol password>,
 'user_name': <SOUnicodeCol user_name alternate ID>}

joinDefinitions

Value:
[<sqlobject.joins.RelatedJoin object at 0x18c3b50>]

style

hash(x)

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