mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-05 02:13:24 +00:00
_page_after decided whether to append " AND " or " WHERE " by looking for "WHERE" in the SQL it had just been handed, which only worked because no union branch contains one. The query builder now always emits a WHERE, so adding a branch with its own predicate cannot silently break the cursor.