Skip to content

equivalent to findOne() from MongoDB #2

@joaobarcia

Description

@joaobarcia

I haven't been able to find a suitable replaceable for MongoDB's findOne() method. What would be the best approach if I want to do something equivalent to oplayers.findOne({name: 'Maxwell'})?

http://github.com/orientechnologies/orientjs seems to have a similar where() method, but when I try to call it the console tells me that this method is not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions