rust_supabase_sdk 0.3.0

An SDK kit for SupaBase so that Rust lovers can use SupaBase with the low level abstracted away. If you want new features tell me and I'll add them.
Documentation
use crate::error::Result;
use crate::{universals::HttpMethod, SupabaseClient};

impl SupabaseClient {
    /// Delete the row whose `id` matches the given value.
    ///
    /// **Deprecated:** prefer the chainable builder
    /// [`client.from(table).delete().eq("id", id)`](crate::postgrest::TableBuilder::delete)
    /// which supports any filter expression.
    #[deprecated(since = "0.3.0", note = "use `client.from(table).delete().eq(\"id\", id)`")]
    pub async fn delete(&self, table_name: &str, id: &str) -> Result<()> {
        self.request(
            &format!("/rest/v1/{table_name}?id=eq.{id}"),
            HttpMethod::Delete,
            None,
            false,
        )
        .await?;
        Ok(())
    }
}