Skip to main content

analytics_dataset_name

Function analytics_dataset_name 

Source
pub fn analytics_dataset_name(worker: &str, binding: &str) -> String
Expand description

P3b (#2582): the account-facing name of an Analytics instance’s dataset, <worker>_<capability> in snake case: shop-cart and ANALYTICS_SIGNUPS give shop_cart_signups. Underscores, not R2’s hyphens, because the dataset is the table name in the SQL API, where a hyphen would need quoting in every query. bynk deploy environment-qualifies it (shop_cart_signups_staging).