-

@ Mitch Downey :pci:
2025-02-22 01:37:40
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqln5q8np5aezhtt7ztv6tah86xk4t3smjuchdvxp0u6uta056204qf4h82d nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqs0l2l0skj3k5czyrxgese57xy6ghmmkjv5hcs9a5ul0d8jrvq8vqxqnrc9 I can't remember any raw sql I've written for pv2 yet, except for the table / index / etc creation logic.
the outermost parser function looks like this:
https://github.com/podverse/podverse-parser/blob/v5-develop/src/lib/rss/parser.ts#L43
going deeper, item parsing looks like this. the transactionalEntityManager is what makes the orm queries within these functions happen in a transaction:
https://github.com/podverse/podverse-parser/blob/v5-develop/src/lib/rss/item/item.ts#L197
and here's what the ItemAbout parsing looks like:
https://github.com/podverse/podverse-parser/blob/v5-develop/src/lib/rss/item/itemAbout.ts
and...