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
600
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
390
objectのcloneを行う/How to clone of the object in js
kazunorikimura
0
400
クライアントサイドで大きなデータを扱うときのお話/Web Worker & IndexedDB
kazunorikimura
0
680
How freelance programmer works
kazunorikimura
0
130
moment.js
kazunorikimura
0
110
Toward the world of "ready player one"
kazunorikimura
0
110
npmの便利なパッケージ: forever, winser
kazunorikimura
0
1k
npmの便利なパッケージ: Jest
kazunorikimura
0
140
Bootstrap4のカスタマイズ
kazunorikimura
0
240
Other Decks in Technology
See All in Technology
2025年のデザインシステムとAI 活用を振り返る
leveragestech
0
450
Agent Skillsがハーネスの垣根を超える日
gotalab555
6
4.7k
Bedrock AgentCore Memoryの新機能 (Episode) を試してみた / try Bedrock AgentCore Memory Episodic functionarity
hoshi7_n
2
2.1k
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
1
200
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
1
250
LayerX QA Night#1
koyaman2
0
280
フィッシュボウルのやり方 / How to do a fishbowl
pauli
2
430
AI との良い付き合い方を僕らは誰も知らない
asei
1
290
コールドスタンバイ構成でCDは可能か
hiramax
0
120
100以上の新規コネクタ提供を可能にしたアーキテクチャ
ooyukioo
0
290
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1.4k
Building Serverless AI Memory with Mastra × AWS
vvatanabe
1
750
Featured
See All Featured
Done Done
chrislema
186
16k
Mobile First: as difficult as doing things right
swwweet
225
10k
Design in an AI World
tapps
0
100
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.8k
What does AI have to do with Human Rights?
axbom
PRO
0
1.9k
Code Reviewing Like a Champion
maltzj
527
40k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
30
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.4k
Chasing Engaging Ingredients in Design
codingconduct
0
89
Unsuck your backbone
ammeep
671
58k
Crafting Experiences
bethany
0
23
Tell your own story through comics
letsgokoyo
0
770
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Λ͏