pub fn delete_list(id: i32, conn: &PgConnection) -> bool {
        diesel::delete(lists.filter(list_id.eq(id)))
            .execute(conn)
            .is_ok()
    }
/// Attempts to delete the `List` with the given primary key, if it exists.
/// Returns true if the delete succeeded, or false if it failed.
Attempts to delete the `List` with the given primary key, if it exists.
Returns true if the delete succeeded, or false if it failed.
Attempts to delete the ` List ` with the given primary key if it exists . Returns true if the delete succeeded or false if it failed .
pub fn delete_list(id: i32, conn: &PgConnection) -> bool {
        diesel::delete(lists.filter(list_id.eq(id)))
            .execute(conn)
            .is_ok()
    }
pub fn delete_list ( id : i32 , conn : & PgConnection ) -> bool { diesel :: delete ( lists . filter ( list_id . eq ( id ) ) ) . execute ( conn ) . is_ok ( ) }
Attempts to delete the `List` with the given primary key, if it exists.
Attempts to delete the ` List ` with the given primary key if it exists .
id
i32
conn
&PgConnection
id
i32
conn
&PgConnection