This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT todo_lists.id AS todo_list_id, | |
todo_lists.name, | |
jsonb_agg(to_jsonb(todo_items) - 'todo_list_id') AS items | |
FROM todo_lists | |
LEFT JOIN todo_items ON todo_items.todo_list_id = todo_lists.id | |
GROUP BY todo_lists.id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT todo_lists.id AS todo_list_id, | |
todo_lists.name, | |
todo_items.id AS todo_item_id, | |
todo_items.name | |
FROM todo_ LISTS | |
LEFT JOIN todo_items ON todo_items.todo_list_id = todo_lists.id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------+-------------------------+----------------+-----------------------------------------------+ | |
| todo_list_id | name | todo_item_id | name | | |
|----------------+-------------------------+----------------+-----------------------------------------------| | |
| 0 | methodologies capacitor | 0 | maroon open-source | | |
| 0 | methodologies capacitor | 1 | matrix Suriname | | |
| 0 | methodologies capacitor | 2 | e-tailers Kyat | | |
| 1 | Music workforce | 3 | violet SSL | | |
| 1 | Music workforce | 4 | Beauty European Unit of Account 17(E.U.A.-17) | | |
| 1 | Music workforce | 5 | vortals Michigan | | |
| 2 | Concrete Fantas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 0, | |
"name": "List 1", | |
"items": [{ | |
"id": 0, | |
"name": "todo 1" | |
}, { | |
"id": 1, | |
"name": "todo 2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT todo_lists.id AS id, | |
todo_lists.name, | |
jsonb_agg(to_jsonb(todo_items) - 'todo_list_id') AS items | |
FROM todo_lists | |
LEFT JOIN todo_items ON todo_items.todo_list_id = todo_lists.id | |
GROUP BY todo_lists.id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+------+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ | |
| id | name | items | | |
|------+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------| | |
| 0 | methodologies capacitor | [{"id": 0, "name": "maroon open-source"}, {"id": 1, "name": "matrix Suriname"}, {"id": 2, "name": "e-tailers Kyat"}] | | |
| 1 | Music workforce | [{"id": 3, "name": "violet SSL"}, {"id": 4, "name": "Beauty European Unit of Account 17(E.U.A.-17)"}, {"id": 5, "name": "vortals Michigan"}] | | |
| 2 | Concrete Fantastic | [{"id": 6, "name": "Frozen indigo"}, {"id": 7, "name": "wireless Assistant"}, {"id": 8, "name": "ar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PID: 2847 (sway) | |
UID: 1000 (geekuillaume) | |
GID: 1000 (geekuillaume) | |
Signal: 7 (BUS) | |
Timestamp: Sun 2020-04-05 14:54:05 CEST (39min ago) | |
Command Line: sway -d | |
Executable: /usr/bin/sway | |
Control Group: /user.slice/user-1000.slice/session-2.scope | |
Unit: session-2.scope | |
Slice: user-1000.slice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PID: 2759 (sway) | |
UID: 1000 (geekuillaume) | |
GID: 1000 (geekuillaume) | |
Signal: 7 (BUS) | |
Timestamp: Sun 2020-04-05 14:53:31 CEST (41min ago) | |
Command Line: sway -d | |
Executable: /usr/bin/sway | |
Control Group: /user.slice/user-1000.slice/session-2.scope | |
Unit: session-2.scope | |
Slice: user-1000.slice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: lilygo-t5 | |
esp32: | |
board: esp32dev | |
framework: | |
type: arduino | |
# Enable logging | |
logger: |
OlderNewer