Crate scylla_orm_macro

Source

Macros§

query
Transforms a query to to the corresponding type let transformed_type = scylla_orm_query::query!(“select * from my_table where some_property = ?”, my_property);
query_base_table
When a materialized view has the same columns as the base table, an auto-conversion can take place between the structs So when querying a materialized view, call this macro if you want the structs of the base table

Derive Macros§

Json
Annotating a struct with this macro will make it work with scylla’s serialization/deserialization
Mirror
Currently no implementation This can be used by other users to create methods on the structs based on the attributes
PrimaryKey
See ‘mirror’