コード例 #1
0
 class Bfact(Predicate):
     num1=IntegerField()
     str1=StringField()
コード例 #2
0
        class Fact(Predicate):
            num1 = IntegerField()

            class Meta:
                name = "f"
コード例 #3
0
 class F(Predicate):
     num1 = IntegerField()
コード例 #4
0
class PT(Predicate):
    a = IntegerField
    b = IntegerField(index=True)
コード例 #5
0
 class Afact(Predicate):
     num1 = IntegerField()
コード例 #6
0
ファイル: introspection.py プロジェクト: tgamblin/clorm
class Apredicate(Predicate):
    anum = IntegerField(index=True)
    acmplx = Acomplex.Field
    atuple = (IntegerField, ConstantField(index=True))
コード例 #7
0
ファイル: test_json.py プロジェクト: tgamblin/clorm
 class Cfact(ComplexTerm):
     aint = IntegerField()
     astr = StringField()
コード例 #8
0
ファイル: test_json.py プロジェクト: tgamblin/clorm
 class Afact(Predicate):
     aint = IntegerField()
     afun = Fun.Field()
コード例 #9
0
ファイル: test_json.py プロジェクト: tgamblin/clorm
 class Tup(ComplexTerm):
     aint = IntegerField()
     astr = StringField()
     class Meta: is_tuple = True
コード例 #10
0
ファイル: test_json.py プロジェクト: tgamblin/clorm
 class Fun(ComplexTerm):
     aint = IntegerField()
     astr = StringField()