backend::service::seed

Function delete_by_id

source
pub async fn delete_by_id(
    id: i32,
    user_id: Uuid,
    pool: &SharedPool,
) -> Result<(), ServiceError>
Expand description

Delete the seed from the database.

ยงErrors

If the connection to the database could not be established.