// THIS ONE IS THE BASE FOR GETTING COMMENTS FOR SPECIFIC PODCAST
app.get('/podcasts', async (req, res) => {
const {where, and, slowEqual, type, toPromise } = require('ssb-db2/operators') // enables the commands to be used
const podcasts = await ssb.db.query(
where( // select inside the list with the requirements of multiple things, "and"
type('podcast') //specifically podcasts
),
toPromise() // whenever it has promised the await is waiting the responses
)
res.send({ podcasts: podcasts })
})
places where their system are not a great fit atm.
Nov 2, 2023Agenda:
Aug 2, 2023Tell us some stories about people in your community using maps.
Jul 25, 20231. Identify the messages in the thread We start by identifying which messages are related to a thread. A thread starts with a "root" message A, and we look for all messages which have referenced A as their "root" (check the content.root field) graph BT A(A) B(B) E(E) C(C); D(D)
Mar 27, 2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up