久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='RBpFo'><style id='RBpFo'><dir id='RBpFo'><q id='RBpFo'></q></dir></style></legend>

      <tfoot id='RBpFo'></tfoot>
        <bdo id='RBpFo'></bdo><ul id='RBpFo'></ul>

    1. <i id='RBpFo'><tr id='RBpFo'><dt id='RBpFo'><q id='RBpFo'><span id='RBpFo'><b id='RBpFo'><form id='RBpFo'><ins id='RBpFo'></ins><ul id='RBpFo'></ul><sub id='RBpFo'></sub></form><legend id='RBpFo'></legend><bdo id='RBpFo'><pre id='RBpFo'><center id='RBpFo'></center></pre></bdo></b><th id='RBpFo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='RBpFo'><tfoot id='RBpFo'></tfoot><dl id='RBpFo'><fieldset id='RBpFo'></fieldset></dl></div>

        <small id='RBpFo'></small><noframes id='RBpFo'>

        AWS DynamoDB 批量獲取請(qǐng)求 - iOS

        AWS DynamoDB Batch Get Request - iOS(AWS DynamoDB 批量獲取請(qǐng)求 - iOS)
          <tbody id='bpYsM'></tbody>
      1. <small id='bpYsM'></small><noframes id='bpYsM'>

        <tfoot id='bpYsM'></tfoot>

                <bdo id='bpYsM'></bdo><ul id='bpYsM'></ul>
                <legend id='bpYsM'><style id='bpYsM'><dir id='bpYsM'><q id='bpYsM'></q></dir></style></legend>
                <i id='bpYsM'><tr id='bpYsM'><dt id='bpYsM'><q id='bpYsM'><span id='bpYsM'><b id='bpYsM'><form id='bpYsM'><ins id='bpYsM'></ins><ul id='bpYsM'></ul><sub id='bpYsM'></sub></form><legend id='bpYsM'></legend><bdo id='bpYsM'><pre id='bpYsM'><center id='bpYsM'></center></pre></bdo></b><th id='bpYsM'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bpYsM'><tfoot id='bpYsM'></tfoot><dl id='bpYsM'><fieldset id='bpYsM'></fieldset></dl></div>
                  本文介紹了AWS DynamoDB 批量獲取請(qǐng)求 - iOS的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我可以對(duì) AWS dynamoDB 中的單個(gè)表執(zhí)行簡(jiǎn)單的 Get 請(qǐng)求,但是當(dāng)我將其擴(kuò)展為跨多個(gè)表的批處理請(qǐng)求時(shí),我繼續(xù)收到錯(cuò)誤

                  I can perform a simple Get request on a singular table within AWS dynamoDB however when I expand it to a Batch Request across multiple tables I continue to get a error

                  validation error detected: Value null at 'requestItems.rip.member.keys' failed to satisfy constraint
                  

                  我理解這是因?yàn)橹禌](méi)有正確傳遞,但我看不出我的代碼有什么問(wèn)題

                  I understand this as the values not being passed correctly but I can't see what the issue is with my code

                  //Create Request Values
                  AWSDynamoDBGetItemInput *getItem = [AWSDynamoDBGetItemInput new];
                  AWSDynamoDBAttributeValue *hashValue = [AWSDynamoDBAttributeValue new];
                  hashValue.S = @"User Test";
                  getItem.key = @{@"ripId": hashValue};
                  
                  //Create Request Values 2 
                  AWSDynamoDBGetItemInput *getItem2 = [AWSDynamoDBGetItemInput new];
                  AWSDynamoDBAttributeValue *hashValue2 = [AWSDynamoDBAttributeValue new];
                  hashValue2.S = @"User Test";
                  getItem2.key = @{@"chat": hashValue2};
                  
                  //Combine to Batch Request
                  AWSDynamoDBBatchGetItemInput * batchFetch = [AWSDynamoDBBatchGetItemInput new];
                  batchFetch.requestItems = @{ @"rip": getItem,
                                               @"chat": getItem,};
                  
                  [[dynamoDB batchGetItem:batchFetch] continueWithBlock:^id(BFTask *task) {
                      if (!task.error) {
                  
                          NSLog(@"BOY SUCCES");
                  
                      } else {
                          NSLog(@" NO BOY SUCCESS %@",task.error);
                      }
                      return nil;
                  }];
                  

                  在互聯(lián)網(wǎng)上到處搜索,但看不到使用 iOS Objective C(或 swift)的批處理請(qǐng)求的工作示例.

                  Searched the internet high and low but cannot see a working example of a batch request using iOS Objective C (or swift for that matter).

                  我在單個(gè) Get 請(qǐng)求中測(cè)試了這兩個(gè)變量,它們都可以工作.

                  I have tested both variables on a single Get request and they both work.

                  推薦答案

                  您忘記在 AWSDynamoDBKeysAndAttributes 中環(huán)繞 AWSDynamoDBAttributeValue.這是一個(gè)來(lái)自 AWSDynamoDBTests.m:

                  You forgot to wrap around AWSDynamoDBAttributeValue in AWSDynamoDBKeysAndAttributes. Here is a simple example from AWSDynamoDBTests.m:

                  AWSDynamoDBKeysAndAttributes *keysAndAttributes = [AWSDynamoDBKeysAndAttributes new];
                  keysAndAttributes.keys = @[@{@"hashKey" : attributeValue1},
                                             @{@"hashKey" : attributeValue2}];
                  keysAndAttributes.consistentRead = @YES;
                  
                  AWSDynamoDBBatchGetItemInput *batchGetItemInput = [AWSDynamoDBBatchGetItemInput new];
                  batchGetItemInput.requestItems = @{table1Name: keysAndAttributes};
                  

                  這篇關(guān)于AWS DynamoDB 批量獲取請(qǐng)求 - iOS的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  CLLocation returning negative speed(CLLocation 返回負(fù)速度)
                  Locations in Core Data sorted by distance via NSFetchedResultsController?(通過(guò) NSFetchedResultsController 按距離排序的核心數(shù)據(jù)中的位置?)
                  Swift: Geofencing / geolocations near user location(Swift:用戶位置附近的地理圍欄/地理位置)
                  How to get Location (latitude amp; longitude value) in variable on iOS?(如何在 iOS 上的變量中獲取位置(緯度和經(jīng)度值)?)
                  How to track the device location (iOS and Android) device using Phonegap(如何使用 Phonegap 跟蹤設(shè)備位置(iOS 和 Android)設(shè)備)
                  Easiest way of getting reverse geocoded current location from iOS(從 iOS 獲取反向地理編碼當(dāng)前位置的最簡(jiǎn)單方法)

                      <legend id='UuC56'><style id='UuC56'><dir id='UuC56'><q id='UuC56'></q></dir></style></legend>

                        <tbody id='UuC56'></tbody>
                      1. <tfoot id='UuC56'></tfoot>
                          <bdo id='UuC56'></bdo><ul id='UuC56'></ul>
                          <i id='UuC56'><tr id='UuC56'><dt id='UuC56'><q id='UuC56'><span id='UuC56'><b id='UuC56'><form id='UuC56'><ins id='UuC56'></ins><ul id='UuC56'></ul><sub id='UuC56'></sub></form><legend id='UuC56'></legend><bdo id='UuC56'><pre id='UuC56'><center id='UuC56'></center></pre></bdo></b><th id='UuC56'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='UuC56'><tfoot id='UuC56'></tfoot><dl id='UuC56'><fieldset id='UuC56'></fieldset></dl></div>

                            <small id='UuC56'></small><noframes id='UuC56'>

                            主站蜘蛛池模板: 日本不卡一区 | 欧美精品一区二区三区在线 | 日韩福利 | 久久亚洲国产 | 麻豆久久久久久久久久 | 国产传媒在线播放 | 国产九九九 | a级在线 | 黄色国产在线播放 | 美女视频h | 欧美日韩在线视频一区 | 国产美女视频 | 密室大逃脱第六季大神版在线观看 | 偷拍自拍网 | 四虎影院一区二区 | 欧美国产精品 | 亚洲精品久久久一区二区三区 | 亚洲视频二区 | 九九九久久国产免费 | 久久精品国产一区二区 | h视频在线播放 | 二区av | 国产一区二区三区视频 | 国产精品视屏 | 日韩在线看片 | 亚洲国产成人精品一区二区 | 黄色国产| 国产精品毛片 | 久久亚洲精品国产精品紫薇 | 欧美中文一区 | 亚洲色综合 | 1000部精品久久久久久久久 | 91国在线 | 国产精品日韩欧美一区二区 | 一级黄色片在线免费观看 | 中文字幕一二三区 | 精品欧美一区二区中文字幕视频 | 久久久久一区二区三区 | 久久99精品国产自在现线小黄鸭 | 美女高潮网站 | 一级毛片视频 |