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.3k
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
1.8k
Expoで開発してアプリを公開して得られた知見 / RNM6
pchw
3
1.6k
Firebaseでラクラクリアルタイムアプリ
pchw
0
1.2k
月刊ライトニングトーク2014年8月号: MEAN 祭り資料
pchw
0
4.3k
Synth - 東京Node学園2014
pchw
0
4.2k
RubyMotion 1.15で追加されたtest周りの話
pchw
1
3k
Other Decks in Technology
See All in Technology
JAWS-UG Bedrock Claude Night
yamahiro
3
610
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
260
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.3k
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
250
プラットフォームってつくることより計測することが重要なんじゃないかという話 / Platform Engineering Meetup #8
taishin
1
370
VS CodeでAWSを操作しよう
smt7174
8
1.7k
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
160
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
3
870
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
560
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
360
本当のAWS基礎
toru_kubota
0
530
地理空間データ可視化・解析・活用ソリューション Pacific Spatial Solutions (PSS)
pacificspatialsolutions
0
290
Featured
See All Featured
Producing Creativity
orderedlist
PRO
337
39k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Making Projects Easy
brettharned
108
5.5k
Designing the Hi-DPI Web
ddemaree
276
33k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Ruby is Unlike a Banana
tanoku
96
10k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
Thoughts on Productivity
jonyablonski
58
3.8k
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%#ͷษڧ
܅Կʹ͏ʁ