Sjmarf@sh.itjust.works to Programmer Humor@lemmy.ml · 11 months agoWhat do you think guyshistory-computer.comexternal-linkmessage-square30fedilinkarrow-up168arrow-down114
arrow-up154arrow-down1external-linkWhat do you think guyshistory-computer.comSjmarf@sh.itjust.works to Programmer Humor@lemmy.ml · 11 months agomessage-square30fedilink
minus-squarelelgenio@lemmy.mllinkfedilinkarrow-up48·edit-211 months agoCREATE TABLE display ( id INT PRIMARY KEY, display_property TEXT ); INSERT INTO display (id, display_property) VALUES (1, 'block'), (2, 'inline-block'), (3, 'flex'); CREATE TABLE divs ( id INT PRIMARY KEY, inner_html TEXT, display INT REFERENCES display(id) ); INSERT INTO divs (id, inner_html , display) VALUES (1, 'div1', 1), (2, 'div2', 2), (3, 'div3', 3);
minus-squarelelgenio@lemmy.mllinkfedilinkarrow-up45arrow-down1·11 months ago.users { id: int !primary-key; name: text; } .users::insert { id: 1; name: "John doe"; } @query (max: 10) { .user { display: table; } .users id { display: none; } }
minus-squareKarfkengrumble@lemmings.worldlinkfedilinkarrow-up8·11 months agoI think I need to lie down.
minus-squareJelloeater@lemmy.worldlinkfedilinkEnglisharrow-up6·11 months ago Your browser does not support playing HTML5 video. You can download a copy of the video file instead.
CREATE TABLE display ( id INT PRIMARY KEY, display_property TEXT ); INSERT INTO display (id, display_property) VALUES (1, 'block'), (2, 'inline-block'), (3, 'flex'); CREATE TABLE divs ( id INT PRIMARY KEY, inner_html TEXT, display INT REFERENCES display(id) ); INSERT INTO divs (id, inner_html , display) VALUES (1, 'div1', 1), (2, 'div2', 2), (3, 'div3', 3);
.users { id: int !primary-key; name: text; } .users::insert { id: 1; name: "John doe"; } @query (max: 10) { .user { display: table; } .users id { display: none; } }
Thanks, I hate it.
They both feel so wrong, I love it.
I think I need to lie down.