Home
last modified time | relevance | path

Searched refs:hasNotNullConstraint (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_schema_unit_test.cpp61 EXPECT_EQ(res.hasNotNullConstraint, check.hasNotNullConstraint); in CheckSchemaAttribute()
78 attributeRes1.hasNotNullConstraint = true; in PreNumDataForParseAndCheckSchemaAttribute003()
96 attributeRes4.hasNotNullConstraint = true; in PreNumDataForParseAndCheckSchemaAttribute003()
112 attributeRes6.hasNotNullConstraint = true; in PreStringDataForParseAndCheckSchemaAttribute003()
140 attributeRes10.hasNotNullConstraint = true; in PreDoubleDataForParseAndCheckSchemaAttribute003()
147 attributeRes11.hasNotNullConstraint = false; in PreDoubleDataForParseAndCheckSchemaAttribute003()
155 attributeRes13.hasNotNullConstraint = true; in PreDoubleDataForParseAndCheckSchemaAttribute003()
172 attributeRes15.hasNotNullConstraint = true; in PreBoolDataForParseAndCheckSchemaAttribute003()
197 attributeRes1.hasNotNullConstraint = true;
209 attributeRes3.hasNotNullConstraint = true;
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_object.cpp818 return (!inAttr.hasNotNullConstraint || inAttr.hasDefaultValue); in IsExtraFieldConformToCompatibility()
844 entry.second.hasNotNullConstraint, entry.second.hasDefaultValue); in CompareSchemaDefineByDepth()
868 if (oldAttr.hasNotNullConstraint != newAttr.hasNotNullConstraint) { in CompareSchemaAttribute()
869 … LOGE("[Schema][CompareAttr] OldNotNull=%d mismatch newNotNull=%d.", oldAttr.hasNotNullConstraint, in CompareSchemaAttribute()
870 newAttr.hasNotNullConstraint); in CompareSchemaAttribute()
1028 if (refAttr.hasNotNullConstraint) { in CheckValueItem()
1057 return (refAttr.hasNotNullConstraint && !refAttr.hasDefaultValue); in IsLackingFieldViolateNotNullConstraint()
1117 schemaItem.second.hasNotNullConstraint, in CheckValue()
H A Dschema_utils.cpp249 …ultContent.compare(SchemaConstant::KEYWORD_ATTR_VALUE_NULL) == 0 && outAttr.hasNotNullConstraint) { in TransformDefaultValue()
337 outAttr.hasNotNullConstraint = !attrContext[1].empty(); in ParseSchemaAttribute()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dischema.h45 bool hasNotNullConstraint = false; member
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp716 .hasNotNullConstraint = fieldInfo.IsNotNull(), in GetSchemaDefine()