Replies: 1 comment
-
Native CQL types are primarily used for the migration feature, allowing us to easily generate database schemas from Rust model definitions. While types like Ascii and Text currently map to the same Rust type (String), and BigInt/VarInt to i64, using these aliases makes our intent clear in terms of the underlying CQL types. This ensures the models are correct from Scylla’s perspective and helps maintain clarity and consistency. We plan to improve the mapping so that these aliases also have more accurate and distinct Rust representations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example
pub type Text = String
toString
Beta Was this translation helpful? Give feedback.
All reactions