Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

api.monitoring_view2

Description

Monitoring Last whatever data from json web view

Table Definition
CREATE VIEW monitoring_view2 AS (
 SELECT key,
    value
   FROM jsonb_each(( SELECT m.metrics
           FROM api.metrics m
          ORDER BY m."time" DESC
         LIMIT 1)) jsonb_each(key, value)
)

Columns

NameTypeDefaultNullable
keytexttrue
valuejsonbtrue

Referenced Tables

NameColumnsCommentType
jsonb_each0
api.metrics11Stores metrics from vesselBASE TABLE

Relations

erDiagram


"api.monitoring_view2" {
  text key ""
  jsonb value ""
}

Generated by tbls