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
sequelize.pdf
Search
Kazunori-Kimura
June 11, 2018
Technology
0
580
sequelize.pdf
sequelize と sequelize-autoの紹介
Kazunori-Kimura
June 11, 2018
Tweet
Share
More Decks by Kazunori-Kimura
See All by Kazunori-Kimura
path-parser
kazunorikimura
0
380
objectのcloneを行う/How to clone of the object in js
kazunorikimura
0
400
クライアントサイドで大きなデータを扱うときのお話/Web Worker & IndexedDB
kazunorikimura
0
660
How freelance programmer works
kazunorikimura
0
120
moment.js
kazunorikimura
0
91
Toward the world of "ready player one"
kazunorikimura
0
87
npmの便利なパッケージ: forever, winser
kazunorikimura
0
990
npmの便利なパッケージ: Jest
kazunorikimura
0
130
Bootstrap4のカスタマイズ
kazunorikimura
0
220
Other Decks in Technology
See All in Technology
GitHub Copilot の概要
tomokusaba
1
150
Github Copilot エージェントモードで試してみた
ochtum
0
140
OpenHands🤲にContributeしてみた
kotauchisunsun
1
500
5min GuardDuty Extended Threat Detection EKS
takakuni
0
180
Liquid Glass革新とSwiftUI/UIKit進化
fumiyasac0921
0
300
Witchcraft for Memory
pocke
1
670
生成AI時代 文字コードを学ぶ意義を見出せるか?
hrsued
1
750
さくらのIaaS基盤のモニタリングとOpenTelemetry/OSC Hokkaido 2025
fujiwara3
2
280
Core Audio tapを使ったリアルタイム音声処理のお話
yuta0306
0
160
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
310
Flutter向けPDFビューア、pdfrxのpdfium WASM対応について
espresso3389
0
110
Geminiとv0による高速プロトタイピング
shinya337
0
200
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Being A Developer After 40
akosma
90
590k
It's Worth the Effort
3n
185
28k
Building Adaptive Systems
keathley
43
2.6k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Producing Creativity
orderedlist
PRO
346
40k
GraphQLとの向き合い方2022年版
quramy
49
14k
KATA
mclloyd
30
14k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
240
Transcript
OQNͷศརͳύοέʔδ 4FRVFMJ[F TFRVFMJ[FBVUP ଜݑن
4FRVFMJ[F 03Ϛούʔ w 1PTUHSF42- w .Z42- w 42-JUF w .442-4FSWFS
IUUQEPDTTFRVFMJ[FKTDPN
αϯϓϧίʔυ const User = sequelize.define('user', { username: Sequelize.STRING, birthday: Sequelize.DATE
}); sequelize.sync() .then(() => User.create({ username: 'janedoe', birthday: new Date(1980, 6, 20) })) .then(jane => { console.log(jane.toJSON()); });
αϯϓϧίʔυ const User = sequelize.define('user', { username: Sequelize.STRING, birthday: Sequelize.DATE
}); sequelize.sync() .then(() => User.create({ username: 'janedoe', birthday: new Date(1980, 6, 20) })) .then(jane => { console.log(jane.toJSON()); }); Ϟσϧఆٛ
αϯϓϧίʔυ const User = sequelize.define('user', { username: Sequelize.STRING, birthday: Sequelize.DATE
}); sequelize.sync() .then(() => User.create({ username: 'janedoe', birthday: new Date(1980, 6, 20) })) .then(jane => { console.log(jane.toJSON()); }); ςʔϒϧ࡞
αϯϓϧίʔυ const User = sequelize.define('user', { username: Sequelize.STRING, birthday: Sequelize.DATE
}); sequelize.sync() .then(() => User.create({ username: 'janedoe', birthday: new Date(1980, 6, 20) })) .then(jane => { console.log(jane.toJSON()); }); Promiseϕʔε
αϯϓϧίʔυ const User = sequelize.define('user', { username: Sequelize.STRING, birthday: Sequelize.DATE
}); sequelize.sync() .then(() => User.create({ username: 'janedoe', birthday: new Date(1980, 6, 20) })) .then(jane => { console.log(jane.toJSON()); }); INSERTॲཧ
αϯϓϧίʔυ const User = sequelize.define('user', { username: Sequelize.STRING, birthday: Sequelize.DATE
}); await sequelize.sync(); const jane = await User.create({ username: 'janedoe', birthday: new Date(1980, 6, 20) }); console.log(jane.toJSON());
ίʔυϑΝʔετ ίʔυ͔Βςʔϒϧͷ࡞͕Մೳ 42-Λॻ͘ඞཁ͕ͳ͍
ίʔυϑΝʔετ ίʔυ͔Βςʔϒϧͷ࡞͕Մೳ 42-Λॻ͘ඞཁ͕ͳ͍ Ϟσϧఆ͕ٛ݁ߏ໘͍͘͞ ςʔϒϧ͕ଟ͋ͬͨ߹ʹख͕͔͔ؒΔ
TFRVFMJ[FBVUP "VUPNBUJDBMMZHFOFSBUFCBSFTFRVFMJ[F NPEFMTGSPNZPVSEBUBCBTF IUUQTHJUIVCDPNTFRVFMJ[FTFRVFMJ[F BVUP
%FNP TFRVFMJ[FBVUPΛ༻ͯ͠MPDBMIPTUͷTBNQMF σʔλϕʔε .Z42- ͔ΒϞσϧΛੜ ςʔϒϧ
None
·ͱΊ 4FRVFMJ[F/PEFKTͷ03Ϛούʔ 1SPNJTFϕʔε ͢Ͱʹ%#͕͋ΕTFRVFMJ[FBVUPΛ͏