!hPQtxfdYyypkeHbUKc:matrix.org

Logseq: Queries

2487 Members
This is the queries channel of the official Logseq Space on Matrix, which you can find at #logseq:matrix.org. | This channel is *not* bridged to the Logseq community on Discord.12 Servers

Load older messages


SenderMessageTime
3 Jun 2024
@_discord_1072681477856313407:t2bot.io.paul1st Hey all, i have a qustion about display advanced queries result. my query like below, i want it display like a table, but it is not.

{
:title "On/Developing"
:query [
:find (pull ?b [*])
:where
[?b :block/content ?content]
[?b :block/properties ?props]
[(get ?props :novelty) ?novelty]
[(get ?props :category) ?category]
]
:result-transform (fn [result]
(map (fn [{:keys [block/properties block/page block/content]}]
{
:block (subs content 0 50) ;; Display the first 50 characters of the block content
:page (get-in block [:block/page :db/id]) ;; Get page id
:novelty (get properties :novelty) ;; Display the novelty property
:category (get properties :category) ;; Display the category property
}) result))
:table-view [:block :page :novelty :category]
}
08:52:15
@_discord_695848351702188033:t2bot.ioautokludge .stvnsmth [for reference](https://docs.logseq.com/#/page/advanced%20queries). your input area had too much wrapping going on around values 08:52:23
@_discord_202511009800388608:t2bot.ioargo_navis joined the room.09:18:00
@tim.peters:matrix.orgTimHello together Can anyone help me create a query in Logseq? I would like to get a list of all tasks I have worked on in the last 7 days (alternatively: last week). But only tasks with tracked times. Unfortunately, I'm not (yet) very familiar with it... I have already tried ChatGPT, but unfortunately nothing useful came out :) Thank you very much Tim12:43:37
@tim.peters:matrix.orgTim * Hello together Can anyone help me create a query in Logseq? I would like to get a list of all tasks I have worked on in the last 7 days (alternatively: last week). But only tasks with recorded times and from everywhere (pages, journal). Unfortunately, I'm not (yet) very familiar with it... I have already tried ChatGPT, but unfortunately nothing useful came out :) Thank you very much Tim12:48:39
@_discord_816079800908513290:t2bot.iofaaafu joined the room.15:45:18
7 Jun 2024
@b06500:matrix.orgjohnstone joined the room.03:30:29
@marvindewald:matrix.org@marvindewald:matrix.org joined the room.09:28:03
@marvindewald:matrix.org@marvindewald:matrix.org left the room.10:20:16
15 Jun 2024
@martin-f:matrix.orgmartin-f joined the room.15:41:27
16 Jun 2024
@welkinbunburry:matrix.orgMe set a profile picture.16:24:50
@welkinbunburry:matrix.orgMe removed their profile picture.16:25:14
@welkinbunburry:matrix.orgMe changed their display name from me to Ypu.16:25:40
@welkinbunburry:matrix.orgMe changed their display name from Ypu to Me.16:26:07
17 Jun 2024
@memefi:matrix.org@memefi:matrix.org joined the room.22:00:53
19 Jun 2024
@memefi:matrix.org@memefi:matrix.org 05:26:12
22 Jun 2024
@tommyzjones_20:matrix.org@tommyzjones_20:matrix.org joined the room.16:48:51
@iath:kraw.euiath banned @tommyzjones_20:matrix.org@tommyzjones_20:matrix.org (spam).16:48:54
@tsc67:matrix.org@tsc67:matrix.org joined the room.18:32:45
25 Jun 2024
@tsc67:matrix.org@tsc67:matrix.org left the room.16:45:28
@buerobert:matrix.orgbuerobert joined the room.18:32:00
30 Jun 2024
@memefi:matrix.org@memefi:matrix.org 21:43:22
@iath:kraw.euiath banned @memefi:matrix.org@memefi:matrix.org (spam).22:15:34
1 Jul 2024
@s4kun4:matrix.org@s4kun4:matrix.org joined the room.20:26:38
2 Jul 2024
@s4kun4:matrix.org@s4kun4:matrix.org left the room.07:04:49
@jhonce:matrix.orgJhon Honce joined the room.16:30:07
11 Jul 2024
@66tzw5hbhr:matrix.org@66tzw5hbhr:matrix.org joined the room.22:00:52
@66tzw5hbhr:matrix.org@66tzw5hbhr:matrix.org left the room.22:01:11
23 Jul 2024
@djprogen:matrix.orgdjprogen joined the room.03:14:10
@sandeep.sagar:matrix.orgsandeep.sagar joined the room.09:29:59

There are no newer messages yet.


Back to Room ListRoom Version: 10