pub async fn get_object_owner<C>(
object_id: ObjectId,
db: &C,
) -> MetaResult<UserId>where
C: ConnectionTrait,
Expand description
get_object_owner
returns the owner of the given object.
pub async fn get_object_owner<C>(
object_id: ObjectId,
db: &C,
) -> MetaResult<UserId>where
C: ConnectionTrait,
get_object_owner
returns the owner of the given object.