With hexagonal or clean #architecture how do you deal with logic in the DB? For example doing aggregate queries? #cleancode nostr:npub1kfut2mpzhqp6h9nl6r2vcmr0jvfu42u2ej980hsuf6hfyf7rr2lqevnn2l nostr:npub1dy4c8059sgw30eeynjmd3jvgspwl3qa6aepye7v0nvzjxuekwaus2l9aec nostr:npub1j2aedanv4d009uns4qvg05ng60g5tlzkz0vhz3h72qwhwadv6g5sfuu535 nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft