sqlobject.versioning.test.test_version module

class sqlobject.versioning.test.test_version.Base(**kw)[source]

Bases: sqlobject.inheritance.InheritableSQLObject

childName
j = base
name
q = base
so_value
class sqlmeta(instance)

Bases: sqlobject.inheritance.InheritableSQLMeta

childClasses = {'VChild': <class 'sqlobject.versioning.test.test_version.VChild'>, 'Child': <class 'sqlobject.versioning.test.test_version.Child'>}
childName = None
columnDefinitions = {'so_value': <IntCol b2d16e0cL so_value>, 'name': <StringCol b2de83ccL name>, 'childName': <StringCol b2d16cecL childName>}
columnList = [<SOStringCol name>, <SOIntCol so_value default=0>, <SOStringCol childName default=None>]
columns = {'so_value': <SOIntCol so_value default=0>, 'name': <SOStringCol name>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass = None
soClass

alias of Base

table = 'base'
versions
class sqlobject.versioning.test.test_version.Child(**kw)[source]

Bases: sqlobject.versioning.test.test_version.Base

childName
j = child
name
q = child
so_value
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'Child'
columnDefinitions = {'toy': <StringCol b2d07c8cL toy>, 'childName': <StringCol b2d161ccL childName>}
columnList = [<SOStringCol toy>, <SOStringCol childName default=None>]
columns = {'toy': <SOStringCol toy>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of Base

soClass

alias of Child

table = 'child'
toy
class sqlobject.versioning.test.test_version.Extra(**kw)[source]

Bases: sqlobject.main.SQLObject

j = extra
name
q = extra
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b2d4c86cL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Extra

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'extra'
versions
class sqlobject.versioning.test.test_version.Government(**kw)[source]

Bases: sqlobject.inheritance.InheritableSQLObject

childName
j = government
name
q = government
class sqlmeta(instance)

Bases: sqlobject.inheritance.InheritableSQLMeta

childClasses = {'Monarchy': <class 'sqlobject.versioning.test.test_version.Monarchy'>}
childName = None
columnDefinitions = {'name': <StringCol b2cf77acL name>, 'childName': <StringCol b2d42d6cL childName>}
columnList = [<SOStringCol name>, <SOStringCol childName default=None>]
columns = {'name': <SOStringCol name>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass = None
soClass

alias of Government

table = 'government'
class sqlobject.versioning.test.test_version.HasAltId(**kw)[source]

Bases: sqlobject.main.SQLObject

altid
classmethod byAltid(val, connection=None)
j = has_alt_id
name
q = has_alt_id
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b2cf842cL name>, 'altid': <IntCol b2cf8becL altid>}
columnList = [<SOStringCol name>, <SOIntCol altid alternate ID>]
columns = {'name': <SOStringCol name>, 'altid': <SOIntCol altid alternate ID>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of HasAltId

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'has_alt_id'
versions
class sqlobject.versioning.test.test_version.HasForeign(**kw)[source]

Bases: sqlobject.main.SQLObject

foreign
foreignID
j = has_foreign
q = has_foreign
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'foreignID': <ForeignKey b2cf96acL foreign>}
columnList = [<SOForeignKey foreignID connected to Base>]
columns = {'foreignID': <SOForeignKey foreignID connected to Base>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of HasForeign

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'has_foreign'
versions
class sqlobject.versioning.test.test_version.Monarchy(**kw)[source]

Bases: sqlobject.versioning.test.test_version.Government

childName
j = monarchy
monarch
name
q = monarchy
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'Monarchy'
columnDefinitions = {'monarch': <StringCol b2d5168cL monarch>, 'childName': <StringCol b2d1656cL childName>}
columnList = [<SOStringCol monarch>, <SOStringCol childName default=None>]
columns = {'monarch': <SOStringCol monarch>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of Government

soClass

alias of Monarchy

table = 'monarchy'
versions
class sqlobject.versioning.test.test_version.MyClass(**kw)[source]

Bases: sqlobject.main.SQLObject

j = my_class
name
q = my_class
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b30942acL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of MyClass

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'my_class'
versions
class sqlobject.versioning.test.test_version.VChild(**kw)[source]

Bases: sqlobject.versioning.test.test_version.Base

childName
j = vchild
name
q = vchild
so_value
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'VChild'
columnDefinitions = {'weapon': <StringCol b2cf314cL weapon>, 'childName': <StringCol b2dac08cL childName>}
columnList = [<SOStringCol weapon>, <SOStringCol childName default=None>]
columns = {'weapon': <SOStringCol weapon>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of Base

soClass

alias of VChild

table = 'vchild'
versions
weapon
sqlobject.versioning.test.test_version.setup()[source]
sqlobject.versioning.test.test_version.test_altid()[source]
sqlobject.versioning.test.test_version.test_extra()[source]
sqlobject.versioning.test.test_version.test_foreign_keys()[source]
sqlobject.versioning.test.test_version.test_get_changed()[source]
sqlobject.versioning.test.test_version.test_inheritable_versioning()[source]
sqlobject.versioning.test.test_version.test_next()[source]
sqlobject.versioning.test.test_version.test_restore()[source]
sqlobject.versioning.test.test_version.test_versioning()[source]