risingwave_meta::controller::utils

Function get_object_owner

source
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.