Repository navigation
Read MSysQueries and build the FROM clause in steps of their own, with each table of codes written once - #138
Merged
Merged
Conversation
…h each table of codes written once - Keep a QueryRow in a RawRow rather than copy its six values, and read a row, its expression, the groups of rows and the names of the queries in functions of their own - Find the type of a query in QueryType::ALL by its Flag, as ObjectType is found, and keep the names of the types of parameters in a table - Build the FROM clause from the sources of the tables, the parts of each join, the sources that hold its tables and the sources taken out for it, in functions of their own, and find the sources with position - Write the join of a TableSource from its keyword and its ON clause, add each clause of a SELECT with push_clause, and check the Flag of a row with row_has_flag, rather than the same check in five places Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor 03f4401. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
QueryType::ALLby its Flag, asObjectTypeis found, and the names of the types of parameters are kept in a table.position, which gives what the loop gave.push_clause, and the Flag of a row is checked withrow_has_flag, rather than the same check in five places, two of them the same closure.build_from_tablesread_queries_inbuild_query_defssql_appendsql_crosstabTableSource::to_sqlparam_type_nameQueryType::from_flagappend_select_body🤖 Generated with Claude Code