def __init__(self): self.name = ORMColumn('json', String) super(ExampleValORM, self).__init__([self.name])
def __init__(self, metadata): key_orm = SimpleORM(ORMColumn('key', Integer)) val_orm = SimpleORM(ORMColumn('val', String)) super(TableMappingExample, self).__init__('tabledict_example', key_orm, val_orm, metadata)
def __init__(self): self.name = ORMColumn('name', String) self.age = ORMColumn('age', Integer) columns = [self.name, self.age] super(ExampleKeyORM, self).__init__(columns)