home / judic

decision_law_refs

1 row where from_decision_id = "bge_14_I_568"

✎ View and edit SQL

This data as json, CSV (advanced)

Link from_decision_id sr article raw_text
bge_14_I_568,916.310,83bis BGE 14 I 568 bge_14_I_568 916.310 83bis art. 83 bis oe

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE decision_law_refs (
    from_decision_id TEXT NOT NULL,
    sr               TEXT NOT NULL,
    article          TEXT NOT NULL,
    raw_text         TEXT,
    PRIMARY KEY (from_decision_id, sr, article),
    FOREIGN KEY (from_decision_id) REFERENCES decisions(decision_id) ON DELETE CASCADE
);
CREATE INDEX idx_dlr_law      ON decision_law_refs(sr, article);
CREATE INDEX idx_dlr_decision ON decision_law_refs(from_decision_id);
Powered by Datasette · Queries took 1.51ms