-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connection.rs: Don't allow queries with values
After serialization refactor it will be impossible to perform unprepared query with values, because serializing values will require knowing column types. In order to make refactor easier and better split responsibility, this commit removes `values` arguments from `Connection` methods, so that it is callers responsibility to prepare the query if necessary.
- Loading branch information
Showing
4 changed files
with
159 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.