Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose PgSelectPlan.clone #2039

Merged
merged 2 commits into from
May 1, 2024
Merged

Expose PgSelectPlan.clone #2039

merged 2 commits into from
May 1, 2024

Conversation

benjie
Copy link
Member

@benjie benjie commented May 1, 2024

The easiest way to get an aggregate would be something like pgResource.find().clone("aggregate"); this saves us from having to add APIs like pgResources.find({}, {mode: "aggregate"}) or pgResources.findAggregate(). To make this possible, we now expose the .clone() method on PgSelectStep.

Copy link

changeset-bot bot commented May 1, 2024

🦋 Changeset detected

Latest commit: 30bcd6c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@dataplan/pg Patch
graphile-build-pg Patch
graphile-utils Patch
pgl Patch
postgraphile Patch
graphile Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benjie benjie merged commit 5c276f7 into main May 1, 2024
24 checks passed
@benjie benjie deleted the expose-pgselect-clone branch May 1, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant