Lines Matching refs:resultSet

766     auto resultSet = store_->Query(newRdbPredicates, columns);
767 int resultSetNum = resultSet->GoToFirstRow();
771 resultSet->GoToNextRow();
772 resultSet->Close();
778 resultSet->GetInt(0, contactId);
780 resultSetNum = resultSet->GoToNextRow();
782 resultSet->Close();
807 std::shared_ptr<OHOS::NativeRdb::ResultSet> resultSet = store_->Query(rdbPredicates, columns);
808 return ResultSetToValuesBucket(resultSet);
843 auto resultSet = store_->Query(rdbPredicates, columns);
845 int resultSetNum = resultSet->GoToFirstRow();
848 resultSet->GetInt(0, contactId);
850 resultSetNum = resultSet->GoToNextRow();
852 resultSet->Close();
952 auto resultSet = store_->Query(rdbPredicates, columns);
955 int resultSetNum = resultSet->GoToFirstRow();
959 resultSet->GetColumnIndex(columnName, columnIndex);
961 resultSet->GetInt(columnIndex, rawContactId);
964 resultSet->GetColumnIndex(typeIdKey, columnIndexType);
966 resultSet->GetInt(columnIndexType, typeId);
970 resultSetNum = resultSet->GoToNextRow();
972 resultSet->Close();
998 auto resultSet = store_->Query(rdbPredicates, columns);
1002 return resultSet;
1006 std::shared_ptr<OHOS::NativeRdb::ResultSet> &resultSet)
1009 resultSet->GetAllColumnNames(columnNames);
1011 int resultSetNum = resultSet->GoToFirstRow();
1018 resultSet->GetColumnIndex(typeValue, columnIndex);
1020 resultSet->GetColumnType(columnIndex, columnType);
1023 resultSet->GetInt(columnIndex, intValue);
1027 resultSet->GetDouble(columnIndex, doubleValue);
1031 resultSet->GetString(columnIndex, stringValue);
1036 resultSetNum = resultSet->GoToNextRow();
1038 resultSet->Close();
1314 auto resultSet = store->QuerySql(sql);
1315 int mergeResultSetNum = resultSet->GoToFirstRow();
1321 resultSet->GetColumnIndex(columnName, columnIndex);
1322 resultSet->GetInt(columnIndex, rawContactId);
1337 mergeResultSetNum = resultSet->GoToNextRow();
1339 resultSet->Close();