snapshot_comments
2 rows where snapshot_pk = 42
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 |
|---|---|---|---|---|---|---|---|---|---|
| 68 | 42 42 | 1 | 101255052463 | - | 2025-01-06T08:25:17Z | - | Call Centre | Satisfied | {"id": "101255052463", "mobile_number": "-", "posted_by": "Call Centre", "remarks": "Satisfied", "status": "-", "time_stamp": "06-JAN-2025 13:55:17"} |
| 69 | 42 42 | 2 | 101255052463 | 7997951618 | 2025-01-02T02:26:26Z | Attended By Officer | Jubilee Hills | clear | {"id": "101255052463", "mobile_number": "7997951618", "posted_by": "Jubilee Hills", "remarks": "clear", "status": "Attended By Officer", "time_stamp": "02-JAN-2025 07:56:26"} |
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)
);