feat(queryer): support polymorphic inherited queries with IN clause and SQL notices

This commit is contained in:
2026-05-25 18:29:43 -04:00
parent 3736c9d8f0
commit 0b241c5227
3 changed files with 23 additions and 3 deletions

View File

@ -2432,7 +2432,7 @@
" JOIN agreego.entity entity_2 ON entity_2.id = order_1.id",
" WHERE",
" NOT entity_2.archived",
" AND order_1.counterparty_type = 'organization'",
" AND order_1.counterparty_type IN ('bot', 'organization', 'person')",
"))))"
]
]