# `SOCol`

The SOCol class is accessible via the `sqlobject.col` module.

## Attributes

#### a `validator`

    <property object at 0xb4da964>

#### a `default`

    <property object at 0xb51061c>

#### a `joinName`

    <property object at 0xb510644>

## Methods

#### f `__sizeof__(...)` ...

__sizeof__() -> int size of object in memory, in bytes

#### f `__format__(...)` ...

default object formatter

#### f `__subclasshook__(...)` ...

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

#### f `__init__(self, name, soClass, creationOrder, dbName=None, default=<class sqlobject.sqlbuilder.NoDefault at 0xb4ca44c>, defaultSQL=None, foreignKey=None, alternateID=False, alternateMethodName=None, constraints=None, notNull=<class sqlobject.sqlbuilder.NoDefault at 0xb4ca44c>, notNone=<class sqlobject.sqlbuilder.NoDefault at 0xb4ca44c>, unique=<class sqlobject.sqlbuilder.NoDefault at 0xb4ca44c>, sqlType=None, columnDef=None, validator=None, validator2=None, immutable=False, cascade=None, lazy=False, noCache=False, forceDBName=False, title=None, tags=[], origName=None, dbEncoding=None, extra_vars=None)` ...

#### f `createValidators(self)` ...

Create a list of validators for the column.

#### f `autoConstraints(self)` ...

#### f `createSQL(self)` ...

#### f `mysqlCreateSQL(self, connection=None)` ...

#### f `postgresCreateSQL(self)` ...

#### f `sqliteCreateSQL(self)` ...

#### f `sybaseCreateSQL(self)` ...

#### f `mssqlCreateSQL(self, connection=None)` ...

#### f `firebirdCreateSQL(self)` ...

#### f `maxdbCreateSQL(self)` ...

#### f `__get__(self, obj, type=None)` ...

#### f `__set__(self, obj, value)` ...

#### f `__delete__(self, obj)` ...

#### f `getDbEncoding(self, state, default='utf-8')` ...

See the source for more information.