gonzodb

command module
v0.0.0-...-3d3a7e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Build Status

gonzodb

An in-memory data store that speaks enough mongodb protocol to use in place of a live mongodb in your tests.

Planned Features

  • Designed for testing applications that are hard-coded against the mgo driver.
  • Implements enough of a subset of the mongodb protocol to fool mgo for most purposes.
  • Easy to set up and tear down in unit tests.
  • Can easily introspect or dump on contents after a test is run.

Status

DONE

  • Can connect with mongo command line client, mgo driver.
  • mgo-based test cases.
  • Simple-case CRUD is working for query, insert, update, delete.
  • Some database and admin commands are supported.

TODO

  • More complete coverage of query operators (comparison, other matching)
  • Sub-document selector matching, modification
  • findAndModify

BACKLOG

  • Cursors
  • Auth commands
  • TLS
  • Indexes
  • Capped collections
  • Backend refactoring
  • Moar backends (PostgreSQL JSONB, Cassandra, Riak, etc.)

Resources

Other in-memory MongoDB protocol servers:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
This is just a prototype.
This is just a prototype.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址