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

Specify the fields to fetch in the record link array #4147

Conversation

obeis
Copy link
Contributor

@obeis obeis commented Jun 6, 2024

Thank you for submitting this pull request! We really appreciate you spending the time to work on these changes.

What is the motivation?

see #3590

What does this change do?

Allow specify the fields to fetch in the record link array

What is your testing strategy?

I tested it manually

Is this related to any issues?

Closes #3590

Does this change need documentation?

Have you read the Contributing Guidelines?

@obeis obeis requested review from tobiemh and a team as code owners June 6, 2024 17:23
@obeis obeis force-pushed the feature-3590-record-link-specify-array-fields branch 4 times, most recently from 2f3ffc2 to f277b43 Compare June 11, 2024 19:17
@obeis obeis marked this pull request as draft June 18, 2024 13:22
@obeis obeis force-pushed the feature-3590-record-link-specify-array-fields branch from f277b43 to ef150e4 Compare June 18, 2024 13:22
@tobiemh
Copy link
Member

tobiemh commented Aug 8, 2024

I'm going to close this pull request, as the problem can now be solved by using idiom de-structuring (#4443) which will be available in SurrealDB 2.0:

SELECT
    id,
    title,
    slug,
    tags.{
        title, 
        slug, 
        color
    },
    datePublished
FROM article;

@tobiemh tobiemh closed this Aug 8, 2024
@obeis obeis deleted the feature-3590-record-link-specify-array-fields branch August 10, 2024 11:02
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.

Feature: Specify Record Link Array Fields To Fetch
2 participants