Home
last modified time | relevance | path

Searched refs:hasDefaultValue (Results 1 - 6 of 6) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_schema_unit_test.cpp62 EXPECT_EQ(res.hasDefaultValue, check.hasDefaultValue); in CheckSchemaAttribute()
72 attributeRes.hasDefaultValue = true; in PreNumDataForParseAndCheckSchemaAttribute003()
77 attributeRes1.hasDefaultValue = true; in PreNumDataForParseAndCheckSchemaAttribute003()
84 attributeRes2.hasDefaultValue = true; in PreNumDataForParseAndCheckSchemaAttribute003()
90 attributeRes3.hasDefaultValue = true; in PreNumDataForParseAndCheckSchemaAttribute003()
97 attributeRes4.hasDefaultValue = true; in PreNumDataForParseAndCheckSchemaAttribute003()
106 attributeRes5.hasDefaultValue = true; in PreStringDataForParseAndCheckSchemaAttribute003()
113 attributeRes6.hasDefaultValue = true; in PreStringDataForParseAndCheckSchemaAttribute003()
122 attributeRes7.hasDefaultValue in PreDoubleDataForParseAndCheckSchemaAttribute003()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dmetav1_compat.cpp138 bool hasDefaultValue = false; in RewriteProperty() local
146 hasDefaultValue = true; in RewriteProperty()
161 if (!hasDefaultValue) { in RewriteProperty()
164 } else if (!hasDefaultValue) { in RewriteProperty()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dischema.h46 bool hasDefaultValue = false; member
/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()
873 if (oldAttr.hasDefaultValue != newAttr.hasDefaultValue) { in CompareSchemaAttribute()
874 LOGE("[Schema][CompareAttr] OldHasDefault=%d mismatch newHasDefault=%d.", oldAttr.hasDefaultValue, in CompareSchemaAttribute()
875 newAttr.hasDefaultValue); in CompareSchemaAttribute()
878 if (oldAttr.hasDefaultValue) { in CompareSchemaAttribute()
1057 return (refAttr.hasNotNullConstraint && !refAttr.hasDefaultValue); in IsLackingFieldViolateNotNullConstraint()
1118 schemaItem.second.hasDefaultValue, SchemaUtils::FieldTypeString(schemaItem.second.type).c_str(), in CheckValue()
1134 if (!lackingPathAttr.hasDefaultValue) { in AmendValueIfNeed()
[all...]
H A Dschema_utils.cpp253 outAttr.hasDefaultValue = false; in TransformDefaultValue()
339 // if DEFAULT value context exist, fix hasDefaultValue flag, 2nd represents the default value in ParseSchemaAttribute()
341 outAttr.hasDefaultValue = false; in ParseSchemaAttribute()
343 outAttr.hasDefaultValue = true; in ParseSchemaAttribute()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp717 .hasDefaultValue = fieldInfo.HasDefaultValue(), in GetSchemaDefine()

Completed in 6 milliseconds