久久久久久久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 批量獲取請求 - iOS

        AWS DynamoDB Batch Get Request - iOS(AWS DynamoDB 批量獲取請求 - 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 批量獲取請求 - iOS的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我可以對 AWS dynamoDB 中的單個表執行簡單的 Get 請求,但是當我將其擴展為跨多個表的批處理請求時,我繼續收到錯誤

                  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
                  

                  我理解這是因為值沒有正確傳遞,但我看不出我的代碼有什么問題

                  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;
                  }];
                  

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

                  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).

                  我在單個 Get 請求中測試了這兩個變量,它們都可以工作.

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

                  推薦答案

                  您忘記在 AWSDynamoDBKeysAndAttributes 中環繞 AWSDynamoDBAttributeValue.這是一個來自 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};
                  

                  這篇關于AWS DynamoDB 批量獲取請求 - iOS的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

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

                      <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'>

                            主站蜘蛛池模板: 久久久久毛片 | 亚洲精品久久久久久久久久久 | 亚洲免费在线观看 | 在线观看的av网站 | 精品一区二区三区免费 | 日本在线看 | 激情四射网站 | 免费三片在线观看网站v888 | 日韩欧美一级 | 日韩视频中文字幕 | 国产黄a三级三级三级看三级男男 | 国产精品手机在线 | www.国产精品.com | a级片免费在线观看 | 国产黄色录像 | 久久91精品 | 午夜成人在线视频 | 一区二区国产精品 | 中文字幕欧美激情 | 亚洲国产二区 | 黄色免费一级片 | 91精品国产色综合久久不卡98 | 黄色小视频免费看 | 国产视频一区在线播放 | www.午夜| 国产精品成人免费一区久久羞羞 | 9999精品视频 | 黄视频网站在线观看 | 男人的天堂亚洲 | 日韩av在线影院 | www.久久久久久 | 国内精品视频 | 免费看黄色大片 | 成人免费毛片嘿嘿连载视频 | 国产精品一二三 | 曰韩av| 亚洲自拍偷拍视频 | 日韩一级大片 | 亚洲精品影视 | 巨骚综合 | 日韩欧美在线观看视频 |