Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shouldn't MongoQueryFlag's static properties be public? #3

Closed
keyOfVv opened this issue May 20, 2016 · 1 comment
Closed

Shouldn't MongoQueryFlag's static properties be public? #3

keyOfVv opened this issue May 20, 2016 · 1 comment

Comments

@keyOfVv
Copy link
Contributor

keyOfVv commented May 20, 2016

public struct MongoQueryFlag: OptionSetType {
    ...
    static let None             = MongoQueryFlag(MONGOC_QUERY_NONE)
    static let TailableCursor   = MongoQueryFlag(MONGOC_QUERY_TAILABLE_CURSOR)
    static let SlaveOk          = MongoQueryFlag(MONGOC_QUERY_SLAVE_OK)
    static let OpLogReplay      = MongoQueryFlag(MONGOC_QUERY_OPLOG_REPLAY)
    static let NoCursorTimeout  = MongoQueryFlag(MONGOC_QUERY_NO_CURSOR_TIMEOUT)
    static let AwaitData        = MongoQueryFlag(MONGOC_QUERY_AWAIT_DATA)
    static let Exhaust          = MongoQueryFlag(MONGOC_QUERY_EXHAUST)
    static let Partial          = MongoQueryFlag(MONGOC_QUERY_PARTIAL)
}
@kjessup
Copy link
Member

kjessup commented Jun 13, 2016

They should. I have corrected this - thank you!

@kjessup kjessup closed this as completed Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants