github typicode/lowdb v0.7.0

latest releases: v7.0.1, v7.0.0, v6.1.1...
9 years ago

Features

  • Updated to lodash v3.0.0 (changelog)
  • Better performance

Breaking changes

Because of the way chaining works now in lodash, chain() must be explicitly called. In other cases, simply calling the method returns the value.

Before

var songs = db('songs').push({ title: 'some song' }).value()
db('songs')
  .find({ title: 'low!' })
  .assign({ title: 'hi!'})
  .value()

After

var songs = db('songs').push({ title: 'some song' })
db('songs')
  .chain()
  .find({ title: 'low!' })
  .assign({ title: 'hi!'})
  .value()

Don't miss a new lowdb release

NewReleases is sending notifications on new releases.