Fetch an object by name within an object type.
(
&self,
object_type: &str,
name: &str,
)
| 285 | |
| 286 | /// Fetch an object by name within an object type. |
| 287 | pub async fn get_by_name( |
| 288 | &self, |
| 289 | object_type: &str, |
| 290 | name: &str, |
| 291 | ) -> PersistenceResult<Option<ObjectRecord>> { |
| 292 | store_dispatch!(self.get_by_name(object_type, name)) |
| 293 | } |
| 294 | |
| 295 | /// Delete an object by id. |
| 296 | pub async fn delete(&self, object_type: &str, id: &str) -> PersistenceResult<bool> { |
no outgoing calls