SQLite Forum

Breadth-first graph traversal
Login
The documentation about [https://sqlite.org/lang_with.html](CTEs) instructs (as you are doing here, too) to use ORDER BY to control whether to do a breadth-first or depth-first search. Is there a specific reason why the SQL keywords "SEARCH DEPTH/BREADTH FIRST BY ... SET ..." cannot be used?