Skip to main content

dump_table_ddl_from_schema

Function dump_table_ddl_from_schema 

Source
pub async fn dump_table_ddl_from_schema<D>(
    driver: &D,
    handle: &ConnectionHandle,
    table: &str,
) -> Result<String, DriverError>
where D: DatabaseDriver + ?Sized,
Expand description

Default dump_table_ddl: load schema then build CREATE TABLE.