This service can be used to:
root: Set the working directory of OpenDALtoken: Set the token of cloudflare apiaccount_id: Set the account id of cloudflare apidatabase_id: Set the database id of cloudflare apitable: Set the table of D1 Databasekey_field: Set the key field of D1 Databasevalue_field: Set the value field of D1 Databaseuse opendal_core::Operator; use opendal_service_d1::D1; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let mut builder = D1::default() .token("token") .account_id("account_id") .database_id("database_id") .table("table") .key_field("key_field") .value_field("value_field"); let op = Operator::new(builder)?.finish(); Ok(()) }