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
73
Amplifyアプリを 任意のタイミングでデプロイするぞ!
jacoyutorius
1
370
AWS Amplify で翻訳アプリを作った話とAmplifyからカジュアルにCloudWatchLogsにログを送る方法について
jacoyutorius
1
1.2k
AWS App Runner + copilot cli
jacoyutorius
1
1.1k
AWS App Runner + Copilot CLI
jacoyutorius
0
53
covid19対策サイトを通してコミュニティとシビックテックのあり方について思うこと
jacoyutorius
0
360
Getting Started Amazon Location Service with Vue.js
jacoyutorius
0
120
ゾンビ化した Webサービスを 生き返らせる
jacoyutorius
0
340
Other Decks in Technology
See All in Technology
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
Platform Engineering for Software Developers and Architects
syntasso
1
520
Lambdaと地方とコミュニティ
miu_crescent
2
370
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
750
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
110
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Building Your Own Lightsaber
phodgson
103
6.1k
Designing for Performance
lara
604
68k
Navigating Team Friction
lara
183
14k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Documentation Writing (for coders)
carmenintech
65
4.4k
Scaling GitHub
holman
458
140k
Embracing the Ebb and Flow
colly
84
4.5k
A Tale of Four Properties
chriscoyier
156
23k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
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