Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@calebsander calebsander released this 16 Jun 00:59
· 9 commits to master since this release
  • TCP connection between client and server can now be reused for multiple commands instead of having to create a new connection for each command. This should provide speed improvements and prevent the database from running out of available sockets. The client now requires client.close() to be called once it has finished sending commands.
  • client.list() now resolves to {[name: string]: CollectionType} instead of {collections: {[name: string]: CollectionType}}
  • The CollectionType enum is exported from the client interface