Skip to content

Don't use select *#70

Closed
ndtretyak wants to merge 1 commit intosmallstep:masterfrom
ndtretyak:specify_fields
Closed

Don't use select *#70
ndtretyak wants to merge 1 commit intosmallstep:masterfrom
ndtretyak:specify_fields

Conversation

@ndtretyak
Copy link
Copy Markdown

Name of feature:

Pain or issue this feature alleviates:

All other queries select only required fields, but getAllQry uses SELECT *. I want to add columns to the nosql-created tables and update them via database triggers, but SELECT * prevents this.

Why is this important to the project (if not answered above):

Is there documentation on how to use this feature? If so, where?

In what environments or workflows is this feature supported?

In what environments or workflows is this feature explicitly NOT supported (if any)?

Supporting links/other PRs/issues:

💔Thank you!

@ndtretyak ndtretyak requested a review from a team as a code owner June 17, 2025 15:15
@github-actions github-actions Bot added the needs triage Waiting for discussion / prioritization by team label Jun 17, 2025
@hslatman hslatman self-assigned this Jun 17, 2025
@hslatman
Copy link
Copy Markdown
Member

Hey @ndtretyak, thank you for opening the PR. Our nosql package has been fairly "stable", in that we haven't done a lot of changes lately. We have an outstanding PR to improve the implementation in #53, which would be a better base for your changes. Have you tried running the CA using that branch yet, and does that support your use case?

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Gauss23
Copy link
Copy Markdown

Gauss23 commented Mar 6, 2026

+1 on this one. We added a new column added_at to almost all tables. For revocation list generation this addition breaks the query as the result has 3 columns instead of 2. Only select what you need. It's a really small change. Would be great to see in production soon.

@maraino maraino mentioned this pull request Mar 17, 2026
@maraino maraino closed this in 1a423fd Mar 17, 2026
@maraino
Copy link
Copy Markdown
Collaborator

maraino commented Mar 17, 2026

Closed in favor of #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs triage Waiting for discussion / prioritization by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants