Home
last modified time | relevance | path

Searched defs:sql (Results 151 - 175 of 226) sorted by relevance

12345678910

/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_step_result_set_test.cpp1937 auto sql = "create table if not exists 'table_-1' (id INTEGER PRIMARY KEY AUTOINCREMENT)"; in HWTEST_F() local
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_transaction.cpp600 std::string sql; member
644 std::string sql; member
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_statement.cpp97 void SqliteStatement::PrintInfoForDbError(int errCode, const std::string &sql) in PrintInfoForDbError() argument
193 int SqliteStatement::Prepare(const std::string &sql) in Prepare() argument
[all...]
H A Dsqlite_sql_builder.cpp47 std::string sql; in BuildUpdateString() local
82 std::string sql; in BuildQueryString() local
201 std::string sql; BuildCursorQueryString() local
253 std::string sql; BuildLockRowQueryString() local
309 std::string sql = "INSERT OR REPLACE INTO " + table + " ("; GenerateSqls() local
329 MakeExecuteSqls(const std::string &sql, const std::vector<RefValue> &args, int fieldSize, int limit) MakeExecuteSqls() argument
[all...]
/third_party/python/Modules/_sqlite/clinic/
H A Dconnection.c.h689 PyObject *sql; in pysqlite_connection_execute() local
731 PyObject *sql; in pysqlite_connection_executemany() local
[all...]
/third_party/python/PC/
H A D_msi.c1052 _msi_Database_OpenView_impl(msiobj *self, const Py_UNICODE *sql) in _msi_Database_OpenView_impl() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dhlr_auc_gw.c123 const char *sql = in db_table_create_milenage() local
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dhlr_auc_gw.c123 const char *sql = in db_table_create_milenage() local
/base/request/request/services/src/cxx/
H A Dc_request_database.cpp123 int RequestDataBase::ExecuteSql(rust::str sql) in ExecuteSql() argument
133 int RequestDataBase::QueryInteger(rust::str sql, rust::vec<rust::i64> &res) in QueryInteger() argument
164 int RequestDataBase::QueryText(rust::str sql, rust::vec<rust::String> &res) in QueryText() argument
207 int RequestDataBase::GetAppTaskQosInfos(rust::str sql, rust::vec<TaskQosInfo> &res) in GetAppTaskQosInfos() argument
247 int RequestDataBase::GetTaskQosInfo(rust::str sql, TaskQosInfo &res) in GetTaskQosInfo() argument
[all...]
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/
H A Dnotification_rdb_data_mgr_test.cpp142 virtual int ExecuteAndGetLong(int64_t &outValue, const std::string &sql, in ExecuteAndGetLong() argument
147 virtual int ExecuteAndGetString(std::string &outValue, const std::string &sql, in ExecuteAndGetString() argument
152 virtual int ExecuteForLastInsertedRowId(int64_t &outValue, const std::string &sql, in ExecuteForLastInsertedRowId() argument
157 virtual int ExecuteForChangedRowCount(int64_t &outValue, const std::string &sql, in ExecuteForChangedRowCount() argument
114 QuerySql( const std::string &sql, const std::vector<std::string> &selectionArgs) QuerySql() argument
119 QuerySql( const std::string &sql, const std::vector<ValueObject> &selectionArgs = {}) QuerySql() argument
124 QueryByStep( const std::string &sql, const std::vector<std::string> &selectionArgs) QueryByStep() argument
129 QueryByStep( const std::string &sql, const std::vector<ValueObject> &bindArgs = {}) QueryByStep() argument
134 ExecuteSql( const std::string &sql, const std::vector<ValueObject> &bindArgs = std::vector<ValueObject>()) ExecuteSql() argument
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_datamanager_test/src/
H A Dmedialibrary_datamanager_test.cpp1215 string sql = "DELETE FROM " + ANALYSIS_ALBUM_TABLE; in ClearAnalysisAlbumTable() local
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_analysis_album_operations.cpp274 string sql = BuildUpdateGroupPhotoAlbumSql(album); in UpdateGroupPhotoAlbumInfo() local
602 string sql = "UPDATE " + ANALYSIS_ALBUM_TABLE + " SET " + TAG_ID + " = '" + it.first + "', " + in UpdateForMergeGroupAlbums() local
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_general_store.cpp293 int32_t KVDBGeneralStore::Execute(const std::string &table, const std::string &sql) in Execute() argument
309 int32_t KVDBGeneralStore::Delete(const std::string &table, const std::string &sql, Values &&args) in Delete() argument
319 Query( __attribute__((unused)) const std::string &table, const std::string &sql, Values &&args) Query() argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.cpp289 std::string sql = querySql; in GetLogInfoStmt() local
1060 std::string sql in CountCloudData() local
1018 CountCloudDataInner(sqlite3 *db, bool isMemory, const Timestamp &timestamp, const std::string &user, const std::string &sql) CountCloudDataInner() argument
1150 auto sql = SqliteQueryHelper::GetKvCloudRecordSql(); GetLocalCloudVersionInner() local
1255 std::string sql = SqliteQueryHelper::GetCloudVersionRecordSql(isDeviceEmpty); GetCloudVersionFromCloud() local
[all...]
H A Dsqlite_cloud_kv_store.cpp663 std::string sql = "UPDATE " + tableName + " SET modify_time=? WHERE hash_key=? AND modify_time=?"; in ReviseLocalModTime() local
H A Dsqlite_query_helper.cpp93 std::string sql = "SELECT b.data_key," in GetSelectAndFromClauseForRDB() local
295 int SqliteQueryHelper::GetQuerySql(std::string &sql, bool onlyRowid) in GetQuerySql() argument
324 GetSyncDataCheckSql(std::string &sql) GetSyncDataCheckSql() argument
382 GetCountQuerySql(std::string &sql) GetCountQuerySql() argument
400 GetQuerySqlStatement(sqlite3 *dbHandle, const std::string &sql, sqlite3_stmt *&statement) GetQuerySqlStatement() argument
438 std::string sql; GetQuerySqlStatement() local
518 GetSyncDataQuerySql(std::string &sql, bool hasSubQuery, bool isCount) GetSyncDataQuerySql() argument
592 std::string sql; GetQuerySyncStatement() local
649 std::string sql = RELATIONAL_SYMBOL_TO_SQL.at(queryNode.operFlag) + MapValueToSql(queryNode, placeholder); MapRelationalSymbolToSql() local
666 std::string sql; MapKeywordSymbolToSql() local
921 GetRelationalMissQuerySql(const std::vector<std::string> &fieldNames, std::string &sql) GetRelationalMissQuerySql() argument
939 GetRelationalSyncDataQuerySql(std::string &sql, bool hasSubQuery, const std::vector<std::string> &fieldNames) GetRelationalSyncDataQuerySql() argument
973 std::string sql; GetRelationalMissQueryStatement() local
993 std::string sql = "SELECT b.data_key," GetRelationalSyncDataQueryHeader() local
1013 std::string sql = "SELECT b.data_key," GetRelationalCloudSyncDataQueryHeader() local
1035 GetRelationalSyncDataQuerySqlWithLimit(const std::vector<std::string> &fieldNames, std::string &sql) GetRelationalSyncDataQuerySqlWithLimit() argument
1067 std::string sql; GetRelationalQueryStatement() local
1157 std::string sql = GetRelationalCloudSyncDataQueryHeader(fields); GetRelationalCloudQuerySql() local
1166 std::string sql = "SELECT COUNT(*) "; GetCountRelationalCloudQuerySql() local
1174 std::string sql = GetRelationalCloudSyncDataQueryHeader(fields); GetGidRelationalCloudQuerySql() local
1179 AppendCloudQuery(bool isCloudForcePush, bool isCompensatedTask, std::string &sql, CloudWaterType mode) AppendCloudQuery() argument
1203 AppendCloudQueryToGetDiffData(std::string &sql, const CloudWaterType mode, bool isKv) AppendCloudQueryToGetDiffData() argument
1223 AppendCloudGidQuery(bool isCloudForcePush, bool isCompensatedTask, std::string &sql) AppendCloudGidQuery() argument
1235 GetCloudQueryStatement(bool useTimestampAlias, sqlite3 *dbHandle, std::string &sql, sqlite3_stmt *&statement) GetCloudQueryStatement() argument
1269 std::string sql = GetKvCloudQuerySql(false, forcePush); GetKvCloudQueryStmt() local
1302 std::string sql; GetKvCloudQuerySql() local
1322 std::string sql = QUERY_CLOUD_SYNC_DATA_HEAD; GetKvCloudRecordSql() local
1330 std::string sql = QUERY_CLOUD_VERSION_RECORD_SQL_HEAD; GetCloudVersionRecordSql() local
1342 std::string sql = SELECT_CLOUD_GID_SQL; GetAndBindGidKvCloudQueryStatement() local
1368 std::string sql = SqliteQueryHelper::GetKvCloudQuerySql(true, forcePush); GetCountKvCloudDataStatement() local
1417 AppendKvQueryObjectOnSql(std::string &sql) AppendKvQueryObjectOnSql() argument
[all...]
H A Dsqlite_multi_ver_transaction.cpp503 std::string sql = SELECT_MAX_VERSION; in GetMaxVersion() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/cloudsync_fuzzer/
H A Dcloudsync_fuzzer.cpp92 static void ExecSql(sqlite3 *db, const std::string &sql) in ExecSql() argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_test.cpp360 std::string sql = "CREATE TABLE TEST_" + std::to_string(i) + "(id INT PRIMARY KEY, value TEXT);"; in CreateDistributedTableOverLimitTest() local
1208 std::string sql = "CREATE TRIGGER IF NOT EXISTS " in AddErrorTrigger() local
1907 std::string sql = "create table " + t1 + "(key text, _rowid_ int);"; in HWTEST_F() local
1957 std::string sql = "create table " + t1 + "(key int, value text);"; HWTEST_F() local
[all...]
H A Ddistributeddb_cloud_interfaces_relational_remove_device_data_test.cpp150 string sql = "INSERT OR REPLACE INTO " + g_tableName1 in InsertUserTableRecord() local
171 string sql = "INSERT OR REPLACE INTO " + g_tableName2 in InsertUserTableRecord() local
335 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(tableName) + in CheckCloudRecordNum() local
348 std::string sql = "select count() from " + DBCommon::GetLogTableName(tableName) + in CheckCompensatedNum() local
360 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(tableName); in CheckLocalLogCount() local
371 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(tableName) + CheckLogoutLogCount() local
401 std::string sql = "select count(*) from " + tableName; CheckCleanDataNum() local
518 std::string sql = "INSERT OR REPLACE INTO " + tableName + CloudDbConstant::SHARED + " SELECT " + CopySharedDataFromOriginalTable() local
528 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(tableName); CheckCloudSharedRecordNum() local
1145 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(tableName) + HWTEST_F() local
1452 std::string sql = "select count() from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
1485 std::string sql = "select count() from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
1587 std::string sql = "select count() from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
1623 std::string sql = "select count() from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
1671 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
1747 std::string sql = "select count() from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
1807 std::string sql = "select count(*) from " + DBCommon::GetLogTableName(g_tables[0]) + HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp342 const string sql = "insert or replace into " + tableName + " values (?,?,?,?);"; in InsertLocalData() local
681 std::string sql = "select count(*) from " + ASSETS_TABLE_NAME + ";"; in HWTEST_F() local
H A Ddistributeddb_mock_sync_module_test.cpp1451 std::string sql = "testsql"; in HWTEST_F() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_cloud_syncable_storage_test.cpp84 const string sql = in CreateDB() local
124 string sql = "INSERT OR REPLACE INTO " + g_tableName + in CreateAndInitUserTable() local
164 string sql = "INSERT OR REPLACE INTO " + tableName + in InitLogData() local
183 string sql = "update " + g_logTblName + " set cloud_gid = '" + std::to_string(i) + in InitLogGid() local
197 string sql = "update " + g_logTblName + " set cloud_gid = '" + id + in UpdateLogGidAndHashKey() local
226 string sql = "update " + g_logTblName + " set flag = flag | 0x09" InitLogicDelete() local
338 string sql = "UPDATE " + tableName + " SET assert = ? where rowid = '" + std::to_string(rowid) + "';"; UpdateLocalAsset() local
1262 string sql = "INSERT OR REPLACE INTO user2(name, age) VALUES ('Local" + std::to_string(0) + "', '18');"; HWTEST_F() local
1314 std::string sql = "INSERT OR REPLACE INTO " + tableName + " (id, name) VALUES ('" + '1' + "', 'Local" + HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp272 void TableInfo::SetCreateTableSql(const std::string &sql) in SetCreateTableSql() argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kv_test.cpp2248 std::string sql = "UPDATE sync_data SET modify_time = modify_time + modify_time where rowid>0"; in HWTEST_F() local

Completed in 44 milliseconds

12345678910