Crate scylla_orm_macro[][src]

Macros

Transforms a query to to the corresponding type let transformed_type = scylla_orm_query::query!(“select * from my_table where some_property = ?”, my_property);

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

Annotating a struct with this macro will make it work with scylla’s serialization/deserialization

Currently no implementation This can be used by other users to create methods on the structs based on the attributes

See ‘mirror’