Skip to content

Querying _User via MongoDB directly.  #890

@jiewmeng

Description

@jiewmeng

It seems like in Mongo, when I do:

> show collections;
_PushStatus
_Role
_SCHEMA
_Session
_User
...

I can see a bunch of collections. I seem to be able to query custom classes/collections fine, but when I try to query those _ classes, I get

> db._User.find().pretty()
2016-03-07T23:00:57.303+0800 E QUERY    [thread1] TypeError: db._User is undefined :
@(shell):1:1

Why is this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions