{ "db_name": "PostgreSQL", "query": "\n SELECT\n awn.namespace,\n apc.publish_name,\n apc.view_id,\n au.email AS publisher_email,\n apc.created_at AS publish_timestamp,\n apc.unpublished_at AS unpublished_timestamp\n FROM af_published_collab apc\n JOIN af_user au ON apc.published_by = au.uid\n JOIN af_workspace aw ON apc.workspace_id = aw.workspace_id\n JOIN af_workspace_namespace awn ON aw.workspace_id = awn.workspace_id AND awn.is_original = TRUE\n WHERE apc.workspace_id = $1 AND apc.unpublished_at IS NULL;\n ", "describe": { "columns": [ { "ordinal": 0, "name": "namespace", "type_info": "Text" }, { "ordinal": 1, "name": "publish_name", "type_info": "Text" }, { "ordinal": 2, "name": "view_id", "type_info": "Uuid" }, { "ordinal": 3, "name": "publisher_email", "type_info": "Text" }, { "ordinal": 4, "name": "publish_timestamp", "type_info": "Timestamptz" }, { "ordinal": 5, "name": "unpublished_timestamp", "type_info": "Timestamptz" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ false, false, false, false, false, true ] }, "hash": "8ca5095db6ae36bd60dd32861baa2d8cd87b7478f6aa226d441b5e409abf08ab" }