mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
SQLSource used to be more or less able to deal with subqueries, as in SELECT ... FROM (SELECT ...). But we had only one use case for it, the "trivial count query": SELECT COUNT(*) FROM (SELECT ...). And many opportunities for fatal errors, because such subqueries were not generally supported. So we simplify SQLSource, and implement the trivial count query in another way.