# `SOCol`

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

## Attributes

#### a `validator`

    <property object at 0x92eb5a4>

#### a `default`

    <property object at 0x934575c>

#### a `joinName`

    <property object at 0x9345784>

## 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 0x92dd1ac>, defaultSQL=None, foreignKey=None, alternateID=False, alternateMethodName=None, constraints=None, notNull=<class sqlobject.sqlbuilder.NoDefault at 0x92dd1ac>, notNone=<class sqlobject.sqlbuilder.NoDefault at 0x92dd1ac>, unique=<class sqlobject.sqlbuilder.NoDefault at 0x92dd1ac>, 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)` ...

#### 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.