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

Add cursor type for more safety. #726

Closed

Conversation

nickmshelley
Copy link
Collaborator

No description provided.

try expandGlob(query.clauses.join.count > 0)(q)
}
continue
fatalError("no such table: \(namespace)")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably be QueryError.noSuchTable?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Sorry I took so long to make this simple change.

@jberkel
Copy link
Collaborator

jberkel commented Sep 25, 2017

I merged this into the release branch, with some additional changes (5a9b583). I'm wondering if RowCursor will be confused with Cursor on statement, maybe a different name would be more appropriate? RowIterator?

@nickmshelley
Copy link
Collaborator Author

Yeah RowIterator sounds fine to me. Thanks for getting it in!

@jberkel jberkel closed this Sep 29, 2017
@jberkel jberkel mentioned this pull request Oct 2, 2017
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

Successfully merging this pull request may close these issues.

2 participants