TABLESPACE

Constant TABLESPACE 

Source
pub const TABLESPACE: TableMarker;
Expand description

Specifies a tablespace for the table.

§Example


#[PostgresTable(TABLESPACE = "fast_storage")]
struct HighPerfTable {
    #[column(PRIMARY)]
    id: i32,
}

#[PostgresView(MATERIALIZED, TABLESPACE = "fast_storage")]
struct ActiveUsers { id: i32 }

See: https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-TABLESPACE