risingwave_frontend::expr::function_impl::has_privilege

Function get_grant_object_by_oid

source
fn get_grant_object_by_oid(
    catalog_reader: &CatalogReader,
    db_name: &str,
    oid: i32,
) -> Result<Object>