Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_object.cpp423 if (metaFieldPathType.count(FieldPath{SchemaConstant::KEYWORD_SCHEMA_INDEXES}) != 0) { in CheckOptionalMetaFieldCountAndType()
453 std::map<FieldPath, FieldType> metaFieldPathType; in CheckMetaFieldCountAndType() local
454 int errCode = inJsonObject.GetSubFieldPathAndType(FieldPath(), metaFieldPathType); in CheckMetaFieldCountAndType()
459 if (metaFieldPathType.size() < SchemaConstant::SCHEMA_META_FEILD_COUNT_MIN || in CheckMetaFieldCountAndType()
460 metaFieldPathType.size() > SchemaConstant::SCHEMA_META_FEILD_COUNT_MAX) { in CheckMetaFieldCountAndType()
465 if (metaFieldPathType.count(FieldPath{SchemaConstant::KEYWORD_SCHEMA_VERSION}) == 0) { in CheckMetaFieldCountAndType()
476 if (metaFieldPathType.count(FieldPath{SchemaConstant::KEYWORD_SCHEMA_MODE}) == 0) { in CheckMetaFieldCountAndType()
480 type = metaFieldPathType.at(FieldPath{SchemaConstant::KEYWORD_SCHEMA_MODE}); in CheckMetaFieldCountAndType()
486 if (metaFieldPathType.count(FieldPath{SchemaConstant::KEYWORD_SCHEMA_DEFINE}) == 0) { in CheckMetaFieldCountAndType()
490 type = metaFieldPathType.at(FieldPath{SchemaConstant::KEYWORD_SCHEMA_DEFINE}); in CheckMetaFieldCountAndType()
[all …]