Beispiel #1
0
 class TestIndex:
     integer = Int(primary_key=True)
     other = Str(index=True)
Beispiel #2
0
 class TestUnique:
     integer = Int(primary_key=True)
     other = Str(unique=True)
    class TestIndex:
        __db_schema__ = 'test_db_schema'

        integer = Int(primary_key=True)
        other = Str(index=True)
Beispiel #4
0
 class Test:
     integer = Int(primary_key=True)
     other = Str()
    class TestUnique:
        __db_schema__ = 'test_db_schema'

        integer = Int(primary_key=True)
        other = Str(unique=True)