sc_version_detail (view)
2 rows where judge-of-appeal = 1
This data as json, CSV (advanced)
Suggested facets: _commit_at (date), appointment-date (date), _changed_columns (array)
_commit_at | _commit_hash | _id | _item | _version | _commit | title | name | judge-of-appeal | honoris-causa | deceased | organisation | appointment-provision | appointment-date | _item_full_hash | _changed_columns |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-09-30T12:18:51+08:00 | 828371cb952509c6b6a05107413672ca2a63e02d | 21 | 21 | 1 | 938 | Justice | Steven Chong Horng Siong | 1 | 0 | 0 | Supreme Court | LPA,S30(1) | 1998-01-10 | 20e635294c66fe8bc1b96a64fad87660780a6c04 | [ "honoris-causa", "title", "name", "organisation", "deceased", "appointment-provision", "appointment-date", "judge-of-appeal" ] |
2023-09-30T12:18:51+08:00 | 828371cb952509c6b6a05107413672ca2a63e02d | 40 | 40 | 1 | 938 | Justice | Andrew Phang Boon Leong | 1 | 0 | 0 | Supreme Court | LPA,S30(1) | 2004-01-03 | 79e65622b023bc2f9bd0fa32a1accd113ddcc6e1 | [ "honoris-causa", "title", "name", "organisation", "deceased", "appointment-provision", "appointment-date", "judge-of-appeal" ] |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW sc_version_detail AS select commits.commit_at as _commit_at, commits.hash as _commit_hash, sc_version.*, ( select json_group_array(name) from columns where id in ( select column from sc_changed where item_version = sc_version._id ) ) as _changed_columns from sc_version join commits on commits.id = sc_version._commit;