Searched refs:schemaDefine (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_database_upgrader.cpp | 233 std::string schemaDefine; in GetParseSchema() local 234 int errCode = SQLiteUtils::GetRelationalSchema(db_, schemaDefine); in GetParseSchema() 239 if (errCode == -E_NOT_FOUND || schemaDefine.empty()) { in GetParseSchema() 242 errCode = schemaObj.ParseFromSchemaString(schemaDefine); in GetParseSchema()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | table_info.cpp | 709 std::map<FieldPath, SchemaAttribute> schemaDefine; in GetSchemaDefine() local 713 schemaDefine[std::vector { DBCommon::ToLowerCase(fieldName) }] = SchemaAttribute { in GetSchemaDefine() 722 return schemaDefine; in GetSchemaDefine()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_schema_test.cpp | 572 void ReopenDBWithDiffSchema(string &schemaDefine, Option &option, in ReopenDBWithDiffSchema() argument 577 option.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_1, schemaDefine, VALID_INDEX_1); in ReopenDBWithDiffSchema() 2135 …std::string schemaDefine = "{\"field1\":\"INTEGER ,DEFAULT null\",\"field2\":\"LONG ,DEFAULT null\… variable 2137 option.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_1, schemaDefine, VALID_INDEX_1); 2197 …std::string schemaDefine = "{\"field1\":\"INTEGER ,DEFAULT null\",\"field2\":\"LONG ,DEFAULT null\… variable 2199 option.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_1, schemaDefine, VALID_INDEX_1); 2292 std::string schemaDefine = "{\"field\":{}, \"field1\": \"STRING\"}"; variable 2295 …option.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_1, schemaDefine, schemaIndex, skipSize); 2353 std::string schemaDefine = "{\"field\":{}, \"field1\": \"STRING\"}"; variable 2355 …option.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_1, schemaDefine, VALID_INDEX_1, skipSiz…
|
H A D | distributeddb_nb_local_batch_crud_test.cpp | 442 string schemaDefine = "{\"field0\":\"INTEGER,NOT NULL,DEFAULT 10\",\"field1\":[]}"; variable 443 option1.schema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_2, schemaDefine, VALID_INDEX_1);
|
H A D | distributeddb_nb_predicate_query_test.cpp | 96 const vector<string> &schemasValue, vector<Entry> &entries, const std::string schemaDefine) in PrepareSchemaDBAndData() argument 98 string validSchema = SpliceToSchema(VALID_VERSION_1, VALID_MODE_1, schemaDefine, VALID_INDEX_1); in PrepareSchemaDBAndData()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | schema_object.cpp | 123 SchemaDefine schemaDefine = tableInfo.GetSchemaDefine(); in SchemaObject() local 124 schemaDefine_.insert({ 0, schemaDefine }); in SchemaObject()
|