My datamodel is set as ``` type Board { id: ID! ...
# orm-help
i
My datamodel is set as
Copy code
type Board {
 id: ID! @id
 list: [List!]! @relation(link: INLINE)
}

type List {
 id: ID! @id
 board: [Board!]! 
}
querying the
Board
the
list
field will contain only with `id`s but how can I resolve it with the actual document which is the `List`s not the `id`s. my query looks like
Copy code
prisma.boards();
I'm using mongodb.
h
Use the following syntax:
Copy code
prisma.boards().$fragment( `
fragment EnsureBoard on List {
  board {
   id
   otherFields
  }
}`)
i
Is it necessary to have
board: [Board!]!
field in the type
List
to create relation? Because what I'm just trying to do is to store
List
inside the
Board
via
list
field in.