snapshot_comments
2 rows where snapshot_pk = 99
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 |
|---|---|---|---|---|---|---|---|---|---|
| 172 | 99 99 | 1 | 111255552251 | 7702478363 | 2025-11-21T08:16:05Z | Closed | Call Centre | Satisfied | {"id": "111255552251", "mobile_number": "7702478363", "posted_by": "Call Centre", "remarks": "Satisfied", "status": "Closed", "time_stamp": "21-NOV-2025 13:46:05"} |
| 173 | 99 99 | 2 | 111255552251 | - | 2025-11-12T06:40:19Z | Attended By Officer | Ward042 | Resolved by officer | {"id": "111255552251", "mobile_number": "-", "posted_by": "Ward042", "remarks": "Resolved by officer", "status": "Attended By Officer", "time_stamp": "12-NOV-2025 12:10:19"} |
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)
);