-
Notifications
You must be signed in to change notification settings - Fork 111
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: docs for PreparedStatement
#986
prepared: docs for PreparedStatement
#986
Conversation
|
4798ca3
to
89fcb27
Compare
PreparedStatement
89fcb27
to
08baf66
Compare
docs/source/index.md
Outdated
@@ -15,7 +15,7 @@ Although optimized for Scylla, the driver is also compatible with [Apache Cassan | |||
* [Quick start](quickstart/quickstart.md) - Setting up a Rust project using `scylla-rust-driver` and running a few queries | |||
* [Migration guides](migration-guides/migration-guides.md) - How to update the code that used an older version of this driver | |||
* [Connecting to the cluster](connecting/connecting.md) - Configuring a connection to scylla cluster | |||
* [Making queries](queries/queries.md) - Making different types of queries (simple, prepared, batch, paged) | |||
* [Making queries](queries/queries.md) - Making different types of queries (unprepared, prepared, batch, paged) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's ditch the notion of query from the driver and use statement exclusively. Here, I would replace making queries with creating and executing statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would require a change in naming (replacing Query
with UnpreparedStatement
), otherwise you would have a Query
type but not of the docs would mention queries. What do yuo think about splitting in in 2 PRs - in this one let's improve prepared statement docs, and in the next one let's replace Query with UnpreparedStatement (and fix docs), which would fix #713
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me, I can take care of that.
08baf66
to
0530445
Compare
v2: addressed review comments:
|
0530445
to
10556e3
Compare
In response to #970 (comment).
Added docstring for
PreparedStatement
, which mentions:Pre-review checklist
./docs/source/
.Fixes:
annotations to PR description.