Skip to content

Nested Entity #18

Description

@jerbaroo

Have you considered support for nested Entity, where one Haskell value can be transformed into multiple DB rows?

Example:

data Employee = Employee
  { name :: Text
  , age :: Int
  , boss :: Maybe Employee
  } deriving Generic

The nested Employee can be turned into a foreign key to the other row.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions