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

The sqlmeta class is accessible via the `sqlobject.main` module.

## Attributes

#### a `idName`

    None

#### a `childName`

    None

#### a `columnDefinitions`

    {}

#### a `defaultOrder`

    None

#### a `style`

    None

#### a `fromDatabase`

    False

#### a `table`

    None

#### a `idSequence`

    None

#### a `indexes`

    []

#### a `dbEncoding`

    None

#### a `childClasses`

    {}

#### a `columnList`

    []

#### a `columns`

    {}

#### a `indexDefinitions`

    []

#### a `registry`

    None

#### a `joins`

    []

#### a `cacheValues`

    True

#### a `expired`

    False

#### a `parentClass`

    None

#### a `lazyUpdate`

    False

#### a `dirty`

    False

#### a `joinDefinitions`

    []

## Methods

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

default object formatter

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

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

#### 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 `__classinit__(cls, new_attrs)` ...

#### f `__init__(self, instance)` ...

#### f `send(cls, signal, *args, **kw)` ...

#### f `setClass(cls, soClass)` ...

#### f `addColumn(cls, columnDef, changeSchema=False, connection=None)` ...

#### f `addColumnsFromDatabase(sqlmeta, connection=None)` ...

#### f `delColumn(cls, column, changeSchema=False, connection=None)` ...

#### f `addJoin(cls, joinDef)` ...

#### f `delJoin(sqlmeta, joinDef)` ...

#### f `addIndex(cls, indexDef)` ...

#### f `getColumns(sqlmeta)` ...

#### f `asDict(self)` ...

Return the object as a dictionary of columns to values.

#### f `expireAll(sqlmeta, connection=None)` ...

Expire all instances of this class.

See the source for more information.