Skip to content

Commit

Permalink
CQL Vector type support
Browse files Browse the repository at this point in the history
This commit adds serializing and deserializing rune lists to/from CQL vectors.
  • Loading branch information
pkolaczk committed Jul 22, 2024
1 parent 6dfd2d3 commit 3e75355
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rand = "0.8"
regex = "1.5"
rune = "0.12"
rust-embed = "8"
scylla = { path = "../scylla-rust-driver/scylla", features = ["ssl"] }
scylla = { git = "https://github.com/pkolaczk/scylla-rust-driver.git", branch = "vector", features = ["ssl"] }
search_path = "0.1"
serde = { version = "1.0.116", features = ["derive"] }
serde_json = "1.0.57"
Expand Down
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ mod bind {
.try_collect()?;
Ok(CqlValue::Set(elements))
}
(Value::Vec(v), ColumnType::Vector(elt, dim)) => {
(Value::Vec(v), ColumnType::Vector(elt, _)) => {
let v = v.borrow_ref().unwrap();
let elements = v
.as_ref()
Expand Down

0 comments on commit 3e75355

Please sign in to comment.