Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
DynamoDBでQuery
Search
jacoyutorius
February 22, 2020
Technology
0
210
DynamoDBでQuery
Hamamatsu.js #8のLT資料です
jacoyutorius
February 22, 2020
Tweet
Share
More Decks by jacoyutorius
See All by jacoyutorius
オープンデータとAWSで作っている 浜松市イベントカレンダー
jacoyutorius
0
230
浜松市オープンデータを使ってイベントカレンダーアプリを作りました
jacoyutorius
0
68
Amplifyアプリを 任意のタイミングでデプロイするぞ!
jacoyutorius
1
350
AWS Amplify で翻訳アプリを作った話とAmplifyからカジュアルにCloudWatchLogsにログを送る方法について
jacoyutorius
1
1.2k
AWS App Runner + copilot cli
jacoyutorius
1
1.1k
AWS App Runner + Copilot CLI
jacoyutorius
0
51
covid19対策サイトを通してコミュニティとシビックテックのあり方について思うこと
jacoyutorius
0
350
Getting Started Amazon Location Service with Vue.js
jacoyutorius
0
120
ゾンビ化した Webサービスを 生き返らせる
jacoyutorius
0
340
Other Decks in Technology
See All in Technology
RAG: from dumb implementation to serious results
glaforge
0
150
Product Utilization of Large Language Models Starting Today
ymatsuwitter
3
1.4k
O'Reilly Superstream: Building a RAG App to Chat with Your Data
pamelafox
0
120
ガバメントクラウド開発と変化と成長する組織 / Organizational change and growth in developing a government cloud
kazeburo
4
920
From naive to advanced RAG: the complete guide
glaforge
0
150
LINEヤフー新卒採用 コーディングテスト解説 実装問題編
lycorp_recruit_jp
1
13k
Case Study: Concurrent Counting
ennael
PRO
0
120
I tried the newly introduced certification "Applied Skills" on Microsoft Learn
mappie_kochi
0
230
OPENLOGI Company Profile
hr01
0
54k
tenntennはなんでnewmoにnew社したの? - YAPC::Hakodate 2024
tenntenn
PRO
0
290
入門 バックアップ
ryuichi1208
18
7k
トークナイザー入門
payanotty
2
990
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
131
8.9k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
We Have a Design System, Now What?
morganepeng
49
7.2k
Building Adaptive Systems
keathley
38
2.2k
Into the Great Unknown - MozCon
thekraken
31
1.4k
A better future with KSS
kneath
237
17k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[RailsConf 2023] Rails as a piece of cake
palkan
49
4.7k
Designing for humans not robots
tammielis
249
25k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.5k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.9k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Transcript
"NB[PO%ZOBNP%#Ͱݕࡧ͢Δ !KBDPZVUPSJVT )BNBNBUTVKT
খ༔ే !KBDPZVUPSJVT ‣ ΤΞʔζגࣜձࣾ ‣ +"846()BNBNBUTVSC ‣ 3VCZ3VCZPO3BJMT+BWBTDSJQU"84 ࠷ۙࣗ࡞ΩʔϘʔυͱΧϨʔ࡞ΓʹϋϚ͍ͬͯΔ
None
None
+4ύΠϓ໓ଟʹΘͳ͍͔ΒେৎͩΖଟ
"NB[PO%ZOBNP%# ‣ ϑϧϚωʔδυͳ/P42-σʔλϕʔε ‣ ߴՄ༻ੑ ͭͷ";ͷϨϓϦέʔγϣϯ ‣ ΩʔόϦϡʔετΞ ‣
εΩʔϚϨε ‣ ΩϟύγςΟϢχοτ ‣ ಡΈॻ͖ੑೳΛܾఆ͢Δύϥϝʔλ ‣ lΦϯσϚϯυzͱ͍͏Φϓγϣϯ͋Δɻ"NQMJGZΛ௨ͯ͠%ZOBNP%#ͷςʔϒϧ Λ࡞ͬͨ߹ɺσϑΥϧτͰͪ͜ΒͷΦϓγϣϯ͕༗ޮʹͳΔ
%ZOBNP%#ͷݕࡧ ‣ RVFSZ ‣ TDBO ςʔϒϧશମΛεΩϟϯͯ݅͠ʹ߹க͢ΔͷΛฦ͢ ύʔςΟγϣϯΩʔιʔτΩʔΛࢦఆͯ݅͠ʹ߹க͢Δͷ Λநग़͢Δ ॊೈͳݕࡧ͕ՄೳͳҰํɺ%#ͷෛՙ͕ߴ͘ύϑΥʔϚϯεྑ͘ͳ͍
Γ͔ͨͬͨ͜ͱ ‣ %ZOBNP%#Ͱݕࡧ ‣ ύʔςΟγϣϯΩʔ ιʔτΩʔΛ͏
͍ͬͯͳ͍͜ͱ ‣ ΩϟύγςΟϢχοτͷࢼࢉ ‣ ྉۚ
EPDLFSDPNQPTFZNM
‣ %ZOBNP%#"ENJO ‣ IUUQMPDBMIPTU ‣ EBUBCBTFFOEQPJOU ‣ IUUQMPDBMIPTU %ZOBNP%#ΛϩʔΧϧͰىಈ
None
ॅॴ$% ಓݝ$% ࢢ۠ொଜ$% ொҬ$% ༣ศ൪߸ ࣄۀॴϑϥά ഇࢭϑϥά ಓݝ ಓݝΧφ ࢢ۠ொଜ
ࢢ۠ொଜΧφ ੩Ԭݝ γζΦΧέϯ দࢢத۠ ϋϚϚπγφ ΧΫ ੩Ԭݝ γζΦΧέϯ দࢢத۠ ϋϚϚπγφ ΧΫ ொҬ ொҬΧφ ொҬิ ژ௨Γ໊ ࣈஸ ࣈஸΧφ ิ ࣄۀॴ໊ ࣄۀॴ໊Χ φ ࣄۀॴॅॴ ৽ॅॴ$% ொ ΧδϚν יߐ ΧϞΤ দࢢอ݈ॴ ϋϚϚπγϗ έϯδϤ יߐ̎ஸ̍ ̍̎ ॅॴKQ IUUQKVTZPKQ
1,Ͱݕࡧ͢Δ ॅॴ$% ॅॴ ॅॴΧφ ੩Ԭݝদࢢத۠יߐொ γζΦΧέϯϋϚϚπγφΧΫΧϞΤνϣ ੩Ԭݝদࢢத۠יߐொத෦ిྗɹʢגʣɹদӦۀॴיߐொ̎ ̎̍
γζΦΧέϯϋϚϚπγφΧΫΧϞΤνϣνϢϒσϯϦϤΫɹʢΧϒʣɹ ϋϚϚπΤΠΪϤγϤ
ύʔςΟγϣϯΩʔࢦఆʹΑΔݕࡧ݁Ռ
ύʔςΟγϣϯΩʔࢦఆʹΑΔݕࡧ݁Ռ
1,4,Ͱݕࡧ͢Δ
https:/ /docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/ LegacyConditionalParameters.KeyConditions.html “ςʔϒϧʹର͢ΔΫΤϦͷ߹ɺςʔϒϧͷϓϥΠϚϦΩʔଐੑͷΈ ͷ݅Λ࣋ͭ͜ͱ͕Ͱ͖·͢ɻEQ ݅ͱͯ͠ύʔςΟγϣϯΩʔͷ໊ લͱΛఏڙ͢Δඞཁ͕͋Γ·͢ɻ ΦϓγϣϯͰɺιʔτΩʔΛࢀর͢Δ 2 ൪ͷ݅ΛࢦఆͰ͖·͢ɻ”
RVFSZͷ੍ݶ
https:/ /docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/ LegacyConditionalParameters.KeyConditions.html KeyConditions ͷ߹ɺ࣍ͷൺֱԋࢉࢠͷΈ͕αϙʔτ͞Ε͍ͯ·͢ɻ EQ | LE | LT
| GE | GT | BEGINS_WITH | BETWEEN RVFSZͷ੍ݶ
IUUQTEPDTBXTBNB[PODPNKB@KQBNB[POEZOBNPECMBUFTUEFWFMPQFSHVJEF)PX*U8PSLT1BSUJUJPOTIUNM
ࢁསݝ ੩Ԭݝ Ѫݝ ʜ ੩ԬࢢѮ۠ ੩Ԭࢢਗ਼ਫ۠ ʜ দࢢத۠ দࢢ۠ ʜ
ொ ࠠொ ʜ יߐ ݩொ ʜ FY TFMFDUCPYͰυϦϧμϯ͢ΔΑ͏ͳ6*
(4* ‣ ςʔϒϧ࡞࣌ʹࢦఆ͢Δ1,4,ͱผʹఆٛͰ͖ΔΠϯσοΫε ‣ Ұͭͷςʔϒϧʹ͖ͭɺ࠷େͭͷ(4*͕ొՄೳ ‣ (4*͝ͱʹΩϟύγςΟϢχοτͷઃఆ͕ඞཁ ‣ (4*ςʔϒϧͷࣹӨɻϨίʔυͷొޙʹ(4*ݕࡧΛ͔͚͙ͯ͢ʹ ө͞Ε͍ͯͳ͍߹͕͋Δ
άϩʔόϧηΧϯμϦΠϯσοΫε
ॅॴ$% ಓݝ $% ࢢ۠ொଜ $% ொҬ$% ༣ศ൪߸ ࣄۀॴϑϥ ά ഇࢭϑϥά
ಓݝ ಓݝΧ φ ࢢ۠ொଜ ࢢ۠ொଜΧ φ ொҬ ொҬΧφ ੩Ԭݝ γζΦΧέ ϯ দࢢத۠ ϋϚϚπγ φΧΫ יߐ ΧϞΤ DBUFHPSZ WBMVF DJUZ দࢢத۠ DBUFHPSZ WBMVF QSFGFDUVSF ੩Ԭݝ DBUFHPSZ WBMVF UPXO יߐ
ॅॴ$% DBUFHPSZ DBUFHPSZ@WBMVF ಓݝ ࢢ۠ொଜ ொҬ QSFGFDUVSF ੩Ԭݝ ੩Ԭݝ
DJUZ ੩Ԭݝদࢢத۠ দࢢத۠ UPXO ੩Ԭݝদࢢத۠יߐ יߐ 1, 4, ॅॴ$% ಓݝ $% ࢢ۠ொଜ $% ொҬ$% ༣ศ൪߸ ࣄۀॴϑϥ ά ഇࢭϑϥά ಓݝ ಓݝΧ φ ࢢ۠ொଜ ࢢ۠ொଜΧ φ ொҬ ொҬΧφ ੩Ԭݝ γζΦΧέ ϯ দࢢத۠ ϋϚϚπγ φΧΫ יߐ ΧϞΤ
ॅॴ$% DBUFHPSZ DBUFHPSZ@WBMVF ಓݝ ࢢ۠ொଜ ொҬ QSFGFDUVSF ੩Ԭݝ ੩Ԭݝ
DJUZ ੩Ԭݝদࢢத۠ দࢢத۠ UPXO ੩Ԭݝদࢢத۠יߐ יߐ 1, 4, 1, 4, ॅॴ$% DBUFHPSZ DBUFHPSZ@WBMVF ಓݝ ࢢ۠ொଜ ொҬ QSFGFDUVSF ੩Ԭݝ ੩Ԭݝ DJUZ ੩Ԭݝদࢢத۠ দࢢத۠ UPXO ੩Ԭݝদࢢத۠יߐ יߐ (4*
(4*ύʔςΟγϣϯΩʔࢦఆʹΑΔݕࡧ݁Ռ
(4*ύʔςΟγϣϯΩʔιʔτΩʔࢦఆʹΑΔ લํҰகݕࡧ݁Ռ
(4*ύʔςΟγϣϯΩʔιʔτΩʔࢦఆʹΑΔݕࡧ݁Ռ
ࢁསݝ ੩Ԭݝ Ѫݝ ʜ ੩ԬࢢѮ۠ ੩Ԭࢢਗ਼ਫ۠ ʜ দࢢத۠ দࢢ۠ ʜ
ொ ࠠொ ʜ יߐ ݩொ ʜ FY TFMFDUCPYͰυϦϧμϯ͢ΔΑ͏ͳ6*
%ZOBNP%#σʔλϞσϦϯάދͷר IUUQNBSDZIBUFOBCMPHDPNFOUSZ ͷ΅Γʔ͞ΜͷΫϥυΠϯϑϥ1PEDBTUʰ5SBDLরҪ͞Μͷ 4FSWFSMFTTΞʔΩςΫτࢦೆͱɺ1BUSFPOొͷ͓ΒͤʱͷϝϞ IUUQTDMPVEJOGSBBVEJPUSBDLEGFD %ZOBNP%#Λ༻ͨ͠ઃܭͱΞʔΩςΫνϟͷઃܭʹؔ͢ΔϕετϓϥΫςΟε IUUQTEPDTBXTBNB[PODPNKB@KQBNB[POEZOBNPECMBUFTUEFWFMPQFSHVJEFCFTU QSBDUJDFTIUNM
None
None
None
"84&YQFSU0OMJOF+"846(দ"84ษڧձ IUUQTKBXTVHIBNBNBUTVEPPSLFFQFSKQFWFOUT +"846(দ"84ษڧձ IUUQTKBXTVHIBNBNBUTVEPPSLFFQFSKQFWFOUT +"84%":4 IUUQTKBXTEBZTKBXTVHKQ