sea-orm 2.0.0-rc.41

🐚 An async & dynamic ORM for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Apache Arrow schema for an entity.
///
/// Derived via `#[derive(DeriveArrowSchema)]`, this lets you exchange model
/// values with Arrow `RecordBatch`es — see
/// [`ActiveModelTrait::from_arrow`](crate::ActiveModelTrait::from_arrow) /
/// [`to_arrow`](crate::ActiveModelTrait::to_arrow). Requires the
/// `with-arrow` feature.
pub trait ArrowSchema {
    /// Arrow schema matching this entity's columns.
    fn arrow_schema() -> sea_orm_arrow::arrow::datatypes::Schema;
}