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.5k
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.2k
Expoで開発してアプリを公開して得られた知見 / RNM6
pchw
3
1.9k
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
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
180
問い合わせ自動化の技術的挑戦
recruitengineers
PRO
2
160
大規模サービスにおける レガシーコードからReactへの移行
magicpod
1
150
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
1.6k
ブラックボックス観測に基づくAI支援のプロトコルのリバースエンジニアリングと再現~AIを用いたリバースエンジニアリング~ @ SECCON 14 電脳会議 / Reverse Engineering and Reproduction of an AI-Assisted Protocol Based on Black-Box Observation @ SECCON 14 DENNO-KAIGI
chibiegg
0
150
Windows ネットワークを再確認する
murachiakira
PRO
0
290
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
4
970
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
0
270
Datadog Cloud Cost Management で実現するFinOps
taiponrock
PRO
0
150
型を書かないRuby開発への挑戦
riseshia
0
190
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
380
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
Darren the Foodie - Storyboard
khoart
PRO
3
2.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
280
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
150
Typedesign – Prime Four
hannesfritz
42
3k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
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%#ͷษڧ
܅Կʹ͏ʁ