Comment

Comment by madeuptempacct

db.webhooks.find({ "events": { $exists: true, $ne: [], $elemMatch: { "links.cancelInvoice": {$exists: true}} } })

What is this, I don't even. Mongo is a huge pain when it comes to searching nested arrays. And above is just an array in an object, not multiple levels of nesting. I have to re-learn the syntax every time I pick it up.

Other than that, it worked great for allowing users to build completely custom forms.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton