Skip to main content

service_usage_stream_notifications

Schema: user_data

Description

This template function is used to query the table service_usage.stream_notifications. As with all functions in the user_data schema, this function is used to delegate calls on behalf of a user.

Usage

Signature

[[user_data_access.service_usage_stream_notifications]]

Results

See service_usage.stream_notifications. Data will be in scope to the caller.

Example

Get all stream notification usage for the caller for a particular rule

SELECT * FROM [[user_data.service_usage_stream_notifications]] su WHERE su.rule_id = 'f1d3e06d-da78-43af-998f-44ef89d6b4d2';