Skip to main content

create_subscription

Function create_subscription 

Source
pub async fn create_subscription(
    state: &AppState,
    identity: IdentityId,
    query: &str,
) -> Result<SubscriptionId, CreateSubscriptionError>
Expand description

Execute CREATE SUBSCRIPTION AS { query } and extract the subscription ID from the result.