Commits

Mike Bayer  committed 41ca29f

'column' function (make a ColumnClause) is more useful from sql module, removed 'column' (make a ColumnProperty) from __init__

  • Participants
  • Parent commits 1b855d7

Comments (0)

Files changed (1)

File lib/sqlalchemy/mapping/__init__.py

 from properties import *
 import mapper as mapperlib
 
-__all__ = ['relation', 'eagerload', 'lazyload', 'noload', 'deferred',  'column', 
-        'defer', 'undefer',
+__all__ = ['relation', 'eagerload', 'lazyload', 'noload', 'deferred', 'defer', 'undefer',
         'mapper', 'clear_mappers', 'objectstore', 'sql', 'extension', 'class_mapper', 'object_mapper', 'MapperExtension',
         'assign_mapper'
         ]
     else:
         return EagerLoader(mapper, secondary, primaryjoin, secondaryjoin, **kwargs)
 
-def column(*columns, **kwargs):
-    return ColumnProperty(*columns, **kwargs)
-    
 def deferred(*columns, **kwargs):
     return DeferredColumnProperty(*columns, **kwargs)