Beispiel #1
0
    class TestTable(Table):
        class Meta:
            name = 'my_table'

        foo = Column()
        bar = Column.number(sort_key='bar')
Beispiel #2
0
 class TestTable(Table):
     foo = Column()
     bar = Column(sort_default_desc=True)
Beispiel #3
0
 class TestTable(Table):
     foo = Column()
     bar = Column.number(sort_key='bar')
Beispiel #4
0
 class TestTable(Table):
     a = Column.number()
     b = Column()