Skip to content

Allow collection name mapping #5

@ratson

Description

@ratson

Sometimes, collection name may not be in camelCase, it would be great if a mapping could be provided.
Allow object to be passed, e.g.

var db = mongo('connection-string', {
  collectionA: 'collection_a',
  collectionB: 'collection-b',
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions