-- Fetch all the Dashboards belonging to the Datadog
-- account of a particular user.
SELECT *
FROM fiber.datadog_dashboard
WHERE account_id = '{user.datadog_id}'
-- Fetch all the Dashboards belonging to the Datadog
-- account of a particular user.
SELECT *
FROM fiber.datadog_dashboard
WHERE account_id = '{user.datadog_id}'
Code
CREATE TABLE fiber.datadog_dashboard (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
author_handle TEXT,
description TEXT,
title TEXT,
url TEXT,
layout_type TEXT
)
CREATE TABLE fiber.datadog_dashboard (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
author_handle TEXT,
description TEXT,
title TEXT,
url TEXT,
layout_type TEXT
)
Model definition