snapshot_comments
1 row where snapshot_pk = 18
This data as json, CSV (advanced)
Suggested facets: comment_timestamp (date)
| comment_pk ▼ | snapshot_pk | ordinal | complaint_id | mobile_number | comment_timestamp | status_text | posted_by | remarks | raw_comment_json |
|---|---|---|---|---|---|---|---|---|---|
| 24 | 18 18 | 1 | 102255097103 | - | 2025-02-04T09:49:03Z | Attended By Officer | Ward134 | work is completed | {"id": "102255097103", "mobile_number": "-", "posted_by": "Ward134", "remarks": "work is completed", "status": "Attended By Officer", "time_stamp": "04-FEB-2025 15:19:03"} |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE snapshot_comments (
comment_pk INTEGER PRIMARY KEY,
snapshot_pk INTEGER NOT NULL REFERENCES complaint_snapshots(snapshot_pk) ON DELETE CASCADE,
ordinal INTEGER NOT NULL,
complaint_id TEXT NOT NULL,
mobile_number TEXT NOT NULL,
comment_timestamp TEXT NOT NULL,
status_text TEXT NOT NULL,
posted_by TEXT NOT NULL,
remarks TEXT NOT NULL,
raw_comment_json TEXT NOT NULL,
UNIQUE(snapshot_pk, ordinal)
);