Skip to content

Ash-like calculations? #2

Description

@egze

I'm curious about the idiomatic Drops.Relations way to return structs along with some calculated fields.

For example, if a post has many comments, how would I get a list of all posts with the comments_count for each?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions