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

Prepared statements #428

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

Ponewor
Copy link
Contributor

@Ponewor Ponewor commented Apr 4, 2022

Pre-review checklist

Attempts to partially solve: #417
This PR emphasises some points I have made there.

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I added appropriate Fixes: annotations to PR description.

psarna and others added 7 commits April 14, 2022 03:48
It's particularly useful in IntoUserType and FromUserType macros
to be able to express that a column has CQL Time type.
For that we need a wrapper, and a perfect candidate for that
is scylla::frame::value::Time, which is already a thin wrapper over
chrono::Duration. This patch simply implements FromCqlVal for this
struct, which will allow using it for serialization and deserialization.

Fixes scylladb#421
…fo method's consistency argument from Option<Consistency> to Consistency to make use of Query::set_consistency method and simplify the code
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

2 participants