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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
pochi
February 03, 2016
Technology
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MongoDB族のための組み込み軽量DB NeDB
pochi
February 03, 2016
More Decks by pochi
See All by pochi
React Nativeで作ったアプリでRedux-Sagaを使ったので,その話 / TOM Internal Developer Session #7
pchw
0
2.2k
Expoで開発してアプリを公開して得られた知見 / RNM6
pchw
3
1.9k
Firebaseでラクラクリアルタイムアプリ
pchw
0
1.5k
月刊ライトニングトーク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
脱SaaS!FDEを支えるプロビジョニングと分離設計
knih
0
310
『AIに負けない』より『AIと遊ぶ』」〜ワクワクが最強のテスト・QA学習戦略_公開用
odan611
1
110
AIエージェントとPhysical AIが拓く製造業の変革(ハノーバーメッセリキャップ)
iotcomjpadmin
0
170
作る力から、見極める力へ — AI時代に広がるエンジニアの価値と役割
rince
0
370
Fabricをフル活用する AI Agent Hub -製造業特化AIエージェントの設計
iotcomjpadmin
0
160
AWS Security Hub CSPMの成功・失敗体験
cmusudakeisuke
0
590
テスト設計の本質を改めて考えてみる~生成AIを活用する時代だからこそ、作ったテストの説明性を高めよう~
yamasaki696
1
160
AIをフル活用してオンコール機能のプロトタイプを2日で作った話 / Building an AI-Powered On-Call Prototype in Just Two Days
nari_ex
0
150
次世代ランサムウェア対策の考察 / 20260704 Mitsutoshi Matsuo
shift_evolve
PRO
2
370
10年間のブログ発信を振り返って見えたWebアプリケーションエンジニアとしての軌跡
stefafafan
0
190
秘密度ラベル初心者が第1歩でつまづかないための「設計・運用」ポイント
seafay
PRO
1
520
なぜ人は自分のプロジェクトを 「なんちゃってアジャイル」と 自嘲するのか
kozotaira
0
170
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
250
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
170
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
55k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Prompt Engineering for Job Search
mfonobong
0
350
Paper Plane
katiecoart
PRO
1
52k
Unsuck your backbone
ammeep
672
58k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
260
GitHub's CSS Performance
jonrohan
1033
470k
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%#ͷษڧ
܅Կʹ͏ʁ