pub async fn ensure_object_id<C>(
object_type: ObjectType,
obj_id: ObjectId,
db: &C,
) -> MetaResult<()>where
C: ConnectionTrait,
Expand description
ensure_object_id
ensures the existence of target object in the cluster.
pub async fn ensure_object_id<C>(
object_type: ObjectType,
obj_id: ObjectId,
db: &C,
) -> MetaResult<()>where
C: ConnectionTrait,
ensure_object_id
ensures the existence of target object in the cluster.