Skip to content

Conversation

@Jerry-Carter
Copy link
Contributor

@Jerry-Carter Jerry-Carter commented Aug 19, 2020

Fixes prepare(query:) when used with queries that return no results (like DELETE ...) (#123, fixes #122).

@tanner0101 tanner0101 added bug Something isn't working semver-patch labels Aug 20, 2020
@tanner0101 tanner0101 changed the title Updated prepared query handling to work when no results are returned Fix PreparedQuery force unwrap when no results returned Aug 20, 2020
@tanner0101 tanner0101 changed the title Fix PreparedQuery force unwrap when no results returned Fix PreparedQuery when no data returned Aug 20, 2020
@tanner0101 tanner0101 changed the title Fix PreparedQuery when no data returned Fix prepare(query:) when no data returned Aug 20, 2020
Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

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

Thanks!

@tanner0101 tanner0101 merged commit dddb196 into vapor:master Aug 20, 2020
@tanner0101
Copy link
Member

These changes are now available in 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a prepared statement for a delete generates a fatalError

2 participants