Pirate Praveen on Nostr: Basically ferretdb does not support nested arrays yet and search by email expects to ...
Basically ferretdb does not support nested arrays yet and search by email expects to search inside nested array. So we just need to loop through the nested array and search by email. The fix looks simple, but I don't have a lot of programming experience. It should be a few minutes work for someone who is already experienced with programming.
FerretDB converts mongodb queries to work with PostgreSQL.
Published at
2024-05-21 17:15:54Event JSON
{
"id": "57525ad2c433edab82ed05e5625a32f386ae451aed723e46c832b385830cd797",
"pubkey": "a878e3c29369b8c75c10f91dea5341ca900b0c7d77de4c89c575f3401af3e747",
"created_at": 1716311754,
"kind": 1,
"tags": [
[
"e",
"7e57bba482459bb73c79d4ff336f7664a49c8b391ee6b573f8d04d49001c2f8f",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://social.masto.host/users/praveen/statuses/112480207175214679",
"activitypub"
]
],
"content": "Basically ferretdb does not support nested arrays yet and search by email expects to search inside nested array. So we just need to loop through the nested array and search by email. The fix looks simple, but I don't have a lot of programming experience. It should be a few minutes work for someone who is already experienced with programming.\n\nFerretDB converts mongodb queries to work with PostgreSQL.",
"sig": "32c7ab880958ec924a585e5220ea1878e484a36b5780547b9caca6bc3f2dbdf2714fc0c814b850b32d15a86d5690d533a955edd00af2b2c4d32095fdbb3f456d"
}