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

                            主站蜘蛛池模板: 伊人久久精品一区二区三区 | 午夜在线免费观看 | 精品乱人伦一区二区三区 | 日韩亚洲欧美综合 | 精品久久久久久18免费网站 | 亚洲国产精品久久 | 亚洲精品av在线 | 91av在线影院| 日韩成人av在线播放 | 欧美电影一区 | 国产精品成人国产乱一区 | 精品1区2区3区4区 | 亚洲xxxxx| 成人av片在线观看 | 亚洲国产成人av好男人在线观看 | 天天干天天干 | 精品国产乱码久久久久久蜜退臀 | 色综合天天天天做夜夜夜夜做 | 国产视频久 | 免费看国产片在线观看 | 亚洲欧美一区二区三区1000 | 日本一区二区视频 | 中文字幕精品一区二区三区精品 | 一级片在线观看 | 嫩草国产 | 国产一区二区三区四区 | 日韩中文在线观看 | 999久久久国产精品 欧美成人h版在线观看 | 国产成人91视频 | 欧美v日韩| 精品久久精品 | 四虎最新地址 | 欧美一级欧美三级在线观看 | 最近最新中文字幕 | 国产精品91久久久久久 | 97久久精品午夜一区二区 | 一区二区视频 | 日本成年免费网站 | 欧美激情 一区 | av在线三级| 国产精品久久久久久高潮 |