Skip to content

Conversation

@labkey-matthewb
Copy link
Contributor

Rationale

Generating correct sql is very dependent on everyone writing identifier consistently. This is often handled by using append(SqlDialect.makeLegalIdentifier(col.getAlias())) or luck append(col.getName()) or append(col.getAlias()).

The idea is to pass around database identifiers such as table names, column names, both generated and from db metadata, using a class DatabaseIdentifier.

Related Pull Requests

Changes

Copy link
Contributor

@labkey-martyp labkey-martyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did your refactor in both places

@labkey-matthewb labkey-matthewb merged commit 072be8a into develop May 1, 2025
4 of 5 checks passed
@labkey-matthewb labkey-matthewb deleted the fb_databaseidentifier branch May 1, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants