Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_object.cpp1061 int CheckValueBySchemaItem(const std::pair<FieldPath, SchemaAttribute> &schemaItem, in CheckValueBySchemaItem() argument
1064 if (subPathType.count(schemaItem.first) == 0) { // Value do not contain this field in CheckValueBySchemaItem()
1065 if (IsLackingFieldViolateNotNullConstraint(schemaItem.second)) { in CheckValueBySchemaItem()
1068 lackingPaths.insert(schemaItem.first); in CheckValueBySchemaItem()
1072 return CheckValueItem(schemaItem.second, subPathType.at(schemaItem.first)); in CheckValueBySchemaItem()
1111 if (schemaItem.second.type == FieldType::INTERNAL_FIELD_OBJECT) { in CheckValue()
1112 nestPathCurDepth.insert(schemaItem.first); // This field has subfield in schema in CheckValue()
1114 errCode = CheckValueBySchemaItem(schemaItem, subPathType, lackingPaths); in CheckValue()
1117 schemaItem.second.hasNotNullConstraint, in CheckValue()
1118schemaItem.second.hasDefaultValue, SchemaUtils::FieldTypeString(schemaItem.second.type).c_str(), in CheckValue()
[all …]