sylvia_iot_data::models

Function new

Source
pub async fn new(
    opts: &ConnOptions,
) -> Result<Arc<dyn Model>, Box<dyn StdError>>
Expand description

To create the database model with the specified database implementation.