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
MongoDB族のための組み込み軽量DB NeDB
Search
pochi
February 03, 2016
Technology
0
1.4k
MongoDB族のための組み込み軽量DB NeDB
pochi
February 03, 2016
Tweet
Share
More Decks by pochi
See All by pochi
React Nativeで作ったアプリでRedux-Sagaを使ったので,その話 / TOM Internal Developer Session #7
pchw
0
2.1k
Expoで開発してアプリを公開して得られた知見 / RNM6
pchw
3
1.8k
Firebaseでラクラクリアルタイムアプリ
pchw
0
1.4k
月刊ライトニングトーク2014年8月号: MEAN 祭り資料
pchw
0
4.3k
Synth - 東京Node学園2014
pchw
0
4.4k
RubyMotion 1.15で追加されたtest周りの話
pchw
1
3.2k
Other Decks in Technology
See All in Technology
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
420
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
450
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
220
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
400
Agile PBL at New Grads Trainings
kawaguti
PRO
1
410
roppongirb_20250911
igaiga
1
210
2025年夏 コーディングエージェントを統べる者
nwiizo
0
140
バッチ処理で悩むバックエンドエンジニアに捧げるAWS Glue入門
diggymo
3
200
ガチな登山用デバイスからこんにちは
halka
1
240
CDK CLIで使ってたあの機能、CDK Toolkit Libraryではどうやるの?
smt7174
4
140
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.2k
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
200
Featured
See All Featured
A better future with KSS
kneath
239
17k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Writing Fast Ruby
sferik
628
62k
Transcript
.POHP%#ͷͨΊͷ ΈࠐΈܰྔ%# /F%# !QDIX
None
None
None
/F%#
/F%# HJUIVCDPNMPVJTDIBUSJPUOFEC &NCFEEFEQFSTJTUFOUPSJONFNPSZEBUBCBTF GPS/PEFKT OXKT &MFDUSPOBOECSPXTFST +BWB4DSJQU OPCJOBSZEFQFOEFODZ *UJTBTVCTFUPG.POHP%#T"1*
UIFNPTU VTFEPQFSBUJPOT
$ npm install nedb --save
Nedb = require 'nedb' db = new Nedb filename: './sample.db'
autoload: true db.insert username: ‘hoge’ , (e,d)-> console.error e if e
$ more sample.db { “username":"hoge", “_id":"Jsl0xWxa381Rbf78" }
'VODUJPOT pOEpOE0OFDPVOUJOTFSUVQEBUFSFNPWF NBUDIPQFSBUPSTQSPKFDUJPOTPSUMJNJUTLJQ JOEFYFTTVCEPDVNFOU
%JGGFSFODF /PTDIFNB /P"HHSFHBUJPO $BOOPUOFX%PDVNFOU IBWFUPVTFJOTFSUVQEBUF TBWFVOEFpOFEQSPQFSUZOPDIBOHFT
.VMUJQMF$PMMFDUJPO db = channels: new Nedb filename: "#{__dirname}/channels.db" autoload: true
accounts: new Nedb filename: "#{__dirname}/accounts.db" autoload: true db.channels.find {}, (e, docs)->
͜͏͍͏͜ͱʹ͑Δʁ
ςετ༻μϛʔ%#
.POHP%#ͷษڧ
܅Կʹ͏ʁ