Skip to content

Caching

kkaefer edited this page Jun 27, 2011 · 3 revisions

Caching

node-sqlite3 has a built-in database object cache to avoid opening the same database multiple times. To use the caching feature, simply use new sqlite3.cached.Database() instead of new sqlite.Database().

Clone this wiki locally