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

Support placeholders ($ or ?) in LIMIT clause #494

Merged
merged 5 commits into from May 25, 2022
Merged

Support placeholders ($ or ?) in LIMIT clause #494

merged 5 commits into from May 25, 2022

Conversation

step-baby
Copy link
Contributor

Copy link
Collaborator

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good -- thank you @step-baby - sorry for the delayed review

@alamb alamb changed the title Bugfix/limit1 Support placeholders ($ or ?) in LIMIT clause May 22, 2022
@coveralls
Copy link

coveralls commented May 22, 2022

Pull Request Test Coverage Report for Build 2367505018

  • 16 of 16 (100.0%) changed or added relevant lines in 1 file are covered.
  • 180 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 89.773%

Files with Coverage Reduction New Missed Lines %
src/ast/mod.rs 180 77.99%
Totals Coverage Status
Change from base Build 2367433069: 0.02%
Covered Lines: 8251
Relevant Lines: 9191

💛 - Coveralls

@alamb
Copy link
Collaborator

alamb commented May 22, 2022

I took the liberty of fixing cargo fmt on this PR. Thanks again @step-baby

@@ -4337,4 +4338,38 @@ mod tests {
parser.prev_token();
});
}

#[test]
fn test_parse_limit() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like these tests 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks

@alamb alamb merged commit 09bdb6b into sqlparser-rs:main May 25, 2022
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.

None yet

3 participants